working around https://bugs.g10code.com/gnupg/issue945 in seckey2sshagent