Skip to content

Commit

Permalink
tear out all unsafe/C source
Browse files Browse the repository at this point in the history
  • Loading branch information
habnabit committed Jul 5, 2024
1 parent c565d6a commit fb462db
Show file tree
Hide file tree
Showing 106 changed files with 289 additions and 30,803 deletions.
183 changes: 183 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ rand = "0.8"
num-bigint = { version = "0.4", features = ["rand"] }
thiserror = "1.0.61"
num-traits = "0.2.19"
scrypt = { version = "0.11.0", default-features = false }
skein = { version = "0.1.0", default-features = false }
bytes = { version = "1.6.0", default-features = false }
threefish = { version = "0.5.2", default-features = false }
bytemuck = { version = "1.16.1", default-features = false, features = ["min_const_generics"] }
tiny-keccak-1536 = { version = "2.0.2", path = "tiny-keccak-1536", default-features = false, features = ["shake"] }

[build-dependencies]
cc = "1.0.104"
Expand Down
21 changes: 0 additions & 21 deletions build.rs

This file was deleted.

1 change: 0 additions & 1 deletion python/passacre/test/test_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ def test_extend_password_with_yubikey(monkeypatch):
{'method': 'skein', 'iterations': 10, 'scrypt': {'n': 1024, 'r': 8, 'p': 16}},
'cff7a6fc473cb6523c413047f8e26d1e23ffc96b9d7b1fe2008b95469ef2eed1'),
])
@pytest.mark.xfail
def test_scrypt_vectors(username, password, site, options, expected):
options = dict(options, multibase=hex_multibase)
assert generator.generate(username, password, site, options) == expected
90 changes: 0 additions & 90 deletions src/deps.rs

This file was deleted.

Loading

0 comments on commit fb462db

Please sign in to comment.