I’m trying to use the library with keys stored in a hardware device to transfer file(s) via SFTP to a remote server.
I did get things working using the sftp client (Linux) with the “-i <pkcs11 uri>” and “-o <PKCS11Provider=>” options. I tried putting the PKCS11 URI in the SSH_OPTIONS_IDENTITY option with no success. How do I specify or pass-in the PKCS11 Provider to the library? What is the proper way to utilize a PKCS11 URI with the library? -dg
