Skip to content

Use SecretKey instead of Key - #66

Merged
jchambers merged 1 commit into
mainfrom
secret_key
Aug 17, 2026
Merged

Use SecretKey instead of Key#66
jchambers merged 1 commit into
mainfrom
secret_key

Conversation

@jchambers

Copy link
Copy Markdown
Owner

At some point, I convinced myself that Key was the right unit of currency, but I think that was a mistake. A SecretKey is explicitly a symmetric key, while a Key is much more generic and could be (for example) an EC public key, which makes no sense for HOTP or TOTP.

@jchambers
jchambers merged commit 596c6c5 into main Aug 17, 2026
10 checks passed
@jchambers
jchambers deleted the secret_key branch August 17, 2026 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant