jbtule / keyczar-dotnet Goto Github PK
View Code? Open in Web Editor NEWKeyczar high level encryption toolkit in C#.
Home Page: https://jay.tuley.name/keyczar-dotnet
License: Apache License 2.0
Keyczar high level encryption toolkit in C#.
Home Page: https://jay.tuley.name/keyczar-dotnet
License: Apache License 2.0
On release: dotnet-0.7.5-beta6
When you use the keytool to add a password, the meta file is updated with "encrypted":true.
When you use the keytool to remove that password, the "encrypted" property is not set back to false. This means that any further operations on the key set cause the following exception:
Unhandled Exception: Keyczar.InvalidKeySetException: Unknown Pbe Cipher
at Keyczar.Pbe.PbeKeyStore.DecryptKeyData(Func`1 passwordPrompt) in [root]Keyczar\Keyczar\KeySet\Pbe\PbeKeyStore.cs:line 160
at Keyczar.PbeKeySet.GetKeyData(Int32 version) in [root]Keyczar\Keyczar\KeySet\PbeKeySet.cs:line 70
at Keyczar.MutableKeySet..ctor(IKeySet keySet) in [root]Keyczar\Keyczar\KeySet\Manage\MutableKeySet.cs:line 68
at KeyczarTool.Commands.Password.Run(String[] remainingArguments) in [root]Keyczar\KeyczarTool\Commands\Password.cs:line 41
at ManyConsole.ConsoleCommandDispatcher.DispatchCommand(IEnumerable`1 commands, String[] arguments, TextWriter consoleOut) in c:\src\ManyConsole\ManyConsole\ConsoleCommandDispatcher.cs:line 70
at KeyczarTool.Program.Main(String[] args) in [root]Keyczar\KeyczarTool\Program.cs:line 4
Maybe I'm doing something wrong.
If:
Should I do something if metadata contains a password for avoiding the crash?
Thanks for your project and Regards,
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.