Move OPAQUE into Iota and harden password authentication
Some checks failed
Validate authentication / Validate authentication (push) Failing after 1s

This commit is contained in:
Alex-Emmet 2026-10-02 21:29:04 +02:00
commit fdba718306
No known key found for this signature in database
27 changed files with 1177 additions and 134 deletions

View file

@ -0,0 +1,15 @@
#[derive(Debug, thiserror::Error)]
pub enum OpaqueIntegrationError {
#[error("invalid OPAQUE exchange: {0}")]
Opaque(String),
#[error("OPAQUE context field is too large")]
FieldTooLarge,
}
#[derive(Debug, thiserror::Error)]
pub enum LoginFinishError {
#[error("invalid OPAQUE finalization message")]
InvalidMessage,
#[error("OPAQUE authentication failed")]
AuthenticationFailed,
}