Ho provato col seguente comando:
Codice: Seleziona tutto
gpg --export-secret-keys -a -o file.asc
Codice: Seleziona tutto
gpg: key KEYID1: error receiving key from agent: pinentry non è installato - skipped
gpg: key KEYID2: error receiving key from agent: pinentry non è installato - skipped
gpg: key KEYID3: error receiving key from agent: pinentry non è installato - skipped
gpg: key KEYID5: error receiving key from agent: pinentry non è installato - skipped
gpg: key KEYID6: error receiving key from agent: pinentry non è installato - skipped
gpg: key KEYID7: error receiving key from agent: pinentry non è installato - skipped
gpg: ATTENZIONE: non è stato esportato nulla
L'esportazione delle chiavi pubbliche è avvenuta con successo