|
de61f0a3
|
2024-01-19T13:55:04
|
|
Added crate feature requirements to docs
|
|
ae5ccb9f
|
2023-10-02T20:57:40
|
|
Implement Error for SecretParseError
This makes it easy to use the error with e.g. thiserror or other
crates that rely on the trait.
|
|
aad5f9aa
|
2023-07-15T19:28:06
|
|
Remove unnecessary alloc and add docs.
|
|
e4e055de
|
2023-03-28T10:47:52
|
|
5.0
Signed-off-by: Cléo REBERT <cleo.rebert-ext@treezor.com>
|
|
cf017a9b
|
2022-12-22T17:06:52
|
|
Zeroize secret
|
|
9a202c20
|
2022-10-10T10:34:52
|
|
Fix coverage for secret.rs
Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
|
|
b308f745
|
2022-10-10T10:22:52
|
|
Add tests for secret.rs
Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
|
|
0f0e7d60
|
2022-10-05T11:55:37
|
|
Cargo fmt
Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
|
|
4d9e41ee
|
2022-10-05T11:45:21
|
|
Fix clippy warnings
Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
|
|
26416df2
|
2022-08-13T11:23:03
|
|
Fix totp_url export
* base32 unexported
* Secret comparison is now constant_time
|
|
b6295ae8
|
2022-08-09T11:13:55
|
|
Fix doc tests
Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
|
|
0103e7a6
|
2022-08-09T11:04:11
|
|
Add test to secret.rs
Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
|
|
3d61027d
|
2022-08-08T20:19:04
|
|
Change Secret: Plain to Raw & Base32 to Encoded
|
|
f65a2e84
|
2022-08-06T23:04:50
|
|
add `Secret` enum & `gen_secret` feature
- Make the distinction between encoded/non-encoded secret clear,
and allows for easy transformation betwen the two formats
- add `gen_secret` feature to allow easy generation of CSPRNG secret,
also add function to generate rfc recommended length secret
|