You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In GPG speak, when you import keys, they are checked before being imported, so if you import 5 keys, 5 keys will be considered and if they're already imported and nothing has changed, they're considered "unchanged". If some of the 5 keys are new and import w/o any errors, they are considered "imported". In your case, you may want new_signatures and/or new_user_ids, but I didn't check that those methods do exactly what you need, so YMMV
Hey folks,
Firstly - THANK YOU for making this library. Amazing work and I don't know what I'd do without it.
I'm building a system in which users can upload their (private) gpg keys for signing files.
So they give me a
mycompany.key
private key.Using this, I can successfully run
GPGME::Key.import(File.open('mycompany.key'))
, but...how do I identify the key after that?This gives me a
ImportResult
, but I can't find any sort of ID / Email field on that object I can use....Any ideas? Sorry if this is a dumb question, I'm not super experienced with the GPG utils
The text was updated successfully, but these errors were encountered: