Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API key encryption module #105

Closed
wants to merge 3 commits into from

Conversation

KamilaBorowska
Copy link
Contributor

This will allow decrypting stuff like API keys without anyone knowing the API key (other than the person who uploaded those). Depends on secrecy of /etc/privkey.

@amoffat
Copy link
Contributor

amoffat commented May 23, 2017

very clever! 👍

@PlasmaPower
Copy link
Contributor

Was just about to create this myself. 👍

@scaule
Copy link

scaule commented May 23, 2017

It's a very good Idea, i update #85 with that when pr is accepted

@PlasmaPower
Copy link
Contributor

PlasmaPower commented May 23, 2017

@scaule You might just want to make a new PR. It's hard to get revisions passed.

@scaule
Copy link

scaule commented May 23, 2017

For the moment my PR is ok with credentials in etc .When this PR is accepted, i will create a new PR to use encryption.

@PlasmaPower
Copy link
Contributor

@scaule sounds good.

@KamilaBorowska
Copy link
Contributor Author

KamilaBorowska commented May 23, 2017

Anyway, gotta go, figure out yourself how to encrypt with encryption Python module. (hint: https://cryptography.io/en/latest/hazmat/primitives/asymmetric/rsa/#encryption)

Decryption is just means of calling decrypt method with binary string, you will get binary string back, but only on chaosbot computer (if you get pubkey.txt from it).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants