add nkode-rs
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
use std::sync::Arc;
|
||||
use opaque_ke::rand::rngs::OsRng;
|
||||
use tokio::sync::Mutex;
|
||||
use nkode_protocol::client::{AuthenticationData, OpaqueAuthentication, ClientAuthError};
|
||||
use nkode_protocol::in_memory_auth_repo::InMemoryAuthRepo;
|
||||
use nkode_protocol::in_memory_auth_session::InMemoryAuthSession;
|
||||
use nkode_protocol::in_memory_transport::{InMemoryKeyServer, InMemoryCodeServer, SharedServer};
|
||||
use nkode_protocol::models::NKodeServerSetup;
|
||||
use nkode_protocol::server::{Code, Key, OpaqueAuth};
|
||||
use nkode_protocol::opaque::client::{AuthenticationData, OpaqueAuthentication, ClientAuthError};
|
||||
use nkode_protocol::opaque::in_memory_auth_repo::InMemoryAuthRepo;
|
||||
use nkode_protocol::opaque::in_memory_auth_session::InMemoryAuthSession;
|
||||
use nkode_protocol::opaque::in_memory_transport::{InMemoryKeyServer, InMemoryCodeServer, SharedServer};
|
||||
use nkode_protocol::opaque::models::NKodeServerSetup;
|
||||
use nkode_protocol::opaque::server::{Code, Key, OpaqueAuth};
|
||||
|
||||
#[tokio::test]
|
||||
async fn opaque_key_registration_and_login_roundtrip() {
|
||||
|
||||
Reference in New Issue
Block a user