Skip to content

How to read credentials from encrypted file #792

Answered by jshcodes
WDmoose asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @WDmoose!

I've got a couple of simple examples for you that leverage AES 256 using CBC mode (Cipher Block Chaining). I'm also still working on a version that leverages pyca/cryptography, but since it's more complex, I went ahead and posted these since I had them already.

AES is not our only option, but it's a good symmetric algorithm to use for a development implementation discussion. Our code can change depending on the mode we use, so I'll keep these two to CBC (relatively secure with HMAC).

‼️ Please note ‼️
This is not a recommendation on which encryption algorithms, modes or methods to use in your environment. This post focuses only on what the technical implementation of such a …

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@WDmoose
Comment options

@jshcodes
Comment options

@jshcodes
Comment options

Answer selected by WDmoose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
authentication Issues or questions regarding authentication SDK usage General SDK usage issues and questions
2 participants