pinentry-program /usr/bin/pinentry-curses
enable-ssh-support
# cache passwords for both gpg and ssh for 4h
max-cache-ttl-ssh 14400
default-cache-ttl 14400
# expire passwords after 6h
max-cache-ttl 21600
max-cache-ttl-ssh 21600
# let sb-builder unlock the signing key: jobs have no tty for pinentry
allow-preset-passphrase