Commit Graph

15 Commits

Author SHA1 Message Date
Michael Pfaff 542ed7c97f
Allow use without allocation, decouple issuer and account_name from otpauth feature 2023-04-29 13:39:17 -04:00
Cléo Rebert cf6029aaf3
Drop generic support 2022-12-22 16:53:41 +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 d241e00fcf
Implement std::error::Error for totp-rs error types
Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
2022-11-02 11:29:04 +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
constantoine 3f39b3a1ba
Add coverage for rfc.rs
Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
2022-10-05 17:32:31 +02:00
constantoine 0f0e7d6032
Cargo fmt
Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
2022-10-05 11:55:37 +02:00
constantoine 4d9e41ee68
Fix clippy warnings
Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
2022-10-05 11:45:21 +02:00
constantoine cd903afbd7
Make otpauth fields only appear with otpauth feature
Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
2022-08-09 11:05:36 +02:00
constantoine 8e890ac14d
Refactor error handling
Closes #23

Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
2022-08-08 19:52:54 +02:00
Steven Salaun fe2363c77b TOTP::new checks digits value compliance to rfc 2022-08-08 17:30:27 +02:00
Steven Salaun eb9b04433f fix build for serde_support feature 2022-08-08 14:17:23 +02:00
Steven Salaun fcfebe1417 clippy 2022-08-08 14:10:39 +02:00
Steven Salaun 6623af9d3e Rfc6238 struct 2022-08-06 17:31:11 +02:00