Log

Author Commit Date CI Message
Cléo REBERT cf8c0651 2023-05-15T14:57:12 fix(#58): Fix overflow Signed-off-by: Cléo REBERT <cleo.rebert-ext@treezor.com>
Cléo REBERT 81c773f4 2023-03-31T16:18:26 Fix changelog Signed-off-by: Cléo REBERT <cleo.rebert-ext@treezor.com>
Cléo REBERT 606078ee 2023-03-31T16:10:37 Normalize dependency requirements Signed-off-by: Cléo REBERT <cleo.rebert-ext@treezor.com>
Cléo REBERT 360b4e76 2023-03-28T14:37:03 Updated changelog Signed-off-by: Cléo REBERT <cleo.rebert-ext@treezor.com>
Cléo Rebert f0b89347 2023-03-28T14:31:33 Merge pull request #56 from constantoine/55-add-error-display-trait-for-secretparseerror Fix #55
Cléo REBERT f7d0f136 2023-03-28T11:04:15 Updated changelog Signed-off-by: Cléo REBERT <cleo.rebert-ext@treezor.com>
Cléo REBERT 08c24dae 2023-03-28T11:03:04 Removed default feature Signed-off-by: Cléo REBERT <cleo.rebert-ext@treezor.com>
Cléo REBERT c2ba6d19 2023-03-28T10:58:39 Replace deprecated base64 call Signed-off-by: Cléo REBERT <cleo.rebert-ext@treezor.com>
Cléo REBERT e4e055de 2023-03-28T10:47:52 5.0 Signed-off-by: Cléo REBERT <cleo.rebert-ext@treezor.com>
Cleo Rebert c8907310 2023-01-14T15:58:20 Bumped version Signed-off-by: Cleo Rebert <cleo.rebert@gmail.com>
Cleo Rebert 6f4d2883 2023-01-14T15:50:12 Update changelog Signed-off-by: Cleo Rebert <cleo.rebert@gmail.com>
Cléo Rebert 95d4f580 2023-01-14T15:16:23 Merge pull request #51 from timvisee/fix-readme-indent Remove unnecessary indentation in README
timvisee 578f13d7 2023-01-14T15:03:44 Remove unnecessary indentation in README
Cléo Rebert 7b35ef1d 2023-01-14T15:01:59 Merge pull request #49 from timvisee/fix-url Add missing period parameter in URL, simplify URL generation
timvisee d2c6ae62 2023-01-12T14:22:12 Fix unit tests for get_url change
timvisee 5f676dd3 2023-01-13T20:24:36 Only add digits and algorithm parameters to URL for non default values
timvisee d866af6b 2023-01-12T14:10:13 Add period to URL if value is not default
timvisee aa719c5d 2023-01-12T14:09:37 Simplify parameter handling in URL generation, fix invalid step in tests
Cléo Rebert 9f6894a1 2023-01-14T14:39:18 Merge pull request #50 from timvisee/fix-accountname-trim-issuer Decode account name before splitting issuer and account name parts
timvisee 1a64130e 2023-01-14T13:07:27 Decode account name before splitting issuer and account name parts
Cléo REBERT dedf24b9 2023-01-06T14:44:27 chore(FLOW-2123): Update changelog for 4.1 Signed-off-by: Cléo REBERT <cleo.rebert-ext@treezor.com>
Cléo REBERT d54bd9e4 2023-01-06T14:35:18 chore(FLOW-2123): Add examples Signed-off-by: Cléo REBERT <cleo.rebert-ext@treezor.com>
Cléo REBERT cc1474a7 2023-01-06T11:30:24 chore(FLOW-2123): Fix tests Signed-off-by: Cléo REBERT <cleo.rebert-ext@treezor.com>
Cléo Rebert d5b94dc0 2023-01-06T10:10:01 Merge pull request #47 from timvisee/feature-steam Add Steam algorithm behind 'steam' feature
timvisee 5e61d154 2023-01-05T17:14:06 Do not prefix Steam TOTP account name with Steam
timvisee 005ae37f 2023-01-05T14:22:02 List steam feature in README
timvisee 068b746a 2023-01-04T16:20:38 Parse otpauth URL with Steam as issuer as Steam TOTP
timvisee c5fd8207 2023-01-03T18:49:47 Add TOTP::new_steam as custom provider
timvisee 3f7f9129 2023-01-03T18:36:35 Generate proper URLs for Steam algorithm
timvisee a5b97d1f 2023-01-02T21:55:49 Add Steam algorithm behind 'steam' feature
Cléo Rebert 76e9bb72 2023-01-04T12:16:53 Merge pull request #48 from timvisee/feature-unchecked Add unchecked TOTP constructor and URL parsing methods
timvisee d2930683 2023-01-03T17:55:34 Add issue and account name colon check back, fix unchecked doctests
timvisee 39e0d16d 2023-01-03T11:58:59 Add TOTP::from_url_unchecked variant with uses TOTP::new_unchecked
timvisee 505569fa 2023-01-03T11:52:43 Remove issuer and account name colon check in TOTP::new method
timvisee 6bdbd591 2023-01-03T11:49:10 Add TOTP::new_unchecked methods
Cléo REBERT d460bd22 2022-12-29T15:09:20 Fix CHANGELOG.md Signed-off-by: Cléo REBERT <cleo.rebert-ext@treezor.com>
Cléo REBERT 3013f916 2022-12-29T15:03:30 Updated CHANGELOG.md Signed-off-by: Cléo REBERT <cleo.rebert-ext@treezor.com>
Cléo REBERT 8b5f5c50 2022-12-29T14:36:22 Add CHANGELOG.md Signed-off-by: Cléo REBERT <cleo.rebert-ext@treezor.com>
Cléo REBERT 4a8b2552 2022-12-29T14:35:06 Add CHANGELOG.md Signed-off-by: Cléo REBERT <cleo.rebert-ext@treezor.com>
Cléo REBERT b58a666a 2022-12-29T14:16:19 Bump version to 4.0 Signed-off-by: Cléo REBERT <cleo.rebert-ext@treezor.com>
Cléo Rebert cf017a9b 2022-12-22T17:06:52 Zeroize secret
Cléo Rebert cf6029aa 2022-12-22T16:53:41 Drop generic support
Cléo Rebert 608b6f28 2022-12-22T16:40:19 Merge pull request #40 from tmpfs/zeroize Support zeroize feature.
constantoine 3f4e1d33 2022-11-03T10:29:19 Merge branch 'master' of github.com:constantoine/totp-rs
constantoine d5468ef0 2022-11-03T10:17:40 Bump version to 3.1.0 Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
Cléo Rebert 45dfa56e 2022-11-03T10:06:55 Merge pull request #42 from constantoine/better_error_handling Better error handling
constantoine fb9ada36 2022-11-02T11:33:26 cargo fmt Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
constantoine 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>
constantoine d241e00f 2022-11-02T11:29:04 Implement std::error::Error for totp-rs error types Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
muji 28ebb0e9 2022-11-02T11:14:18 Support zeroize feature.
Cléo Rebert c36b3a95 2022-10-10T11:20:01 Merge pull request #39 from constantoine/add_test_coverage Add coverage for rfc.rs
constantoine 0f917c4a 2022-10-10T11:15:57 Fix warning Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
constantoine 0131d7e0 2022-10-10T11:12:44 Cargo fmt Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
constantoine 60514fde 2022-10-10T11:08:40 Add tests Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
constantoine 9a202c20 2022-10-10T10:34:52 Fix coverage for secret.rs Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
constantoine b308f745 2022-10-10T10:22:52 Add tests for secret.rs Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
constantoine 3f39b3a1 2022-10-05T17:32:31 Add coverage for rfc.rs Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
Cléo Rebert d68f1608 2022-10-05T12:03:21 Merge pull request #38 from constantoine/better_style Fix clippy warnings
constantoine 0f0e7d60 2022-10-05T11:55:37 Cargo fmt Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
constantoine 4d9e41ee 2022-10-05T11:45:21 Fix clippy warnings Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
Cléo Rebert fd1ee7f5 2022-10-05T11:27:22 Merge pull request #34 from alexanderkjall/replace-sha-1-with-sha1 replace the sha-1 crate with sha1
Cléo Rebert 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
Alexander Kjäll 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
Cléo Rebert fd52f4a6 2022-10-05T11:17:25 Merge pull request #37 from constantoine/raw_canvas Fix QR unit tests
constantoine 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>
Alexander Kjäll 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
Cléo Rebert d0b60892 2022-08-26T10:49:48 Merge pull request #32 from constantoine/coverage Changed coverage tools to better represent coverage
constantoine ec0e7f36 2022-08-26T10:44:46 Fix rust.yml Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
constantoine 28d72bc3 2022-08-26T10:41:36 Download grcov instead of recompiling Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
constantoine 03188bfd 2022-08-26T10:28:45 Changed coverage tools to better represent coverage Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
Cléo Rebert fcd90cf7 2022-08-26T10:02:42 Merge pull request #31 from constantoine/constantoine-patch-1 Update tarpaulin version
Cléo Rebert 65214998 2022-08-26T09:58:28 Update tarpaulin version Tarpaulin is the tool used for coverage
Cléo Rebert 28075451 2022-08-26T09:55:05 Merge pull request #30 from Dev380/patch-1 Fixed spelling in README.md
Dev380 6498e552 2022-08-25T23:47:41 Fixed spelling in README.md It should be "summary" not "summarry"
Cléo Rebert 26416df2 2022-08-13T11:23:03 Fix totp_url export * base32 unexported * Secret comparison is now constant_time
Cléo Rebert 5abd752d 2022-08-09T11:22:36 Merge pull request #28 from constantoine/refinement Make otpauth fields optionnal
constantoine b6295ae8 2022-08-09T11:13:55 Fix doc tests Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
Cléo Rebert 7a3967f9 2022-08-09T11:09:46 Fix Workflow
constantoine 537350ad 2022-08-09T11:06:25 Prepare for release and update Workflow Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
constantoine 994efb72 2022-08-09T11:06:07 Updated README and added a summary with updated examples Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
constantoine cd903afb 2022-08-09T11:05:36 Make otpauth fields only appear with otpauth feature Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
constantoine 0103e7a6 2022-08-09T11:04:11 Add test to secret.rs Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
Cléo Rebert 6b9f13f6 2022-08-08T20:54:16 Merge pull request #25 from steven89/secret Improve secret handling
Steven Salaun 991a07bb 2022-08-08T20:50:09 fix doc example
Steven Salaun ab7bde08 2022-08-08T20:28:51 Merge branch 'master' into secret
Cléo Rebert 2207859e 2022-08-08T20:26:55 Merge pull request #27 from constantoine/error_handling Refactor error handling
constantoine e5f15221 2022-08-08T20:23:24 test formatter Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
Steven Salaun 584b7aa8 2022-08-08T20:19:07 Merge branch 'secret' of github.com:steven89/totp-rs into secret
Steven Salaun 3d61027d 2022-08-08T20:19:04 Change Secret: Plain to Raw & Base32 to Encoded
Steven Salaun ba130aaa 2022-08-08T20:15:31 Merge branch 'master' into secret
constantoine 8e890ac1 2022-08-08T19:52:54 Refactor error handling Closes #23 Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
Cléo Rebert 2cb5ec2b 2022-08-08T17:56:32 Merge pull request #26 from steven89/rfc Rfc6238 struct
Steven Salaun fe2363c7 2022-08-08T17:30:27 TOTP::new checks digits value compliance to rfc
Steven Salaun eb9b0443 2022-08-08T14:17:23 fix build for serde_support feature
Steven Salaun fcfebe14 2022-08-08T14:10:39 clippy
Cléo Rebert f3719db8 2022-08-08T11:44:21 Merge pull request #24 from steven89/ttl add `ttl` to TOTP
Steven Salaun 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
Steven Salaun 3bdb91fa 2022-08-06T22:58:57 clarifies doc for `secret`: should be non-encoded
Steven Salaun 40196c5e 2022-08-06T17:49:40 add `ttl` to TOTP
Steven Salaun 6623af9d 2022-08-06T17:31:11 Rfc6238 struct