<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/nitrocli/src/tests, branch topic/otp-cache</title>
<subtitle>A command line tool for interacting with Nitrokey devices (GitHub mirror)
</subtitle>
<id>https://git.ireas.org/mirrors/nitrocli/atom?h=topic%2Fotp-cache</id>
<link rel='self' href='https://git.ireas.org/mirrors/nitrocli/atom?h=topic%2Fotp-cache'/>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/'/>
<updated>2020-10-12T00:07:08Z</updated>
<entry>
<title>Display available extensions in the help text</title>
<updated>2020-10-12T00:07:08Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2020-10-04T16:46:31Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=f65b150049ec9dc5ff2500d7e54c464d530f2e66'/>
<id>urn:sha1:f65b150049ec9dc5ff2500d7e54c464d530f2e66</id>
<content type='text'>
With recent changes we are able to execute user-provided extensions
through the program. However, discoverability is arguably lacking,
because nitrocli provides no insight into what extensions are available
to begin with.
This patch changes this state of affairs by listing available extensions
in the help text.
</content>
</entry>
<entry>
<title>Introduce support for user-provided extensions</title>
<updated>2020-10-12T00:07:07Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2020-08-26T02:04:50Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=8cf63c6790192c30c81294e7a940d470bf061cbf'/>
<id>urn:sha1:8cf63c6790192c30c81294e7a940d470bf061cbf</id>
<content type='text'>
This change introduces support for discovering and executing
user-provided extensions to the program. Extensions are useful for
allowing users to provide additional functionality on top of the
nitrocli proper. Implementation wise we stick to an approach similar to
git or cargo subcommands in nature: we search the directories listed in
the PATH environment variable for a file that starts with "nitrocli-",
followed by the extension name. This file is then executed. It is
assumed that the extension recognizes (or at least not prohibits) the
following arguments: --nitrocli (providing the path to the nitrocli
binary), --model (with the model passed to the main program), and
--verbosity (the verbosity level).
</content>
</entry>
<entry>
<title>Rename numlock, capslock, scrollock options</title>
<updated>2020-10-11T23:26:54Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2020-09-29T17:18:56Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=aaf0286994fcffa8dc81a2569ad70ec6fd7c9b90'/>
<id>urn:sha1:aaf0286994fcffa8dc81a2569ad70ec6fd7c9b90</id>
<content type='text'>
This patch renames the options for the config set command:
	--numlock	==&gt;	--num-lock
	--capslock	==&gt;	--caps-lock
	--scrolllock	==&gt;	--scroll-lock
	--no-numlock	==&gt;	--no-num-lock
	--no-capslock	==&gt;	--no-caps-lock
	--no-scrolllock	==&gt;	--no-scroll-lock

The original naming was based on a typo in nitrokey-rs (scrollock vs.
scrolllock). Also, the typical spelling for the keys is Num Lock, Caps
Lock and Scroll Lock, so using a hyphen is a more natural.
</content>
</entry>
<entry>
<title>Support Librem Key</title>
<updated>2020-10-11T22:02:46Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2020-09-25T00:09:18Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=23f455ab2e36a019ec62450c5b40949663395963'/>
<id>urn:sha1:23f455ab2e36a019ec62450c5b40949663395963</id>
<content type='text'>
This patch adds the librem device model for the Librem Key.
</content>
</entry>
<entry>
<title>Update nitrokey to v0.8.0</title>
<updated>2020-10-11T21:58:35Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2020-09-25T00:06:00Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=6fce98ec044241abd1d0f54dca307af6cd9f648f'/>
<id>urn:sha1:6fce98ec044241abd1d0f54dca307af6cd9f648f</id>
<content type='text'>
This patch updates the nitrokey dependency to version 0.8.0 and applies
all breaking changes (Config fields renaming, DeviceWrapper and Model
non-exhaustiveness, changed Display implementation for Model).
</content>
</entry>
<entry>
<title>Add is_tty field to Context</title>
<updated>2020-09-12T21:12:04Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2020-09-10T11:34:46Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=33918c32b8de4250c450f8d0b007019913c440a1'/>
<id>urn:sha1:33918c32b8de4250c450f8d0b007019913c440a1</id>
<content type='text'>
This patch adds the is_tty field to the Context struct that indicates
whether stdout is a TTY.  This allows us to use TTY features like moving
the cursor in our output.
</content>
</entry>
<entry>
<title>Add fill command to overwrite SD card</title>
<updated>2020-09-12T21:11:05Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2020-09-10T10:20:13Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=ca737e96c7688cc214e9cb514b18861b4671651c'/>
<id>urn:sha1:ca737e96c7688cc214e9cb514b18861b4671651c</id>
<content type='text'>
This patch adds the fill command that overwrites the SD card with random
data.  Similar to the reset command, we always require the user to enter
the admin PIN even if is cached.
</content>
</entry>
<entry>
<title>Print SD card usage in Storage status</title>
<updated>2020-09-12T01:42:30Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2020-09-10T09:01:18Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=cce2ee3c72e680c14516979bfc0108ab2341141b'/>
<id>urn:sha1:cce2ee3c72e680c14516979bfc0108ab2341141b</id>
<content type='text'>
The Storage device keeps track of the areas of the SD card that have
been written to during this power cycle. This data can be accessed using
the NK_get_SD_usage_data function that returns a range of the SD card
that has not been written. This data can be used as a guide line when
creating new hidden volumes.
This patch adds the SD card usage data to the output of the status
command for Nitrokey Storage devices.
</content>
</entry>
<entry>
<title>Rename device path to USB path in list output</title>
<updated>2020-09-09T15:58:47Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2020-09-09T11:03:44Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=663f24b2e41c90709750337e47f2f43b3100422f'/>
<id>urn:sha1:663f24b2e41c90709750337e47f2f43b3100422f</id>
<content type='text'>
For consistency with the --usb-path option, this path renames the device
path column in the output of the list command to USB path.
</content>
</entry>
<entry>
<title>Add --usb-path option to select device</title>
<updated>2020-09-09T15:55:50Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2020-09-08T16:23:30Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=4a8c01adb5100fd0397aad239edc5e80d13aca13'/>
<id>urn:sha1:4a8c01adb5100fd0397aad239edc5e80d13aca13</id>
<content type='text'>
This patch adds the --usb-path option as an additional way to filter the
Nitrokey device to connect to.  While the serial number is a better
identifier in theory, the Nitrokey Storage devices do not send their
serial number in the USB device descriptor.  Having the --usb-path
options allows users to select one of multiple Nitrokey Storage devices.

While we could directly call the nitrokey::Manager::connect_path
function with the specified path, we integrate the --usb-path option
into the existing find_device function for consistent error messages and
to avoid having to duplicate the --model and --serial-number checks.
</content>
</entry>
</feed>
