Skip to content

Conversation

@kyay10
Copy link

@kyay10 kyay10 commented Jan 21, 2026

The key trick is to use SymmetricEncryptionAlgorithm to hold the type parameters (i.e. Auth and Nonce). Then, the sealed hierarchies no longer rely on interfaces, instead, they provide extensions that when over the relevant inheritors, and use absurd when an inheritor cannot possibly be called on this method.

@kyay10
Copy link
Author

kyay10 commented Jan 21, 2026

There's one test in ValidationApiTest that seems broken due to a certificate expiry. I get the failure without my changes, so it's not my code that caused it lol

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