Таким образом, я следовал этому ответу для шифрования моего gedit файлы.
шифрование текстового редактора
И теперь это - вывод:
Running tool: **Encrypt**
gpg: email@email.com: 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
Консоль шахты произвела:
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: mineEmail@gmail.com
You selected this USER-ID:
"Name Surname <mineEmail@gmail.com>"
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 <mineEmail@gmail.com>
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 <mineEmail@gmail.com>
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 <mineEmail@gmail.com>
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 <mineEmail@gmail.com>
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 <dreamgameltl@gmail.com>
sub {key, masked for security} [E]
pub {key, masked for security} [SC]
{key, masked for security}
uid [ultimate] Matas Poznanskis <mineEmail@gmail.com>
sub {key, masked for security} [E]
Учитывая сообщение Вы связались, содержит отрывок, содержащий email@email.com
, и ключ соответствия не найден, удостоверьтесь, что Вы скорректировали конфигурацию редактора для соответствия фактическому почтовому адресу. Еще лучше обеспечьте цифровой отпечаток своего ключа вместо этого для предотвращения использования неправильного ключа, если кто-то создал ключ, соответствующий идентификатору пользователя.
Проверьте, совпадает ли ваш доверенный ключ в файле ~/.password-store/.gpg -id