Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung | |||
becki:linux:openpgp [2015-05-27 14:33] becki [Export / import Keys] |
becki:linux:openpgp [2015-05-27 15:26] (aktuell) becki |
||
---|---|---|---|
Zeile 26: | Zeile 26: | ||
Export a public key (create a texfile of your public key). Preferably use the full id of the primary key (see list keys) as unambiguous identifier. | Export a public key (create a texfile of your public key). Preferably use the full id of the primary key (see list keys) as unambiguous identifier. | ||
gpg --armor --export <id> > myFullName.asc | gpg --armor --export <id> > myFullName.asc | ||
- | |||
- | Import a foreign public key: | ||
- | ggp --import harryHirsch.asc | ||
Export a private key: ([[http://stackoverflow.com/questions/5587513|source]]) | Export a private key: ([[http://stackoverflow.com/questions/5587513|source]]) | ||
Zeile 34: | Zeile 31: | ||
gpg --export-secret-keys <id> > key.asc | gpg --export-secret-keys <id> > key.asc | ||
- | Validate the key with | + | Import a foreign key: |
- | gpg --edit-key Harry -> ''fpr'' -> Compare fingerprint by word of mouth -> ''sign'' -> ''check'' -> ''quit'' -> save:y | + | ggp --import harryHirsch.asc |
+ | |||
+ | An imported key needs to be validated(?). Validate the key with: | ||
+ | gpg --edit-key Harry -> fpr -> (Compare fingerprint by word of mouth) -> sign -> check -> quit -> save:y | ||
==== Encrypt / decrypt files == | ==== Encrypt / decrypt files == |