Module | Gpgr::Keys |
In: |
lib/gpgr.rb
|
Imports the key at the specified path into the keyring. Since this is really running gpg —import ./path/to/key.asc, the key will be imported and added to the keyring for the user executing this command.
Returns an array with the e-mail addresses of every installed public key for looping through and detecting if a particular key is installed.
Simply checks to see if the e-mail address passed through as an argument has a public key attached to it by checking in installed_public_keys.