31 Commits

Author SHA1 Message Date
c2e38eb06f
generate shell completions during build
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/tag Build is failing
2020-09-05 18:52:07 +02:00
ee28f87148
always print the full error message
All checks were successful
continuous-integration/drone/push Build is passing
2020-08-30 17:09:57 +02:00
d8d24b40f5
Merge branch 'cli_reorg' 2020-06-06 23:37:22 +02:00
c1a82b9ae6
update libcryptsetup_rs to 0.4.0 2020-06-06 22:43:18 +02:00
c3d6425e2d
reorganised cli 2020-04-29 18:50:55 +02:00
2ec8679c47
open token 2020-04-28 14:27:14 +02:00
478fb5e036
store luks token 2020-04-27 19:26:21 +02:00
c99d7f562d
support luks2 2020-03-27 20:08:54 +01:00
721dded6d2
WIP: 0.2.2
All checks were successful
continuous-integration/drone/push Build is passing
Warning: This release cointains changes to way credentials are generated,
which may cause your authenticator to reject the old credential.
2020-01-09 22:22:54 +01:00
2bac911b32
assigned exit codes to error cases 2019-10-12 22:46:20 +02:00
9a8ea993b5
fmt
All checks were successful
continuous-integration/drone/push Build is passing
2019-10-12 13:40:24 +02:00
shimunn
7eb9dcc928
Merge pull request #2 from jannic/add-test-cases
Some checks failed
continuous-integration/drone/push Build is failing
Add test case for hash calculations
2019-10-12 13:24:33 +02:00
Jan Niehusmann
42945956a6 Add test case for hash calculations
While replacing the implementation of sha256, I noticed that there
is no test case actually calling the hash calculations.

Added two such test cases. Please note that I didn't verify that the
result is correct, but just took the value the existing implementation
returned. So those tests will only catch future regressions.
2019-10-11 22:15:21 +00:00
Jan Niehusmann
3cf5ccf2a0 Use ring for sha256 calculation
According to https://rustsec.org/advisories/RUSTSEC-2016-0005.html,
rust-crypto is unmaintained.

Crates depending on rust-crypto should be ported to other crates.

This port replaces rust-crypto with the sha2 implementation of ring,
as fido2luks already depends on it via ctap_hmac. Note that it uses
an old version of ring, so I used the same version, here.
2019-10-11 22:06:00 +00:00
79e9a37806
use cratesio deps only
All checks were successful
continuous-integration/drone/push Build is passing
2019-10-10 13:41:02 +02:00
bd97e25dd8
cleanup
Some checks failed
continuous-integration/drone/push Build is failing
2019-09-22 20:55:36 +02:00
50fad9ce92
add subcommand to remove key from device
Some checks failed
continuous-integration/drone/push Build is failing
2019-09-22 20:39:21 +02:00
78d5eafc9a
structopt 2019-09-20 17:03:32 +02:00
84ffd1fb94
addkey exclusive 2019-09-20 14:49:15 +02:00
6128d1e30d
removed keyctl dependency
All checks were successful
continuous-integration/drone/push Build is passing
2019-09-19 19:02:52 +02:00
03cc5c70fd
from err
All checks were successful
continuous-integration/drone/push Build is passing
2019-09-18 19:38:58 +02:00
ce92db031c
added command credential
Some checks failed
continuous-integration/drone/push Build is failing
2019-09-18 19:34:27 +02:00
2a869eafe7
lazy load config
Some checks failed
continuous-integration/drone/push Build is failing
2019-09-18 00:58:31 +02:00
d3eb44852b
ask
All checks were successful
continuous-integration/drone/push Build is passing
2019-09-18 00:34:23 +02:00
c9d8d24eec
fetch salt only once
All checks were successful
continuous-integration/drone/push Build is passing
2019-09-17 21:45:28 +02:00
34e428f507
parse env 2019-09-17 20:39:40 +02:00
ee5f3358f7
added connected command 2019-09-17 15:30:36 +02:00
b9f3f793a7
refractor
Some checks failed
continuous-integration/drone/push Build is failing
2019-09-17 14:50:40 +02:00
4679e939cf
refractor 2019-09-17 14:28:55 +02:00
f7b7617e0e
open works
All checks were successful
continuous-integration/drone/push Build is passing
2019-09-16 15:34:10 +02:00
ea5be597fd
skel 2019-09-14 22:56:57 +02:00