|
d54f8659
|
2022-05-06T17:35:49
|
|
Support generate token from the current time
|
|
64225f5a
|
2022-05-05T12:48:52
|
|
Disable image default features
Signed-off-by: constantoine <cleo.rebert@gmail.com>
|
|
1f10c8c7
|
2022-05-05T12:10:13
|
|
Merge pull request #16 from constantoine/change_qr_lib
Switch to qrcodegen, and update image dependency
|
|
9b541817
|
2022-05-05T12:03:41
|
|
Up version
Signed-off-by: constantoine <cleo.rebert@gmail.com>
|
|
bacf1c4f
|
2022-05-05T11:50:41
|
|
Switch to qrcodegen, and update image dependency
Signed-off-by: constantoine <cleo.rebert@gmail.com>
|
|
7ecdf7d4
|
2022-04-24T16:48:30
|
|
Merge pull request #15 from constantoine/constant_time_eq
Add constant-time token comparison and partialEq trait
|
|
1f1e1a6f
|
2022-04-24T16:41:56
|
|
Add constant-time token comparison and partialEq trait
Add PartialEq for TOTP<T> and PartialEq+Eq for Algorithm
|
|
ba925c24
|
2022-04-15T15:08:41
|
|
Update to 1.0
Signed-off-by: constantoine <cleo.rebert@gmail.com>
|
|
0f245d26
|
2022-04-08T20:31:05
|
|
Merge pull request #12 from ironhaven/patch-1
Use last byte of HMAC output for truncating
|
|
c30d02b5
|
2022-03-07T23:10:31
|
|
Use last byte of HMAC output for truncating
This is to use the least significant byte of the HMAC regardless of size. RFC 6328 (TOTP) Section 1.2 says you can use SHA-1 SHA-256 or SHA-512 with the same algorithm of RFC 4226 (HTOP). This seems ok until you realize that all the new HMACs have different output sizes and HTOP only expects a 20 byte fixed MAC. It is not completely clear if RFC 4226 Section 5.3 means "get the bottom 4 bits from byte at offset 19" or "get the 4 least significant bits". Other implementations (https://github.com/pyauth/pyotp/blob/6568c1a83af8e0229f3c4b28d03552d601e2b7fe/src/pyotp/otp.py#L28) and Wikipedia read the "Dynamic Truncation" algorithm to be the last 4 bits of the MAC, so I think this implementation should follow the others.
|
|
d1d6fc04
|
2022-02-10T11:25:41
|
|
Bump version
|
|
4ef27bd6
|
2022-02-10T10:37:40
|
|
Merge pull request #11 from tmpfs/doc-comment-warning
Warn about silent fallback to SHA1
|
|
8db59df6
|
2022-02-10T10:34:28
|
|
Update README.md
|
|
9888507d
|
2022-02-10T17:00:33
|
|
Add notes to doc comments.
|
|
4b486b5a
|
2022-01-20T17:58:27
|
|
Removed byteorder dependency
|
|
2ed419a8
|
2022-01-13T21:53:13
|
|
Merge branch 'master' of github.com:constantoine/totp-rs
|
|
b68dd87c
|
2022-01-13T21:52:55
|
|
Hash refactor
|
|
79b714ae
|
2022-01-13T18:33:59
|
|
Update README.md
|
|
f2fb6ae5
|
2022-01-13T18:33:33
|
|
Update security.yml
|
|
c1116327
|
2022-01-13T18:26:45
|
|
Update security.yml
|
|
05253169
|
2022-01-13T18:19:34
|
|
Update rust.yml
|
|
4f132441
|
2022-01-13T18:15:14
|
|
Update rust.yml
|
|
b26322cd
|
2022-01-13T18:04:12
|
|
Update rust.yml
|
|
2f864c45
|
2022-01-13T18:00:02
|
|
Update rust.yml
|
|
46642989
|
2022-01-13T17:56:20
|
|
Update rust.yml
|
|
4e5e605d
|
2022-01-13T17:52:12
|
|
Merge branch 'master' of github.com:constantoine/totp-rs
|
|
b23080d4
|
2022-01-13T17:52:06
|
|
Add crates.io badge and coverage badge
|
|
aa1dccb3
|
2022-01-13T17:41:52
|
|
Create security.yml
|
|
5a39aa77
|
2022-01-13T16:52:27
|
|
Update rust.yml
|
|
f78707cb
|
2022-01-13T16:35:38
|
|
0.7.1
|
|
d75ca4dd
|
2022-01-13T16:17:19
|
|
Changed to 7.0 for 2021 edition
|
|
97695cf2
|
2022-01-13T15:55:04
|
|
Updated dependencies, bumped to 2021 edition
- Updated sha2 from a yanked version
- Updated sha-1
- Updated hmac
- Updated byteorder
- Updated base64
|
|
43107283
|
2021-08-20T18:59:09
|
|
Update README.md
|
|
0f59d899
|
2021-08-20T18:50:56
|
|
New version
|
|
de4a4f91
|
2021-08-20T18:49:34
|
|
Update dependencies
|
|
981ad644
|
2020-11-02T23:21:19
|
|
Fixed warning about deprecated type alias
|
|
9c84840f
|
2020-09-12T08:55:35
|
|
Bumped Cargo.toml version
|
|
8c86a94f
|
2020-09-12T08:54:07
|
|
Merge pull request #8 from evenorog/master
Remove some unnecessary to_vec calls in code
|
|
ffe9e4d5
|
2020-08-09T20:10:44
|
|
Remove some unnecessary to_vec calls in code
|
|
12cbfc10
|
2020-08-09T08:36:06
|
|
Updated README.md
|
|
730a767b
|
2020-08-09T07:39:53
|
|
Bumped version number in README.md
|
|
b4c1b5d4
|
2020-08-08T17:21:06
|
|
Bumped up major version following PR
|
|
54116c0e
|
2020-08-08T17:18:03
|
|
Merge pull request #7 from evenorog/master
Be generic over secret type
|
|
61fc8952
|
2020-08-05T13:24:34
|
|
Be generic over secret type
Allow to store anything that implement AsRef<[u8]> as secret in TOTP
struct.
|
|
d7f87902
|
2020-07-03T14:34:58
|
|
Optionnal serde support for smaller builds
|
|
83c0ded3
|
2020-07-03T14:18:16
|
|
Change description for shorter
|
|
a095a89f
|
2020-06-23T10:30:54
|
|
Fixed typo and added tag
|
|
9c944c82
|
2020-06-22T17:16:42
|
|
Added badges
|
|
25cacea5
|
2020-06-22T17:10:33
|
|
Create rust.yml
|
|
a8c78041
|
2020-06-22T17:05:37
|
|
Merge pull request #6 from marknijboer/master
Added unit tests, replaced String for &str and removed println!
|
|
a80ed7f1
|
2020-06-22T17:02:02
|
|
* Changed version in README
|
|
2c12f476
|
2020-06-22T16:16:05
|
|
* Changed version to 0.4.0 and updated docs
|
|
66ef16fb
|
2020-06-22T16:09:53
|
|
* Added unit tests, replaced String for &str and removed println
|
|
bb9b5d85
|
2020-06-21T19:08:52
|
|
Fixed documentation
|
|
77dd798f
|
2020-06-21T17:24:48
|
|
Merge pull request #5 from underdiskdev/master
Changed a bunch of to_string() to to_owned()
|
|
e02e1f7f
|
2020-06-21T17:24:32
|
|
Worth a try
|
|
fd6b2343
|
2020-06-21T17:02:43
|
|
bumped to version 0.3.1
|
|
5a1e9653
|
2020-06-21T16:47:44
|
|
Create rust.yml
|
|
64faae59
|
2020-06-21T16:39:00
|
|
Changed a bunch of to_string() to to_owned()
|
|
9746793f
|
2020-06-21T16:03:39
|
|
delete test file
|
|
32b618c8
|
2020-06-21T15:57:16
|
|
Additional feature!
|
|
bba8e818
|
2020-06-16T14:39:08
|
|
Switched from ring to the RustCrypto project
|
|
0c19a359
|
2020-04-25T19:20:11
|
|
Changed dependencies + removed one
|
|
9d470e84
|
2020-04-18T14:27:46
|
|
Don't forget to change crate version
|
|
5e64ae8d
|
2020-04-18T14:25:40
|
|
Changed ring version requirement because of compatibility issues with rocket
|
|
90644042
|
2020-04-14T12:51:22
|
|
Implemented serialize and clone fot both TOTP and Algorithm. Only Algorithm is copy
|
|
c9b81c70
|
2020-04-13T22:57:06
|
|
Better doc with examples
|
|
8a236fbd
|
2020-04-13T18:09:02
|
|
fixed typo
|
|
7de3d067
|
2020-04-13T18:06:33
|
|
Changed dependency version for more compatibility
|
|
7876ca57
|
2020-04-13T17:59:04
|
|
exported fields to export documentation
|
|
6b091b7e
|
2020-04-13T17:02:00
|
|
cargo fmt
|
|
bf2d753f
|
2020-04-13T16:59:30
|
|
preparations to push to crates.io
|
|
30ac2766
|
2020-04-13T16:54:37
|
|
Merge pull request #2 from constantoine/add-license-1
Create license
|
|
4f598400
|
2020-04-13T16:54:21
|
|
Create license
|
|
2c3d9a39
|
2020-04-13T16:41:42
|
|
Merge branch 'master' of github.com:constantoine/totp-rs
|
|
e4915a64
|
2020-04-13T16:39:57
|
|
Finally, my own library. With a fix on the QR code generation
|
|
e89e1f5c
|
2020-04-12T01:08:38
|
|
Update README.md
|
|
b2af324a
|
2020-04-12T01:05:26
|
|
Fixed typo in readme
|
|
d1e04d7c
|
2020-04-11T21:24:50
|
|
First commit
|