You are not logged in.
I'm trying to import to root user my private key (of another user) with:
gpg --import private.key but I get that error:
gpg: key <KEYID>: "Leonidas <xxxx@yahoo.com>" not changed
gpg: key <KEYID>/<KEYID>:error sending to agent: Permission denied
gpg: error building skey array: Permission denied
gpg: Total number processed: 1
gpg:              unchanged: 1
gpg:       secret keys read: 1Is that the correct command to import the private key?
I have already export it with:
gpg --export-secret-key <KEYID>>private.keyLast edited by leonidas (2017-02-18 20:37:10)
Offline
Solved, I should have include the option
--pinentry-mode loopback Offline