secret icon indicating copy to clipboard operation
secret copied to clipboard

Helper for sharing small secret with one other?

Open hadley opened this issue 8 years ago • 3 comments

It would be handy to have a little function like:

share_secret(with = github_key("hadley"))

If the first argument was absent, this would pop up a dialog box.

It would generate the code that the recipient needs to run to decyrpt the secret, e.g

secret::decrypt("asdfljasflkasjdflksadjlkdsajaklsjfkldjasklfd")

hadley avatar Aug 01 '17 16:08 hadley

Where would it put the ciphertext?

gaborcsardi avatar Aug 01 '17 17:08 gaborcsardi

It would generate the decrypt() call and print it.

hadley avatar Aug 01 '17 18:08 hadley

Oh, I see, sorry, was reading too quickly.

Yeah, makes sense.

gaborcsardi avatar Aug 01 '17 18:08 gaborcsardi