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

Insecure storage of private key set #6

Open
BryanAvery opened this issue Jun 20, 2017 · 3 comments
Open

Insecure storage of private key set #6

BryanAvery opened this issue Jun 20, 2017 · 3 comments

Comments

@BryanAvery
Copy link
Contributor

Storing the private key set in the file system is insecure.

Consideration should be given to separate this process into its own library and allow for different storage methods for the key sets to be injected into the library. Such as a Key Vault (HSM), database or other more secure stores.

@jbtule
Copy link
Owner

jbtule commented Jun 20, 2017

Yeah, I agree. The IKeySet interface needs rethinking. Right now GetKeyData(int version) requires returning serialized json. While in private projects I've written my own IKeySet for alternative storage and have made that work, i wouldn't say it's ideal. So definitely something to consider.

@BryanAvery
Copy link
Contributor Author

I have also been working on different storage methods.

I'm happy to assist in getting this implemented, could you share your work with me and I'll see what I can put together.

@jbtule
Copy link
Owner

jbtule commented Aug 4, 2017

I've been making changes to Keyczar in PR #10 based on an old proposal for official keyczar, that never went anywhere as their project stalled. It's released as a 0.8.0-alpha1 on nuget. It de-emphasizes the filesystem api's, and makes it more obvious how to combine keyset types for better security, by creating two interfaces IRootProviderKeySet and ILayeredKeySet. All the existing KeySets have been converted to those two interfaces. I'm going to be creating some new azure based keystores and proxies to the key vault in this new project https://github.com/jbtule/Keyzure

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

No branches or pull requests

2 participants