Skip to content

Commit d7864b5

Browse files
committed
remove unnecessary todos
1 parent af28610 commit d7864b5

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

mfkdf2/src/definitions/mfkdf_derived_key/strengthening.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ impl MFKDF2DerivedKey {
1212

1313
let salt = general_purpose::STANDARD.decode(&self.policy.salt).unwrap();
1414

15-
// TODO (@lonerapier): what if the policy has a stack key?
1615
Argon2::new(
1716
argon2::Algorithm::Argon2id,
1817
Version::default(),

mfkdf2/src/setup/factors/totp.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,14 @@ pub struct TOTPOptions {
3333

3434
impl Default for TOTPOptions {
3535
fn default() -> Self {
36-
let now_ms = SystemTime::now().duration_since(UNIX_EPOCH).unwrap().as_millis() as u64;
37-
3836
Self {
3937
id: Some("totp".to_string()),
4038
secret: None,
4139
digits: Some(6),
4240
hash: Some(HashAlgorithm::Sha1),
4341
issuer: Some("MFKDF".to_string()),
4442
label: Some("mfkdf.com".to_string()),
45-
time: Some(now_ms), // TODO: see if this can be None
43+
time: None,
4644
window: Some(87600),
4745
step: Some(30),
4846
oracle: None,

0 commit comments

Comments
 (0)