<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/nitrocli/src, branch v0.3.2</title>
<subtitle>A command line tool for interacting with Nitrokey devices (GitHub mirror)
</subtitle>
<id>https://git.ireas.org/mirrors/nitrocli/atom?h=v0.3.2</id>
<link rel='self' href='https://git.ireas.org/mirrors/nitrocli/atom?h=v0.3.2'/>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/'/>
<updated>2020-03-23T00:05:32Z</updated>
<entry>
<title>Remove deprecated plugin_as_library lint usage</title>
<updated>2020-03-23T00:05:32Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2020-03-23T00:05:32Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=fd3fc6dc8945b4f9b30e9e8aed6d1341b51bfea8'/>
<id>urn:sha1:fd3fc6dc8945b4f9b30e9e8aed6d1341b51bfea8</id>
<content type='text'>
The plugin_as_library lint has been deprecated as of Rust 1.40.0. Hence,
with this change we remove it from the list of lints we want to get
warnings from.
</content>
</entry>
<entry>
<title>Update nitrokey dependency to 0.6.0</title>
<updated>2020-01-29T11:25:33Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2020-01-29T11:25:33Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=bab33d84078a0ff2eb3d55ef39ea382b797abc92'/>
<id>urn:sha1:bab33d84078a0ff2eb3d55ef39ea382b797abc92</id>
<content type='text'>
nitrokey 0.6.0 introduced the SerialNumber struct (instead of
representing serial numbers as strings). We no longer have to manually
format the serial number as SerialNumber implements Display.
</content>
</entry>
<entry>
<title>Make --verbose and --model options global</title>
<updated>2020-01-26T08:17:49Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2020-01-26T08:17:49Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=1d15cfb6b189a21211d0981e4dc462dd15eea55c'/>
<id>urn:sha1:1d15cfb6b189a21211d0981e4dc462dd15eea55c</id>
<content type='text'>
This patch adds the attribute 'global = true' for the top-level
--verbose and --model options, which ensures that they can also be set
for subcommands.  For example:
  $ nitrocli status --model pro
Instead of only:
  $ nitrocli --model pro status
</content>
</entry>
<entry>
<title>Provide correct mutual exclusion between config set -o and -O options</title>
<updated>2020-01-25T04:36:34Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2020-01-25T04:36:34Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=61b5aff7be250387ce8510138cae773ed3bd6577'/>
<id>urn:sha1:61b5aff7be250387ce8510138cae773ed3bd6577</id>
<content type='text'>
The -o/--otp-pin and -O/--no-otp-pin options to the config set command
are supposed to be mutually exclusive, with wrong usage detected by
structopt.
That is not the case currently, however, because the argument to
structopt's conflicts_with attribute is supposed to be the resulting
option and not the name of the variable capturing the result.
This change fixes the problem by changing the string accordingly.
</content>
</entry>
<entry>
<title>Add unit tests for the list command</title>
<updated>2020-01-14T19:19:11Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2020-01-14T19:19:11Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=86401187fc26b6f3a41cbd4cec463c4ffe50c32c'/>
<id>urn:sha1:86401187fc26b6f3a41cbd4cec463c4ffe50c32c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implement list command</title>
<updated>2020-01-14T19:01:28Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2020-01-14T19:01:28Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=1a4c617a2b52998c792b5149b9ba3ed0bcabced8'/>
<id>urn:sha1:1a4c617a2b52998c792b5149b9ba3ed0bcabced8</id>
<content type='text'>
This patch implements the list command that lists all attached Nitrokey
devices.  Currently the Nitrokey Storage does not report its serial
number during HID enumeration, see [0].  So if we detect a Nitrokey
Storage device, we connect to it and use the get_serial_number function
to query its serial number.  This can be disabled using the --no-connect
option.

Note that even the get_serial_number function reports a wrong serial
number for the Nitrokey Storage, see [1].

[0] https://github.com/Nitrokey/nitrokey-storage-firmware/issues/88
[1] https://github.com/Nitrokey/nitrokey-storage-firmware/issues/76
</content>
</entry>
<entry>
<title>Add scaffolding for the list command</title>
<updated>2020-01-14T18:32:28Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2020-01-14T18:32:28Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=a60b03f58437e358b24a96a4e6b2a2c11d277e6b'/>
<id>urn:sha1:a60b03f58437e358b24a96a4e6b2a2c11d277e6b</id>
<content type='text'>
This patch adds the basic scaffolding for the list command which will
list all attached Nitrokey devices.
</content>
</entry>
<entry>
<title>Bump nitrokey dependency to version 0.5.1</title>
<updated>2020-01-14T18:21:26Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2020-01-14T18:21:26Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=1df484fd699f88b6d7e23c09464294a7c26c7e00'/>
<id>urn:sha1:1df484fd699f88b6d7e23c09464294a7c26c7e00</id>
<content type='text'>
This change updates the version of the nitrokey crate that we use to
0.5.1. As part of that, it replaces occurrences of Storage::get_status
with Storage::get_storage_status as the method has been renamed.
</content>
</entry>
<entry>
<title>Use symbolic default values where possible</title>
<updated>2020-01-08T18:07:56Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2020-01-08T18:07:56Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=5357d0dd6dbfbb545ee7ddc41ea4527775ca2e4b'/>
<id>urn:sha1:5357d0dd6dbfbb545ee7ddc41ea4527775ca2e4b</id>
<content type='text'>
With the switch to using structopt for argument parsing some of the
default values have become mere strings, whereas one of our earlier
objectives was to have symbolic values where that is possible. As
structopt works with symbolic values equally well, this change makes it
use those.
As a bonus, also list the possible formats for the --format option to
the otp set subcommand.
</content>
</entry>
<entry>
<title>Do not declare internally used types as pub</title>
<updated>2020-01-08T17:59:04Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2020-01-08T17:59:04Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=29077fbca88cddf9f6cf4857623c1a50e756c306'/>
<id>urn:sha1:29077fbca88cddf9f6cf4857623c1a50e756c306</id>
<content type='text'>
With the recent patch set moving us to using structopt over argparse we
introduced all new structs and enums representing subcommands and the
like as public. That is unnecessary, as they are not accessed from the
outside.
This change adjusts the visibility accordingly.
</content>
</entry>
</feed>
