<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nitrocli/src/tests, branch nitrokey-v0.8.0</title>
<subtitle>Robin Krahl's fork of nitrocli</subtitle>
<id>https://git.ireas.org/nitrocli/atom?h=nitrokey-v0.8.0</id>
<link rel='self' href='https://git.ireas.org/nitrocli/atom?h=nitrokey-v0.8.0'/>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrocli/'/>
<updated>2020-10-02T09:58:21Z</updated>
<entry>
<title>Rename numlock, capslock, scrollock options</title>
<updated>2020-10-02T09:58:21Z</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/nitrocli/commit/?id=a6538455de33f6d09dfa4011fbbdaa6e59b132f4'/>
<id>urn:sha1:a6538455de33f6d09dfa4011fbbdaa6e59b132f4</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-02T09:54:41Z</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/nitrocli/commit/?id=c7c5e94f1e3d90e6ce85a7c6adb7fdbc31a29645'/>
<id>urn:sha1:c7c5e94f1e3d90e6ce85a7c6adb7fdbc31a29645</id>
<content type='text'>
This patch adds the librem device model for the Librem Key.

Note that we cannot run any tests for the new model until nitrokey-test
is updated.
</content>
</entry>
<entry>
<title>Update nitrokey to v0.8.0</title>
<updated>2020-10-02T09:54: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/nitrocli/commit/?id=adbfa1c12257405112445497324938a011db8664'/>
<id>urn:sha1:adbfa1c12257405112445497324938a011db8664</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/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/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/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/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/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>
<entry>
<title>Add test cases for new connection logic</title>
<updated>2020-09-07T23:42:56Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2020-09-07T18:47:41Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrocli/commit/?id=16f6b3ba0c3535efd1b9288ea1980cdd281b6565'/>
<id>urn:sha1:16f6b3ba0c3535efd1b9288ea1980cdd281b6565</id>
<content type='text'>
This patch adds test cases for the new connection logic:
- connect_multiple checks that nitrocli aborts if more than one Nitrokey
  device is connected and no filter is set.
- connect_serial_number checks that we can use the --serial-number
  option to connect to all supported Nitrokey devices.
- connect_wrong_serial_number checks that nitrocli aborts if it can’t
  find a device with the requested serial number.
- connect_model checks that we can use the --model option to select the
  Nitrokey device to connect to, and that nitrocli aborts if it finds no
  matching device or multiple matching devices.
</content>
</entry>
<entry>
<title>fixup! Refactor connection handling</title>
<updated>2020-09-07T22:52:07Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2020-09-07T22:49:29Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrocli/commit/?id=a4dc74f23ed1ac45a5db497499c2ac334ab295ce'/>
<id>urn:sha1:a4dc74f23ed1ac45a5db497499c2ac334ab295ce</id>
<content type='text'>
</content>
</entry>
</feed>
