Good errors
I am trying out the new Encryption support in RavenDB 1.2 (written by Dor), and the very first thing I got was a failure:
The Raven/Encryption/Key setting must be set to an encryption key. The key should be in base 64, and should be at least 8 bytes long.
You may use EncryptionSettings.GenerateRandomEncryptionKey() to generate a key. If you'd like, here's a key that was randomly generated: <add key="Raven/Encryption/Key" value="3w17MIVIBLSWZpzH0YarqRlR2+yHiv1Zq3TCWXLEMI8=" />
I like this!
Comments
And I like hierarchical setting names.
Very nice error message and helpful ! :)
Although a sinister developer could use a static value for the "random" key I suppose ;)
Owwww i ve seen those awesome static random generators :)
Really awesome Error Message. This post motivated me to check out logs in my codebase. It doesn't look soo good :)
I am sure Sony remembers this one: http://xkcd.com/221/
Comment preview