79 Commits

Author SHA1 Message Date
5f107cd337
add non existing token
Some checks failed
continuous-integration/drone/push Build is failing
2020-06-19 20:09:36 +02:00
ddfd24a098
ensure replace_key uses the same slot 2020-06-19 20:05:05 +02:00
4507107fac
update libcryptsetup-rs 2020-06-10 13:50:28 +02:00
a8482c50a2
handle tokens when replacing 2020-06-08 19:22:19 +02:00
09be5ef551
assemble secret in correct order 2020-06-08 18:08:24 +02:00
6f6c84ddba
skip luks2 check until underlying issue is fixed 2020-06-07 14:14:51 +02:00
5a05cad695
more precise description 2020-06-06 23:39:23 +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
a26b79bcd6
reduced redundant code 2020-05-05 23:53:50 +02:00
f774580c9c
update to current api 2020-05-05 23:28:44 +02:00
69732a1ad6
restore order 2020-04-29 20:33:28 +02:00
b8ae9d91f0
rudimentary pin support 2020-04-29 19:56:18 +02:00
fcdd2a2d3d
add option to specify keyslot 2020-04-29 18:55:25 +02:00
c3d6425e2d
reorganised cli 2020-04-29 18:50:55 +02:00
0b19760175
hint slots 2020-04-28 19:09:53 +02:00
2ec8679c47
open token 2020-04-28 14:27:14 +02:00
65e1dead8b
remove token 2020-04-27 22:07:00 +02:00
478fb5e036
store luks token 2020-04-27 19:26:21 +02:00
1547f5e199
get format 2020-04-27 18:12:06 +02:00
9307503bdc
applied clippy lints 2020-04-07 20:06:24 +02:00
b94f45d1ff
patch secret_gen before obtaing first secret 2020-04-06 23:33:41 +02:00
49e2835f60
enable fido requests to be sent to multiple devices at once 2020-04-06 21:38:11 +02:00
d5c0d48f03
allow another fido device to be used as previous secret 2020-04-06 20:18:00 +02:00
ad2451f548
add timeout 2020-04-05 23:24:18 +02:00
bb7ee7c1ce
request password only once if possible 2020-04-03 22:02:05 +02:00
1658800553
request_multiple 2020-04-01 20:24:49 +02:00
a394b7d1d1
libcryptsetup-rs patch 2020-03-28 14:54:36 +01:00
c99d7f562d
support luks2 2020-03-27 20:08:54 +01:00
c4f781e6e3
only process keyslots within a given range 2020-03-27 20:03:42 +01:00
f6de4a033e
more detailed messages 2020-03-27 18:28:33 +01:00
f5880346b9
switch to libcryptsetup-rs 2020-03-27 18:09:38 +01:00
6089b254b4
switch to libcryptsetup-rs for luks2 support 2020-03-22 17:39:44 +01:00
a437106fcb
use await-dev per default
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-16 19:41:59 +01:00
c4e08413c0
Added --await-dev flag
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-13 23:23:45 +01:00
Marek Mahut
a5fd5fa9f6
error.rs: typo 2020-01-13 17:44:51 +01:00
659fafdfb4
update to 0.2.2
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is failing
2020-01-10 21:44:33 +01:00
7f2668eded
allow for named credentials 2020-01-10 21:32:39 +01:00
shimunn
ae714cdef3
Merge pull request #6 from mmahut/fixid
All checks were successful
continuous-integration/drone/push Build is passing
match rp_id to fido2luks
2020-01-10 19:47:31 +01:00
Marek Mahut
a5f0444d24 match rp_id to fido2luks 2020-01-10 17:13:56 +01:00
Marek Mahut
a307d87d88 use password helper in modified environments 2020-01-10 16:52:22 +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
e7049a281a
Use fido2luks as rp_id instead if default hmac, consider making
All checks were successful
continuous-integration/drone/push Build is passing
credenials device specific
2020-01-02 15:35:32 +01:00
5d1c7beb4d
added flag to retry open command
All checks were successful
continuous-integration/drone/push Build is passing
2019-10-12 22:46:54 +02: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