python-secureconfig icon indicating copy to clipboard operation
python-secureconfig copied to clipboard

Key Generation

Open ghost opened this issue 8 years ago • 1 comments

I am unable to get a token to pass validation or I see ValueError: Fernet key must be 32 url-safe base64-encoded bytes. Can you provide an example of how you are generating the keys and what the aes_key file looks like in working examples. I see in tests there is a key value but I see invalid token when trying to use these for testing. Your help is much appreciated. Im sure this is not an issue with project but my lack of experience with aes keys. @nthmost

ghost avatar May 03 '16 12:05 ghost

https://cryptography.io/en/latest/fernet/#cryptography.fernet.Fernet.generate_key

issue can be closed

kyledouglas avatar May 09 '16 14:05 kyledouglas