bungeemonkee / Configgy

A simple, powerful, extensible, testable .NET configuration library.
MIT License
41 stars 4 forks source link

Include certificate thumbprint in encrypted values #16

Closed bungeemonkee closed 8 years ago

bungeemonkee commented 8 years ago

Change the encrypted value format to include the certificate thumbprint so changing the certificate doesn't require re-compilation.

bungeemonkee commented 8 years ago

Can't use the thumbprint because (duh) if the required certificate on the encrypter and decrypter are not exactly the same they will have different hashes. I can probably get around this by including the public key itself.

bungeemonkee commented 8 years ago

Added in c9d026c9c259d2949001cf261cc6e3a0010e273f using the public key instead of the thumbprint