This tweaks the documentation on the main module, in order to
add some details on the outcome of the client login final step.
In particular, it clarifies the result of `ClientLogin::finish()`
both on success and on errors and it adds some intra-crate links
to the relevant structures and fields.
* Curve25519 test vectors
* Adjust `derive_auth_keypair()` for Curve25519
* Update test vectors
* Fix Curve25519 random scalar generation
Co-Authored-By: Kevin Lewi <[email protected]>
* Update test vectors
* Update test vectors
* Update test vectors
---------
Co-authored-by: Kevin Lewi <[email protected]>
* add argon2 example to simple_login.rs
* rename Default to DefaultCipherSuite in examples to avoid conflicts with core::default::Default
* put the custom KSF example in the documentation
* add links in documentation
Co-authored-by: daxpedda <[email protected]>
* remove no_run on argon2 doctest
* hide argon2 cfg attribute in docs
Co-authored-by: daxpedda <[email protected]>
Co-authored-by: daxpedda <[email protected]>
* Document responsibility for server-side id. #276
This is a passive warning to the server implementor
to not blindly trust the client to send the same
identifier in both [RegistrationRequest] and [RegistrationUpload].
* Perform suggested copy-editing
* Update src/lib.rs
Add wording "typically supplied by the client"
Co-authored-by: daxpedda <[email protected]>
Co-authored-by: Jonah Beckford <[email protected]>
Co-authored-by: daxpedda <[email protected]>
This commit changes the `Ksf` implementation for Argon2
and sets the salt length to 16 bytes, the value
recommended in section 3.1 of the Argon2 specification.
* Move `elliptic-curve` implementation to points to allow `Zeroize`
* Simplify `Ristretto255::random_scalar` implementation
* Fix `Ristretto255` deserialization
* Remove unnecessary check in `Ristretto255::random_scalar`
* Base `X25519` implementation on `curve25519-dalek`
* Constrain public and secret key to `Copy`
* Replace manual `ZeroizeOnDrop` implementation with `derive`
* Update dependencies
* Add `warn(unused_crate_dependencies)`
* Sync crate feature naming with `voprf`
* Remove unnecessary dependency crate features
* Never produce a zero scalar
* Rename `OprfGroup` to `OprfCs`
* Rename `TripleDH` to `TripleDh`
* Remove `slow-hash` crate feature
* Rename `NoOpHash` to `Identity`
* Rename `SlowHash` to `Ksf`
* Move `KeyExchange` type definitions down
* Deserialize secret and public keys from slices
* Remove `PrivateKey::from_bytes`
* Rename `From/ToBytes` to `De/Serialize`
* Re-export `serde_` as `serde`
* Custom `De/Serialize` implementation for keys
* Remove custom `De/Serialize` implementation
* Run Taplo v0.6
* Add `SlowHash` configuration
* Use a reference
* Changing generic argument to be CipherSuite instead of SlowHash
Co-authored-by: Kevin Lewi <[email protected]>