diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2020-01-26 14:26:01 +0100 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2020-01-28 12:02:28 +0100 |
commit | 24eebcdaaa32d55bf49d069d8320be5dbd6fdab9 (patch) | |
tree | 075ae58eec1fbec7e16a14723f932aad08a7db49 /src/device/storage.rs | |
parent | da8727996efacec4280696caefee3feecea4eae7 (diff) | |
download | nitrokey-rs-24eebcdaaa32d55bf49d069d8320be5dbd6fdab9.tar.gz nitrokey-rs-24eebcdaaa32d55bf49d069d8320be5dbd6fdab9.tar.bz2 |
Always store serial numbers as integers
This patch consistently uses u32 integers to store and return the serial
number of a Nitrokey device. This makes it easier to convert and
compare the serial number, as it is a unique representation and as
formatting an integer cannot fail. For more details, see this RFC:
https://lists.sr.ht/~ireas/nitrokey-rs-dev/%3C20200126074816.GA1314%40ireas.org%3E
Diffstat (limited to 'src/device/storage.rs')
0 files changed, 0 insertions, 0 deletions