User:Foxboron/Signing

From ArchWiki
Jump to navigation Jump to search
Host orion.archlinux.org repos.archlinux.org
    HostName orion.archlinux.org
    User USER
    IdentityFile ~/.ssh/keys/archlinux
    IdentitiesOnly yes

Host soyuz.archlinux.org
    HostName soyuz.archlinux.org
    User USER
    IdentityFile ~/.ssh/keys/archlinux
    IdentitiesOnly yes
    ForwardAgent yes
    AddKeysToAgent yes
    RemoteForward /run/user/<REMOTE UID>/gnupg/S.gpg-agent /run/user/<LOCAL UID>/gnupg/S.gpg-agent.extra

Check extra socket. systemctl --user status gpg-agent-extra.socket

If "gpg: signing failed: Inappropriate ioctl for device" gpg-connect-agent updatestartuptty /bye

or export GPG_TTY=$(tty)