diff --git a/README.md b/README.md index 689771b721cd9ab9a1b9fcd144055efea9328dd9..94e3bb4e6b02e9b7001de167078253ef751524ef 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,17 @@ To import a gpg key, use `gpg --import <key file>`. To import all keys, go to GP After that, you need to edit confidence of the key. For this, use `gpg --edit-key <keyName>` and use `trust` command in gpg (`gpg>trust`) Answer the response to add the confidence `5 - ultimate`. Use `quit` to leave. +## Export the key +Find the ID of your key, for example with +```sh +gpg --list-keys | grep -i -B 2 <your name> +``` +Then export it +```sh +gpg --export --armor --output '<your.email@tetras-libre.fr_pub.asc' <key id> +``` +Finally copy the `.asc` key file to the GPG folder (if it's not already there) + # Pass ## Check manually if key is valid for pass