Veracrypt 暗号化コンテナに保存されている .gnupg フォルダに対して gpg-agent を起動できません。

Veracrypt 暗号化コンテナに保存されている .gnupg フォルダに対して gpg-agent を起動できません。

私の.gnupgディレクトリはVeracriptを使用して暗号化されたUSBドライブにあります。公開鍵を一覧表示するとgpg --homedir <path-to-usb-gnupg-dir> --list-keys問題はありませんが、秘密鍵を一覧表示しようとすると問題が発生します--list-secret-keys

~ % gpg --homedir <path-to-usb-gnupg-dir> --list-secret-keys
gpg: error running '/opt/homebrew/Cellar/gnupg/2.4.3/bin/gpg-agent': exit status 2
gpg: failed to start gpg-agent '/opt/homebrew/Cellar/gnupg/2.4.3/bin/gpg-agent': General error
gpg: can't connect to the gpg-agent: General error
gpg: error running '/opt/homebrew/Cellar/gnupg/2.4.3/bin/gpg-agent': exit status 2
gpg: failed to start gpg-agent '/opt/homebrew/Cellar/gnupg/2.4.3/bin/gpg-agent': General error
gpg: can't connect to the gpg-agent: General error

私はこれがマウントされたコンテナに間違ったファイルとディレクトリの権限があるためだと思いました--fs-optionsこのスレッドでも議論されています)。問題は、このコマンドを実行すると次のエラーが発生するため、MacOSでは動作しないようです。

Unknown long option 'fs-options'
Error: Incorrect command line specified.

.gnupgまた、ディレクトリは私のホームフォルダへのシンボリックリンクを試してみましたが、ln -s <path-to-usb-gnupg-dir> ~/.gnupg-usbエラーは続きます。この設定の可能な回避策はありますか?

ベストアンサー1

おすすめ記事