107 Commits

Author SHA1 Message Date
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
fbcfdea96b
make salt cli option 2019-10-06 22:16:12 +02:00
99e408cc8d
replaced InputSalt::Both with String option
All checks were successful
continuous-integration/drone/push Build is passing
2019-10-06 22:15:29 +02:00
5290ef5e42
fmt
All checks were successful
continuous-integration/drone/push Build is passing
2019-09-22 21:00:37 +02:00
bd97e25dd8
cleanup
Some checks failed
continuous-integration/drone/push Build is failing
2019-09-22 20:55:36 +02:00
a1ed3f7f8e
accept keyfiles for both add and replace key 2019-09-22 20:47:04 +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
de76f3f480
ensure stdout stays open
All checks were successful
continuous-integration/drone/push Build is passing
2019-09-22 17:57:25 +02:00
78d5eafc9a
structopt 2019-09-20 17:03:32 +02:00
84ffd1fb94
addkey exclusive 2019-09-20 14:49:15 +02:00
8a9cf9019d
ask password twice 2019-09-20 00:52:04 +02:00
2235fddb9a
reduce iteration time to 50ms
Some checks failed
continuous-integration/drone/push Build is failing
authenicator already prevents bruteforce, no need to slow down the
unlock process any further
2019-09-19 20:07:57 +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
814761565d
trim password
Some checks failed
continuous-integration/drone/push Build is failing
2019-09-18 01:15:52 +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
80c100d584
use full device path
All checks were successful
continuous-integration/drone/push Build is passing
2019-09-17 21:55:31 +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
1a262c17cb
rpassword
Some checks failed
continuous-integration/drone/push Build is failing
2019-09-17 21:33:06 +02:00
34e428f507
parse env 2019-09-17 20:39:40 +02:00
40bf047528
hide password
All checks were successful
continuous-integration/drone/push Build is passing
2019-09-17 19:01:56 +02:00