daxpedda
3d01a605df
Move PrivateKey from CipherSuite to ServerSetup
2021-07-23 15:23:10 -07:00
daxpedda
d61e2d0b5c
Introduce PrivateKey associated type to CipherSuite
2021-07-23 15:23:10 -07:00
Kevin Lewi
349329cdeb
Releasing v0.6.0
2021-06-30 12:20:57 -07:00
Kevin Lewi
e86fbac0b7
Add copyright header and update server consistency documentation
2021-06-28 13:16:16 -07:00
daxpedda
eb59676a94
Implement common traits
2021-06-22 20:46:34 -07:00
daxpedda
ca50d92f96
Remove scrypt
2021-06-21 12:26:22 -07:00
daxpedda
535b9b8ee4
Argon2 implementation
2021-06-21 12:26:22 -07:00
Kevin Lewi
1572ff0104
Adding support for "internal mode" and fake credential response + test vectors ( #155 )
...
* Adding support for internal and external mode
2021-06-21 01:29:39 -07:00
Kevin Lewi
f0c13945d1
Adding client enumeration mitigations ( #153 )
2021-06-21 01:29:39 -07:00
Kevin Lewi
0935bea8ff
Adding documentation of slow-hash + other features
2021-06-13 15:45:53 -07:00
Kevin Lewi
ac08801f18
Updating to version 0.4.0 and simplifying transcript computation logic in TripleDH ( #148 )
2021-02-26 15:18:10 -08:00
Kevin Lewi
782eeb7090
Converting to_bytes and try_from to serialize() and deserialize() ( #138 )
2021-02-17 02:47:00 -08:00
Kevin Lewi
e694a88ef9
Exporting rand ( #137 )
2021-02-11 18:10:48 -08:00
Kevin Lewi
d3204203ca
Publishing v0.3.0 ( #132 )
2021-02-08 12:52:46 -08:00
Kevin Lewi
160ac47ffa
Renaming shared secret to session key ( #133 )
2021-02-08 11:19:06 -08:00
Kevin Lewi
6dc1c8b212
Turning KeyPair into a struct ( #119 )
2021-01-25 13:20:36 -08:00
Kevin Lewi
511d371c9a
Adding digital locker example ( #117 )
2021-01-21 20:18:57 -08:00
Kevin Lewi
2a2d0888a5
Adding encryption algorithm and removing unnecesssary info fields ( #114 )
2021-01-14 15:30:37 -08:00
Kevin Lewi
fa6752cdc5
Adding documentation for advanced usage + optional parameters ( #110 )
2021-01-05 10:13:00 -08:00
Kevin Lewi
9f6b32a5ea
Updating envelope structure to support two fixed modes ( #108 )
...
* Moving id_u and id_s from ClientLoginStartParameters to ClientLoginFinishParameters
* Updating envelope format to support two fixed modes
2021-01-04 14:27:20 -08:00
Kevin Lewi
f5b5391ee0
Moving id_u and id_s from the client API to registration finish instead of start ( #102 )
2020-12-17 14:00:32 -08:00
Kevin Lewi
605d2b639b
Cleaning up docs + README ( #98 )
2020-12-12 21:53:33 -08:00
Kevin Lewi
95152c3b35
Adding API for handling info fields ( #88 )
2020-11-16 14:05:43 -08:00
François Garillot
230b1bcef6
Start integrating the derivable SizedBytes
...
- just derive it on Key and KeyPair for now
2020-11-03 16:45:37 -05:00
Kevin Lewi
c8cbf56336
Conform to voprf spec ( #71 )
2020-11-02 20:15:08 -05:00
François Garillot
9c06c98ad6
Introduce enum structs to replicate TLS message format
...
This PR favors native coercions of enums to numerical types to help ser/de operations.
Small rearrangement of the serialization module.
2020-11-02 20:15:02 -05:00
François Garillot
344e8ad8d1
Updating serialization for RegisterFirstMessage ( #35 )
2020-11-02 20:14:47 -05:00
Kevin Lewi
c7f6abb591
Adding simple login example and fixing some docs ( #67 )
2020-10-26 11:52:15 -07:00
François Garillot
25ae7ff9bf
Make Hash module public
...
Fixes #63
2020-10-21 18:24:55 -04:00
François Garillot
f1bdfcd3a0
Add elligator mapping for hash-to-curve
2020-09-03 14:17:43 -04:00
Kevin Lewi
c2edb2d95e
Adding a hash type to CipherSuite ( #24 )
2020-07-27 15:25:04 -07:00
François Garillot
4fda240a7d
Pass the {curve, x}25519-dalek features through the build
2020-07-22 14:59:06 -04:00
François Garillot
91137903c6
Add benchmarks for OPRF functions (under a bench feature)
2020-07-22 14:32:58 -04:00
François Garillot
e93e8fd5a8
Make the group mod public
2020-07-22 11:58:00 -04:00
Kevin Lewi
f8285c60ba
Introducing a trait for key exchange ( #20 )
2020-07-13 15:23:29 -07:00
François Garillot
69449cca3e
Activate #![deny(missing_docs)], #![deny(unsafe_code)]
2020-07-06 15:40:35 -04:00
François Garillot and KevinLewi
9d40aa7659
As a way to roll back the genericity, implement an extension trait of group for password-to-curve hashing,
...
This supersedes #18 .
Co-authored-by: KevinLewi <[email protected] >
2020-07-03 21:05:18 -04:00
François Garillot
41cd80ccb5
Make oprf::generate_oprf1 generic in the Digest, as long as it matches the hash-to-curve intake of the group
...
We used to have three problems:
- overuse of the <Sha256 as Digest>::OutputSize, which is just, well, U32. Sometimes used as a parameter (as in generate_oprf1), sometimes as a constant (as in generate_oprf3).
- the `hash_to_curve` operation for `RistrettoPoint` which requires 64 bits of input entropy, is fed 64 bits of which the last 32 are zero,
- the `hash_to_curve` operation for `Curve25519Point` which requires 32 bits of input entropy, is fed 64 bits of which the last 32 are discarded,
This corrects all three and uses U32 where the size of the digest is not meant to be a constraint.
Addresses #15 partially.
2020-07-03 18:28:34 -04:00
Kevin Lewi
6d02c72aae
Updating to draft-krawczyk-cfrg-opaque-06, reworking envelope construction and removing AEAD ( #14 )
...
Updating to draft-krawczyk-cfrg-opaque-06, reworking envelope construction and removing AEAD
2020-07-02 12:24:53 -07:00
Kevin Lewi
0cf13c2266
Adding CipherSuite trait to handle bundling of underlying crypto primitives
2020-06-14 23:25:31 -07:00
Kevin Lewi
f030fca1cb
index on bundle_api: 57e152b Adding password hashing functionality
2020-06-14 06:10:26 -07:00
Kevin Lewi
8362804946
Merge branch 'master' into add_pw_hash
2020-06-10 14:54:27 -07:00
Kevin Lewi
af22bfa54f
Adding note on draft status in doc comments
2020-06-09 15:13:42 -07:00
Kevin Lewi
57e152b028
Adding password hashing functionality
2020-06-08 21:02:01 -07:00
Kevin Lewi
88696763cc
Initial commit
Rust CI / test + Clippy + rustfmt (push) Has been cancelled
2020-06-05 09:35:14 -07:00