Cléo REBERT
606078ee1d
Normalize dependency requirements
...
Signed-off-by: Cléo REBERT <cleo.rebert-ext@treezor.com>
2023-03-31 16:10:37 +02:00
Cléo REBERT
08c24dae96
Removed default feature
...
Signed-off-by: Cléo REBERT <cleo.rebert-ext@treezor.com>
2023-03-28 11:03:04 +02:00
Cléo REBERT
e4e055dedd
5.0
...
Signed-off-by: Cléo REBERT <cleo.rebert-ext@treezor.com>
2023-03-28 10:47:52 +02:00
Cleo Rebert
c890731092
Bumped version
...
Signed-off-by: Cleo Rebert <cleo.rebert@gmail.com>
2023-01-14 15:58:20 +01:00
Cléo REBERT
d54bd9e447
chore(FLOW-2123): Add examples
...
Signed-off-by: Cléo REBERT <cleo.rebert-ext@treezor.com>
2023-01-06 14:35:18 +01:00
timvisee
a5b97d1f3f
Add Steam algorithm behind 'steam' feature
2023-01-04 13:12:25 +01:00
Cléo REBERT
b58a666af9
Bump version to 4.0
...
Signed-off-by: Cléo REBERT <cleo.rebert-ext@treezor.com>
2022-12-29 14:16:19 +01:00
Cléo Rebert
608b6f2896
Merge pull request #40 from tmpfs/zeroize
...
Support zeroize feature.
2022-12-22 16:40:19 +01:00
constantoine
d5468ef00f
Bump version to 3.1.0
...
Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
2022-11-03 10:28:03 +01:00
muji
28ebb0e97c
Support zeroize feature.
2022-11-02 11:14:18 +08:00
constantoine
0131d7e077
Cargo fmt
...
Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
2022-10-10 11:12:44 +02:00
Alexander Kjäll
27a27d8002
replace the sha-1 crate with sha1, as RustCrypto have migrated to the new crate name, ref https://github.com/RustCrypto/hashes#crate-names
2022-10-05 11:21:56 +02:00
Cléo Rebert
26416df28b
Fix totp_url export
...
* base32 unexported
* Secret comparison is now constant_time
2022-08-13 11:23:03 +02:00
constantoine
537350ad8b
Prepare for release and update Workflow
...
Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
2022-08-09 11:06:25 +02:00
Steven Salaun
f65a2e840a
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
2022-08-06 23:04:50 +02:00
constantoine
263299be14
Fix url related bugs
...
* Bug where your issuer would be incorrectly prefixed with a /, and comparison with the issuer parameter would fail
* Bug where the issuer and account name in path would not be correctly url decoded in path, but correctly decoded in url query
Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
2022-06-16 11:48:34 +02:00
constantoine
ff6f562ab7
The return of otpauth
...
Signed-off-by: constantoine <cleo.rebert@gmail.com>
2022-05-20 15:00:12 +02:00
Cléo Rebert
eba97c0ffa
Finish work on v2
...
Signed-off-by: constantoine <cleo.rebert@gmail.com>
2022-05-15 13:41:19 +02:00
constantoine
d6d08b1a1e
Start working on v2
...
Signed-off-by: constantoine <cleo.rebert@gmail.com>
2022-05-13 14:06:25 +02:00
constantoine
a3b51eea3d
Update version
...
Signed-off-by: constantoine <cleo.rebert@gmail.com>
2022-05-06 15:42:55 +02:00
wyhaya
3233669847
Add TOTP::from_url
2022-05-06 20:36:43 +08:00
constantoine
6c19202404
Add tests for generate_current and check_current
...
Also updated docs to reflect those changes
Signed-off-by: constantoine <cleo.rebert@gmail.com>
2022-05-06 12:41:30 +02:00
constantoine
64225f5acd
Disable image default features
...
Signed-off-by: constantoine <cleo.rebert@gmail.com>
2022-05-05 12:48:52 +02:00
constantoine
9b541817a3
Up version
...
Signed-off-by: constantoine <cleo.rebert@gmail.com>
2022-05-05 12:03:41 +02:00
constantoine
bacf1c4fb4
Switch to qrcodegen, and update image dependency
...
Signed-off-by: constantoine <cleo.rebert@gmail.com>
2022-05-05 12:00:30 +02:00
Cleo Rebert
1f1e1a6fe7
Add constant-time token comparison and partialEq trait
...
Add PartialEq for TOTP<T> and PartialEq+Eq for Algorithm
2022-04-24 16:41:56 +02:00
constantoine
ba925c2442
Update to 1.0
...
Signed-off-by: constantoine <cleo.rebert@gmail.com>
2022-04-15 15:08:41 +02:00
constantoine
d1d6fc0411
Bump version
2022-02-10 11:25:41 +01:00
constantoine
4b486b5aa6
Removed byteorder dependency
2022-01-20 17:58:27 +01:00
Cléo Rebert
b68dd87ce2
Hash refactor
2022-01-13 21:52:55 +01:00
Cléo Rebert
f78707cb05
0.7.1
2022-01-13 16:35:38 +01:00
Cléo Rebert
97695cf26d
Updated dependencies, bumped to 2021 edition
...
- Updated sha2 from a yanked version
- Updated sha-1
- Updated hmac
- Updated byteorder
- Updated base64
2022-01-13 15:55:04 +01:00
Cléo Rebert
0f59d89995
New version
2021-08-20 18:50:56 +02:00
Cléo Rebert
de4a4f91c1
Update dependencies
2021-08-20 18:49:34 +02:00
Cléo Rebert
981ad64477
Fixed warning about deprecated type alias
2020-11-02 23:21:19 +01:00
Cleo Rebert
9c84840f65
Bumped Cargo.toml version
2020-09-12 08:55:35 +02:00
Cléo Rebert
730a767b84
Bumped version number in README.md
2020-08-09 08:28:00 +02:00
Cleo Rebert
b4c1b5d43c
Bumped up major version following PR
2020-08-08 17:21:06 +02:00
Cleo Rebert
d7f8790243
Optionnal serde support for smaller builds
2020-07-03 14:34:58 +02:00
Cleo Rebert
83c0ded335
Change description for shorter
2020-07-03 14:18:16 +02:00
Cleo Rebert
a095a89f84
Fixed typo and added tag
2020-06-23 10:30:54 +02:00
Mark Nijboer
2c12f47652
* Changed version to 0.4.0 and updated docs
2020-06-22 16:16:05 +02:00
Cleo Rebert
bb9b5d851c
Fixed documentation
2020-06-21 19:08:52 +02:00
hebriel
fd6b23437b
bumped to version 0.3.1
2020-06-21 17:02:43 +02:00
Cleo Rebert
32b618c827
Additional feature!
2020-06-21 15:57:16 +02:00
Cleo Rebert
bba8e818da
Switched from ring to the RustCrypto project
2020-06-16 14:39:08 +02:00
Cleo Rebert
0c19a359c3
Changed dependencies + removed one
2020-04-25 19:20:11 +02:00
Cleo Rebert
9d470e8414
Don't forget to change crate version
2020-04-18 14:27:46 +02:00
Cleo Rebert
5e64ae8de8
Changed ring version requirement because of compatibility issues with rocket
2020-04-18 14:25:40 +02:00
Cleo Rebert
9064404264
Implemented serialize and clone fot both TOTP and Algorithm. Only Algorithm is copy
2020-04-14 12:51:44 +02:00
Cleo Rebert
c9b81c70c1
Better doc with examples
2020-04-13 22:57:06 +02:00
Cleo Rebert
7876ca57c7
exported fields to export documentation
2020-04-13 17:59:04 +02:00
Cleo Rebert
bf2d753f72
preparations to push to crates.io
2020-04-13 16:59:30 +02:00
Cleo Rebert
e4915a6446
Finally, my own library. With a fix on the QR code generation
2020-04-13 16:39:57 +02:00
Cleo Rebert
d1e04d7c6e
First commit
2020-04-11 21:24:50 +02:00