diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2018-05-22 00:32:12 +0000 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2018-05-22 02:35:28 +0200 |
commit | a9657c48c8c92f6c82834a2abd90e27904e2cf6b (patch) | |
tree | 6991987c5fd21a169a233c30b17706330ae085c6 /README.md | |
parent | 2a736067581dd44288b43a01bf47e0d28801e0a8 (diff) | |
download | nitrokey-rs-a9657c48c8c92f6c82834a2abd90e27904e2cf6b.tar.gz nitrokey-rs-a9657c48c8c92f6c82834a2abd90e27904e2cf6b.tar.bz2 |
Restructure code by functionality
In future versions, we want to support not only the Nitrokey Pro, but
also the Nitrokey Storage. This requires a better code layout. This
patch introduces two main changes:
First, the OTP-specific methods are moved from the Device trait and the
AdminAuthenticatedDevice struct to the functionality-based traits
ConfigureOtp and GenerateOtp. This will hopefully make it easier to
integrate the Nitrokey Storage.
Secondly, the code is split into separate modules. These modules are
currently all private and re-exported in the lib module, but we can
consider making them public in the future.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions