[PR #5] [MERGED] Implement OPAQUE protocol for client-server authentication #492

Closed
opened 2026-02-27 08:17:44 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/lldap/lldap/pull/5
Author: @nitnelave
Created: 6/23/2021
Status: Merged
Merged: 6/23/2021
Merged by: @nitnelave

Base: mainHead: opaque


📝 Commits (10+)

  • 71ae9b0 Add OPAQUE implementation
  • 6dcf71a Opaque: use argon2 as slow hash
  • 7e1230d Implement password checking using opaque
  • e4a2540 Make passwords optional when registering a new user
  • 2cf3d2f Simplify opaque types
  • 65db910 Simplify KeyPair handling
  • 0c75470 clippy: fix lint warning
  • 6b21c0f Add messages for the OPAQUE protocol
  • 03256ad Create SQL tables for the temporary OPAQUE data
  • fdc4249 Add the OPAQUE tables to the cleanup cron

📊 Changes

28 files changed (+1837 additions, -335 deletions)

View changed files

📝 .gitignore (+3 -0)
📝 Cargo.lock (+149 -1)
📝 Cargo.toml (+6 -1)
📝 app/Cargo.lock (+111 -0)
📝 app/Cargo.toml (+5 -1)
📝 app/src/api.rs (+110 -52)
📝 app/src/create_user.rs (+1 -1)
📝 app/src/login.rs (+89 -35)
📝 model/Cargo.lock (+201 -63)
📝 model/Cargo.toml (+26 -0)
📝 model/src/lib.rs (+54 -2)
model/src/opaque.rs (+203 -0)
📝 src/domain/error.rs (+4 -0)
📝 src/domain/handler.rs (+9 -2)
📝 src/domain/mod.rs (+2 -0)
src/domain/opaque_handler.rs (+36 -0)
📝 src/domain/sql_backend_handler.rs (+98 -109)
src/domain/sql_opaque_handler.rs (+396 -0)
📝 src/domain/sql_tables.rs (+98 -5)
📝 src/infra/auth_service.rs (+104 -20)

...and 8 more files

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/lldap/lldap/pull/5 **Author:** [@nitnelave](https://github.com/nitnelave) **Created:** 6/23/2021 **Status:** ✅ Merged **Merged:** 6/23/2021 **Merged by:** [@nitnelave](https://github.com/nitnelave) **Base:** `main` ← **Head:** `opaque` --- ### 📝 Commits (10+) - [`71ae9b0`](https://github.com/lldap/lldap/commit/71ae9b0d67baa163fdd5b30bd918852c59e497fa) Add OPAQUE implementation - [`6dcf71a`](https://github.com/lldap/lldap/commit/6dcf71a94dd7456c0c0773b104a1026dbd7c87c4) Opaque: use argon2 as slow hash - [`7e1230d`](https://github.com/lldap/lldap/commit/7e1230d4c61887800b682dbf0c490fc50ffc4daa) Implement password checking using opaque - [`e4a2540`](https://github.com/lldap/lldap/commit/e4a2540e61cdf89d40887358079f490d029d7d31) Make passwords optional when registering a new user - [`2cf3d2f`](https://github.com/lldap/lldap/commit/2cf3d2f828cc7270606810a51fa0ef695d2b8161) Simplify opaque types - [`65db910`](https://github.com/lldap/lldap/commit/65db910e379189304cdbf5ece15279919cfcc7fc) Simplify KeyPair handling - [`0c75470`](https://github.com/lldap/lldap/commit/0c754707ca5814a2bfa6c19828dc0aca749e6c18) clippy: fix lint warning - [`6b21c0f`](https://github.com/lldap/lldap/commit/6b21c0f59878da1198ee9151e54d0b8ad2d3c5b1) Add messages for the OPAQUE protocol - [`03256ad`](https://github.com/lldap/lldap/commit/03256ad6776155cad131447f3c62af3afb82af0a) Create SQL tables for the temporary OPAQUE data - [`fdc4249`](https://github.com/lldap/lldap/commit/fdc4249c300b472591f1f6a8ee17dd197b974fc1) Add the OPAQUE tables to the cleanup cron ### 📊 Changes **28 files changed** (+1837 additions, -335 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+3 -0) 📝 `Cargo.lock` (+149 -1) 📝 `Cargo.toml` (+6 -1) 📝 `app/Cargo.lock` (+111 -0) 📝 `app/Cargo.toml` (+5 -1) 📝 `app/src/api.rs` (+110 -52) 📝 `app/src/create_user.rs` (+1 -1) 📝 `app/src/login.rs` (+89 -35) 📝 `model/Cargo.lock` (+201 -63) 📝 `model/Cargo.toml` (+26 -0) 📝 `model/src/lib.rs` (+54 -2) ➕ `model/src/opaque.rs` (+203 -0) 📝 `src/domain/error.rs` (+4 -0) 📝 `src/domain/handler.rs` (+9 -2) 📝 `src/domain/mod.rs` (+2 -0) ➕ `src/domain/opaque_handler.rs` (+36 -0) 📝 `src/domain/sql_backend_handler.rs` (+98 -109) ➕ `src/domain/sql_opaque_handler.rs` (+396 -0) 📝 `src/domain/sql_tables.rs` (+98 -5) 📝 `src/infra/auth_service.rs` (+104 -20) _...and 8 more files_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 08:17:44 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/lldap-lldap#492
No description provided.