dlwyatt / ProtectedData

PowerShell Module for securely encrypting and sharing secret data such as passwords.
Apache License 2.0
77 stars 16 forks source link

Key Usage extension now mandatory #6

Closed dlwyatt closed 9 years ago

dlwyatt commented 9 years ago

This provides better errors when trying to use a certificate whose private key is flagged for signatures only, but the certificate itself didn't bother to include a key usage extension to communicate this. (There may be a correlation between Enhanced Key Usage extensions and signing / encryption key usage, but I haven't been able to find any documentation on this.)

Addresses #5 .