Gpg -homedir=C:/target -list-secret-keys List the secret keys which are already contained in the PGP secret keyring:.Store the PGP secret keyring with the name “ secring.gpg” into the empty directory C:/target. You can also choose another directory name but keep in mind that the following commands assume that the directory name is C:/target.For example, you can get the secring.gpg by downloading this file from your Cloud Integration tenant. Execute the following commands to import a PGP secret key into a PGP secret keyring with the name “secring.gpg”. In the following, we assume that you have such kind of file with the name “ my-secret-key.pem” in the directory where you execute the gpg commands. You now need the secrete key file which was produced in a similar why as shown in the previous chapter “Export a PGP Secret Key”. You can now use the exported file “ my-secret-key.pem” in the following chapter to import the secret key into another PGP secring. Gpg -homedir=C:/source -armor -export-secret-key "source my-secret-key.pem Export the secret key with the found uid with the following command into a file (below we use the file name “ my-secret-key.pem“):.We will use this uid in the following command. In the example above, we only have one secret key with uid=” source “. You can see the uid(s) of the secret keys from the output display of the previous command.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |