Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
|
becki:linux:openpgp [2015-04-22 14:45] becki |
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]]) | ||
| + | This seems to include the public key as well. Importing such a key also imports its corresponding public key. (tested) | ||
| 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 == | ||