Skip to content

gpg: decryption failed: Inappropriate ioctl for device #5

@b40yd

Description

@b40yd

使用pass出现:“gpg: decryption failed: Inappropriate ioctl for device”
问题,需要在 ~/.gnupg/gpg.conf 配置文件中添加:

use-agent 
pinentry-mode loopback

还需要在agent配置文件中 ~/.gnupg/gpg-agent.conf 添加:

allow-loopback-pinentry

最后重新启动代理

echo RELOADAGENT | gpg-connect-agent

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions