diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2018-06-05 22:19:53 +0200 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2018-06-05 22:19:53 +0200 |
commit | 95d18c5b06399fa4109de808f70b1048d4494d39 (patch) | |
tree | 4b7cc832b85e9eeeb96a814dae7de598e16bd94c /LICENSE | |
parent | 7a89b3dbf2f8d8f882edb6298d011cdd3d7add3c (diff) | |
download | nitrokey-rs-95d18c5b06399fa4109de808f70b1048d4494d39.tar.gz nitrokey-rs-95d18c5b06399fa4109de808f70b1048d4494d39.tar.bz2 |
Use a Device reference in PasswordSafe
Instead of wrapping an owned Device instance, PasswordSafe now only
requires a reference to a Device. The lifetime parameter makes sure
that the device lives at least as long as the password safe. Using a
reference instead of an owned device allows us to implement Drop on
PasswordSafe to make sure that the password safe is disabled once it is
destructed.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions