código de erro GnuPG 512

0

Então, segui essa resposta para criptografar meus arquivos de gedit.

editor de texto criptografado

E agora está sendo produzido:

Running tool: **Encrypt**

gpg: [email protected]: skipped: No public key

gpg: [stdin]: encryption failed: No public key

Exited: 512

Running tool: **Decrypt**

/home/matas/.config/gedit/tools/open-terminal-here: 15: /home/matas/.config/gedit/tools/open-terminal-here: Bad substitution

Exited: 512

Saída do console de minas:

matas@matas-H81M-D2V:~$ gpg --gen-key 
gpg (GnuPG) 2.1.15; Copyright (C) 2016 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Note: Use "gpg --full-gen-key" for a full featured key generation dialog.

GnuPG needs to construct a user ID to identify your key.

Real name: Name Surname
Email address: [email protected]
You selected this USER-ID:
    "Name Surname <[email protected]>"

Change (N)ame, (E)mail, or (O)kay/(Q)uit? o
We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard, move the mouse, utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.
We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard, move the mouse, utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.
gpg: key {key, masked for security} marked as ultimately trusted
gpg: revocation certificate stored as '/home/matas/.gnupg/openpgp-revocs.d/{key, masked for security}{key, masked for security}.rev'
public and secret key created and signed.

pub   rsa2048 2017-06-06 [SC]
      {key, masked for security}
uid                     Name Surname <[email protected]>
sub   rsa2048 2017-06-06 [E]

matas@matas-H81M-D2V:~$ gpg --list-secret-keys
gpg: checking the trustdb
gpg: marginals needed: 3  completes needed: 1  trust model: pgp
gpg: depth: 0  valid:   2  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 2u
/home/matas/.gnupg/pubring.kbx

sec   rsa2048 2017-06-06 [SC]
      {key, masked for security}
uid           [ultimate] Name Surname <[email protected]>
ssb   rsa2048 2017-06-06 [E]

matas@matas-H81M-D2V:~$ gpg --list-secret-keys
/home/matas/.gnupg/pubring.kbx
------------------------------


sec   rsa2048 2017-06-06 [SC]
      {key, masked for security}
uid           [ultimate] Name Surname <[email protected]>
ssb   rsa2048 2017-06-06 [E]

matas@matas-H81M-D2V:~$ --list-keys 
--list-keys: command not found
matas@matas-H81M-D2V:~$ gpg --list-secret-keys
/home/matas/.gnupg/pubring.kbx
------------------------------

sec   rsa2048 2017-06-06 [SC]
      {key, masked for security}
uid           [ultimate] Name Surname <[email protected]>
ssb   rsa2048 2017-06-06 [E]

matas@matas-H81M-D2V:~$ --list-keys 
--list-keys: command not found
matas@matas-H81M-D2V:~$ gpg --list-keys
/home/matas/.gnupg/pubring.kbx
------------------------------
pub   rsa2048 2017-06-06 [SC]
      {key, masked for security}
uid           [ultimate] Matas <[email protected]>
sub   {key, masked for security} [E]

pub   {key, masked for security} [SC]
      {key, masked for security}
uid           [ultimate] Matas Poznanskis <[email protected]>
sub   {key, masked for security} [E]
    
por Matas Vault 06.06.2017 / 14:22

1 resposta

1

Como a postagem vinculada contém um snippet contendo [email protected] e a chave correspondente não foi encontrada, verifique se você ajustou a configuração do editor para corresponder ao seu endereço de e-mail real. Melhor ainda, forneça a impressão digital da sua chave para evitar o uso da chave errada se alguém criar uma chave que corresponda ao seu ID de usuário.

    
por Jens Erat 06.06.2017 / 16:17