gaborcsardi / secret

:closed_lock_with_key: Secure sharing of sensitive information in R packages
Other
101 stars 16 forks source link

Helper for sharing small secret with one other? #24

Open hadley opened 7 years ago

hadley commented 7 years ago

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")
gaborcsardi commented 7 years ago

Where would it put the ciphertext?

hadley commented 7 years ago

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

gaborcsardi commented 7 years ago

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

Yeah, makes sense.