summaryrefslogtreecommitdiff
path: root/src/tests/mod.rs
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2018-05-29 20:49:40 +0000
committerRobin Krahl <robin.krahl@ireas.org>2018-05-29 22:53:02 +0200
commit7197f19f38b06fe2953cfba1fe755d4562f5786e (patch)
tree972e6759f8eafe98669688f7dd44e0acee148331 /src/tests/mod.rs
parent89b8a947e5c622272362e967847eb19337aa68da (diff)
downloadnitrokey-rs-7197f19f38b06fe2953cfba1fe755d4562f5786e.tar.gz
nitrokey-rs-7197f19f38b06fe2953cfba1fe755d4562f5786e.tar.bz2
Add support for password safes
A password safe (PWS) stores names, logins and passwords in slots. PWS are supported both by the Nitrokey Pro and the Nitrokey Storage. They are implemented as a struct wrapping a device as the device may not be disconnected while the password safe is alive. The creation of a password safe is handled by the GetPasswordSafe trait, implemented by DeviceWrapper, Pro and Storage.
Diffstat (limited to 'src/tests/mod.rs')
-rw-r--r--src/tests/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/mod.rs b/src/tests/mod.rs
index c2c9f9d..34ca0aa 100644
--- a/src/tests/mod.rs
+++ b/src/tests/mod.rs
@@ -1,3 +1,4 @@
mod device;
mod otp;
+mod pws;
mod util;