Hi, I'm trying to use the python module to send SPA requests but it fails with "fko.error: Invalid key length".
This is with the KEY_BASE64 and HMAC_KEY_BASE64 values generated via "fwknop -A tcp/22 -a 1.1.1.1 -D spaserver.domain.com --key-gen --use- hmac --save-rc-stanza". Here's what I've come up with - https://gist.github.com/Strykar/fc83eb5bfc504fca7f3936e83229328b Currently using fwknop version 2.6.10, FKO protocol version 3.0.0. It appears it won't accept Base64 key values for "fko.spa_data_final" and expects a plaintext password? Is this correct? The example states: # Create the final SPA data message string. # fko.spa_data_final("mypassword", "myhmackey") There are no GPG examples, I do have signed GPG keys setup across both machines and using the fwknop client works fine. Would someone who uses the python module be so kind to post a link/instructions on how to generate "myhmackey" from a plaintext password? Or an example of python fko with GPG, I would really appreciate it. Thank you, S _______________________________________________ Fwknop-discuss mailing list Fwknop-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fwknop-discuss