|
d54bd9e4
|
2023-01-06T14:35:18
|
|
chore(FLOW-2123): Add examples
Signed-off-by: Cléo REBERT <cleo.rebert-ext@treezor.com>
|
|
cc1474a7
|
2023-01-06T11:30:24
|
|
chore(FLOW-2123): Fix tests
Signed-off-by: Cléo REBERT <cleo.rebert-ext@treezor.com>
|
|
d5b94dc0
|
2023-01-06T10:10:01
|
|
Merge pull request #47 from timvisee/feature-steam
Add Steam algorithm behind 'steam' feature
|
|
5e61d154
|
2023-01-05T17:14:06
|
|
Do not prefix Steam TOTP account name with Steam
|
|
005ae37f
|
2023-01-05T14:22:02
|
|
List steam feature in README
|
|
068b746a
|
2023-01-04T16:20:38
|
|
Parse otpauth URL with Steam as issuer as Steam TOTP
|
|
3f7f9129
|
2023-01-03T18:36:35
|
|
Generate proper URLs for Steam algorithm
|
|
c5fd8207
|
2023-01-03T18:49:47
|
|
Add TOTP::new_steam as custom provider
|
|
a5b97d1f
|
2023-01-02T21:55:49
|
|
Add Steam algorithm behind 'steam' feature
|
|
76e9bb72
|
2023-01-04T12:16:53
|
|
Merge pull request #48 from timvisee/feature-unchecked
Add unchecked TOTP constructor and URL parsing methods
|
|
d2930683
|
2023-01-03T17:55:34
|
|
Add issue and account name colon check back, fix unchecked doctests
|
|
39e0d16d
|
2023-01-03T11:58:59
|
|
Add TOTP::from_url_unchecked variant with uses TOTP::new_unchecked
|
|
505569fa
|
2023-01-03T11:52:43
|
|
Remove issuer and account name colon check in TOTP::new method
|
|
6bdbd591
|
2023-01-03T11:49:10
|
|
Add TOTP::new_unchecked methods
|
|
d460bd22
|
2022-12-29T15:09:20
|
|
Fix CHANGELOG.md
Signed-off-by: Cléo REBERT <cleo.rebert-ext@treezor.com>
|
|
3013f916
|
2022-12-29T15:03:30
|
|
Updated CHANGELOG.md
Signed-off-by: Cléo REBERT <cleo.rebert-ext@treezor.com>
|
|
8b5f5c50
|
2022-12-29T14:36:22
|
|
Add CHANGELOG.md
Signed-off-by: Cléo REBERT <cleo.rebert-ext@treezor.com>
|
|
4a8b2552
|
2022-12-29T14:35:06
|
|
Add CHANGELOG.md
Signed-off-by: Cléo REBERT <cleo.rebert-ext@treezor.com>
|
|
b58a666a
|
2022-12-29T14:16:19
|
|
Bump version to 4.0
Signed-off-by: Cléo REBERT <cleo.rebert-ext@treezor.com>
|
|
cf017a9b
|
2022-12-22T17:06:52
|
|
Zeroize secret
|
|
cf6029aa
|
2022-12-22T16:53:41
|
|
Drop generic support
|
|
608b6f28
|
2022-12-22T16:40:19
|
|
Merge pull request #40 from tmpfs/zeroize
Support zeroize feature.
|
|
3f4e1d33
|
2022-11-03T10:29:19
|
|
Merge branch 'master' of github.com:constantoine/totp-rs
|
|
d5468ef0
|
2022-11-03T10:17:40
|
|
Bump version to 3.1.0
Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
|
|
45dfa56e
|
2022-11-03T10:06:55
|
|
Merge pull request #42 from constantoine/better_error_handling
Better error handling
|
|
fb9ada36
|
2022-11-02T11:33:26
|
|
cargo fmt
Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
|
|
d901803c
|
2022-11-02T11:32:10
|
|
Better error handling
-Implement Display for TOTP
-Make get_qr() Error type be a string
Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
|
|
d241e00f
|
2022-11-02T11:29:04
|
|
Implement std::error::Error for totp-rs error types
Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
|
|
28ebb0e9
|
2022-11-02T11:14:18
|
|
Support zeroize feature.
|
|
c36b3a95
|
2022-10-10T11:20:01
|
|
Merge pull request #39 from constantoine/add_test_coverage
Add coverage for rfc.rs
|
|
0f917c4a
|
2022-10-10T11:15:57
|
|
Fix warning
Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
|
|
0131d7e0
|
2022-10-10T11:12:44
|
|
Cargo fmt
Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
|
|
60514fde
|
2022-10-10T11:08:40
|
|
Add tests
Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
|
|
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>
|
|
3f39b3a1
|
2022-10-05T17:32:31
|
|
Add coverage for rfc.rs
Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
|
|
d68f1608
|
2022-10-05T12:03:21
|
|
Merge pull request #38 from constantoine/better_style
Fix clippy warnings
|
|
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>
|
|
fd1ee7f5
|
2022-10-05T11:27:22
|
|
Merge pull request #34 from alexanderkjall/replace-sha-1-with-sha1
replace the sha-1 crate with sha1
|
|
48fe98c0
|
2022-10-05T11:22:21
|
|
Merge branch 'replace-sha-1-with-sha1' of github.com:alexanderkjall/totp-rs into replace-sha-1-with-sha1
|
|
27a27d80
|
2022-10-01T16:54:01
|
|
replace the sha-1 crate with sha1, as RustCrypto have migrated to the new crate name, ref https://github.com/RustCrypto/hashes#crate-names
|
|
fd52f4a6
|
2022-10-05T11:17:25
|
|
Merge pull request #37 from constantoine/raw_canvas
Fix QR unit tests
|
|
edf3db02
|
2022-10-04T16:41:50
|
|
Add raw canvas private method in order to test the canvas raw data, and not the encoded png data
Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
|
|
a9ebfdc6
|
2022-10-01T16:54:01
|
|
replace the sha-1 crate with sha1, as RustCrypto have migrated to the new crate name, ref https://github.com/RustCrypto/hashes#crate-names
|
|
d0b60892
|
2022-08-26T10:49:48
|
|
Merge pull request #32 from constantoine/coverage
Changed coverage tools to better represent coverage
|
|
ec0e7f36
|
2022-08-26T10:44:46
|
|
Fix rust.yml
Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
|
|
28d72bc3
|
2022-08-26T10:41:36
|
|
Download grcov instead of recompiling
Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
|
|
03188bfd
|
2022-08-26T10:28:45
|
|
Changed coverage tools to better represent coverage
Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
|
|
fcd90cf7
|
2022-08-26T10:02:42
|
|
Merge pull request #31 from constantoine/constantoine-patch-1
Update tarpaulin version
|
|
65214998
|
2022-08-26T09:58:28
|
|
Update tarpaulin version
Tarpaulin is the tool used for coverage
|
|
28075451
|
2022-08-26T09:55:05
|
|
Merge pull request #30 from Dev380/patch-1
Fixed spelling in README.md
|
|
6498e552
|
2022-08-25T23:47:41
|
|
Fixed spelling in README.md
It should be "summary" not "summarry"
|
|
26416df2
|
2022-08-13T11:23:03
|
|
Fix totp_url export
* base32 unexported
* Secret comparison is now constant_time
|
|
5abd752d
|
2022-08-09T11:22:36
|
|
Merge pull request #28 from constantoine/refinement
Make otpauth fields optionnal
|
|
b6295ae8
|
2022-08-09T11:13:55
|
|
Fix doc tests
Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
|
|
7a3967f9
|
2022-08-09T11:09:46
|
|
Fix Workflow
|
|
537350ad
|
2022-08-09T11:06:25
|
|
Prepare for release and update Workflow
Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
|
|
994efb72
|
2022-08-09T11:06:07
|
|
Updated README and added a summary with updated examples
Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
|
|
cd903afb
|
2022-08-09T11:05:36
|
|
Make otpauth fields only appear with otpauth feature
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>
|
|
6b9f13f6
|
2022-08-08T20:54:16
|
|
Merge pull request #25 from steven89/secret
Improve secret handling
|
|
991a07bb
|
2022-08-08T20:50:09
|
|
fix doc example
|
|
ab7bde08
|
2022-08-08T20:28:51
|
|
Merge branch 'master' into secret
|
|
2207859e
|
2022-08-08T20:26:55
|
|
Merge pull request #27 from constantoine/error_handling
Refactor error handling
|
|
e5f15221
|
2022-08-08T20:23:24
|
|
test formatter
Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
|
|
584b7aa8
|
2022-08-08T20:19:07
|
|
Merge branch 'secret' of github.com:steven89/totp-rs into secret
|
|
3d61027d
|
2022-08-08T20:19:04
|
|
Change Secret: Plain to Raw & Base32 to Encoded
|
|
ba130aaa
|
2022-08-08T20:15:31
|
|
Merge branch 'master' into secret
|
|
8e890ac1
|
2022-08-08T19:52:54
|
|
Refactor error handling
Closes #23
Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
|
|
2cb5ec2b
|
2022-08-08T17:56:32
|
|
Merge pull request #26 from steven89/rfc
Rfc6238 struct
|
|
fe2363c7
|
2022-08-08T17:30:27
|
|
TOTP::new checks digits value compliance to rfc
|
|
eb9b0443
|
2022-08-08T14:17:23
|
|
fix build for serde_support feature
|
|
fcfebe14
|
2022-08-08T14:10:39
|
|
clippy
|
|
f3719db8
|
2022-08-08T11:44:21
|
|
Merge pull request #24 from steven89/ttl
add `ttl` to TOTP
|
|
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
|
|
3bdb91fa
|
2022-08-06T22:58:57
|
|
clarifies doc for `secret`: should be non-encoded
|
|
40196c5e
|
2022-08-06T17:49:40
|
|
add `ttl` to TOTP
|
|
6623af9d
|
2022-08-06T17:31:11
|
|
Rfc6238 struct
|
|
181d17ed
|
2022-06-16T11:56:00
|
|
Merge pull request #22 from constantoine/21-bug-issuer-error
Fix url related bugs
|
|
263299be
|
2022-06-16T11:48:34
|
|
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>
|
|
e8ba6fe0
|
2022-05-30T21:59:27
|
|
Merge pull request #20 from constantoine/v2
V2
|
|
4f32055d
|
2022-05-20T17:43:39
|
|
Add next_step and next_step_current methods
Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
|
|
ff6f562a
|
2022-05-20T15:00:12
|
|
The return of otpauth
Signed-off-by: constantoine <cleo.rebert@gmail.com>
|
|
eba97c0f
|
2022-05-15T13:41:19
|
|
Finish work on v2
Signed-off-by: constantoine <cleo.rebert@gmail.com>
|
|
d6d08b1a
|
2022-05-13T14:06:25
|
|
Start working on v2
Signed-off-by: constantoine <cleo.rebert@gmail.com>
|
|
a3b51eea
|
2022-05-06T15:42:55
|
|
Update version
Signed-off-by: constantoine <cleo.rebert@gmail.com>
|
|
1010772c
|
2022-05-06T15:41:47
|
|
Update license
Signed-off-by: constantoine <cleo.rebert@gmail.com>
|
|
49f672d4
|
2022-05-06T15:33:51
|
|
Merge pull request #19 from wyhaya/master
Add TOTP::from_url
|
|
905a119c
|
2022-05-06T20:49:33
|
|
Update README
|
|
32336698
|
2022-05-06T20:36:43
|
|
Add TOTP::from_url
|
|
733c2797
|
2022-05-06T12:46:00
|
|
Merge pull request #18 from constantoine/add_tests
Add tests for generate_current and check_current
|
|
6c192024
|
2022-05-06T12:41:30
|
|
Add tests for generate_current and check_current
Also updated docs to reflect those changes
Signed-off-by: constantoine <cleo.rebert@gmail.com>
|
|
2c75d046
|
2022-05-06T12:10:45
|
|
Merge pull request #17 from wyhaya/master
Support generating and checking token from the current system time
|
|
1e546058
|
2022-05-06T17:55:31
|
|
Add check_current
|
|
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>
|