GPGキーを生成しようとしています。
$ gpg --full-gen-key
しかし、最終的にエラーが発生します。
gpg: agent_genkey failed: No such file or directory
Key generation failed: No such file or directory
私はアーチLinuxを使用しています。
$ gpg --version
gpg (GnuPG) 2.1.15
libgcrypt 1.7.3
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Home: /home/me123/.gnupg
.............
/home/me123/.gnupg ディレクトリが存在します。
ベストアンサー1
/home/me123/.gnupgディレクトリを削除してからgpgに再作成しましたか?もしそうなら、これはエージェントを混乱させる可能性があります。
エージェント(gpgconf --kill gpg-agent
)を再起動するか、コンピュータを完全に再起動してからやり直してください。