Eu tenho dados que criptografei usando gpg -ac --cipher-algo AES256 data e uma frase secreta. Eu movi esse arquivo para uma máquina diferente com gpg também, mas diferente do sistema em que ele foi criptografado (TrueOS), ele não tem uma GUI instalada. Quando tento descriptografar o arquivo usando gpg -d -o data.d data , recebo esses erros:
gpg: AES256 encrypted data gpg: problem with the agent: End of file gpg:encrypted with 1 passphrase gpg: decryption failed: No secret key Meu arquivo é assim:
-----BEGIN PGP MESSAGE-----
data in here
-----END PGP MESSAGE-----
Eu tentei o oposto: criptografar um arquivo. Eu fiz um e adicionei texto aleatório e tentei criptografá-lo usando gpg -a --symmetric --cipher-algo AES256 data1
e tenho essa saída:
gpg: problem with the agent: End of file gpg: error creating passphrase: Operation cancelled gpg: symmetric encryption of '' failed: Operation cancelled : ~/.gnupg/gpg-agent.conf