microsoft / security-utilities

Security utilities for key generation, string redaction, etc.
MIT License
25 stars 11 forks source link

GenerateCommonAnnotatedSecrets returns a 63-byte key #19

Closed suvamM closed 5 months ago

suvamM commented 5 months ago

Debugging the IdentifiableSecrets_PlatformAnnotatedSecurityKeys unit test, I see that the key returned after the call to IdentifiableSecrets.GenerateCommonAnnotatedKey has 84 characters, which translates to 63 bytes. Doesn't the specification require all common annotated keys be 66-byte long?