<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/nitrocli, branch v0.3.0</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.0</id>
<link rel='self' href='https://git.ireas.org/mirrors/nitrocli/atom?h=v0.3.0'/>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/'/>
<updated>2019-12-17T03:39:18Z</updated>
<entry>
<title>Bump version to 0.3.0</title>
<updated>2019-12-17T03:39:18Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2019-12-17T03:39:18Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=04bf10c88cea1e92db096407a7f89890f3598969'/>
<id>urn:sha1:04bf10c88cea1e92db096407a7f89890f3598969</id>
<content type='text'>
This change bumps the version of the crate to 0.3.0. The following
notable changes have been made since 0.2.4:
- Added unencrypted command with set subcommand for changing the
  unencrypted volume's read-write mode
- Changed storage hidden subcommand to hidden top-level command
- Renamed storage command to encrypted
- Removed storage status subcommand
  - Moved its output into status command
- Removed previously deprecated --ascii option from otp set command
- Fixed wrong hexadecimal conversion used in otp set command
- Bumped nitrokey dependency to 0.3.5
- Bumped libc dependency to 0.2.66
- Bumped cc dependency to 1.0.48
</content>
</entry>
<entry>
<title>Update nitrokey crate to 0.3.5</title>
<updated>2019-12-17T03:29:14Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2019-12-17T03:29:14Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=e63367cea8105bd0c9deff905d1af5ce65dd7f57'/>
<id>urn:sha1:e63367cea8105bd0c9deff905d1af5ce65dd7f57</id>
<content type='text'>
This change updates the nitrokey crate to version 0.3.5. The main reason
for this new version of the crate is a build fix due to a backwards
compatibility breaking change in upstream libnitrokey. For that reason,
we also have to bump the minimum required version to avoid build
failures.

Import subrepo nitrokey/:nitrokey at f2cc7fdf081340b0b812f0b212537ba2b55d382e
</content>
</entry>
<entry>
<title>Update cc crate to 1.0.48</title>
<updated>2019-11-01T14:45:35Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2019-11-01T14:45:35Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=9091de47826b82ce357c77090f35e3faaf22091a'/>
<id>urn:sha1:9091de47826b82ce357c77090f35e3faaf22091a</id>
<content type='text'>
This change updates the cc crate to version 1.0.48.

Import subrepo cc/:cc at be9f2c1ae05b336aa3d07a4cbefdc1d88a3d8a91
</content>
</entry>
<entry>
<title>Update libc crate to 0.2.66</title>
<updated>2019-11-01T14:42:33Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2019-11-01T14:42:33Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=49be10a8179165d24bbb8eb3490c4ca6f94b42c4'/>
<id>urn:sha1:49be10a8179165d24bbb8eb3490c4ca6f94b42c4</id>
<content type='text'>
This change updates the libc crate to version 0.2.66.

Import subrepo libc/:libc at 4f11029a68040c90acf771976b019c1ef273a8cd
</content>
</entry>
<entry>
<title>Properly pad user supplied hexadecimal strings to otp set subcommand</title>
<updated>2019-10-13T12:13:36Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2019-10-13T12:13:36Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=9f3991a74fa5124e298582afa60b229dd005be40'/>
<id>urn:sha1:9f3991a74fa5124e298582afa60b229dd005be40</id>
<content type='text'>
The library ultimately taking care of communicating with the Nitrokey
device, libnitrokey, unconditionally expects hexadecimal strings
supplied as part of the configuration of an OTP slot to have an even
number of bytes.
Users should not be aware of this detail and so with this change we take
care of padding the supplied string with a leading zero to make such a
configuration go through without an error.
</content>
</entry>
<entry>
<title>Correctly pad bytes with zero in hex conversion</title>
<updated>2019-10-13T11:51:29Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2019-10-13T11:51:29Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=c46803a4557c9cd14df5e46192384a831b329179'/>
<id>urn:sha1:c46803a4557c9cd14df5e46192384a831b329179</id>
<content type='text'>
When reading a secret in ascii or base32 format from the user, we
perform a conversion of the potentially decoded string into hexadecimal
bytes, because that is what libnitrokey expects.
The format string we used in the conversion, however, did not account
for padding with a leading zero for single digit results. E.g., the
newline/line feed symbol '\n', which has a decimal value of 10 would
result in the string 'a' being produced, whereas '0a' would be the
correct result.
This change corrects the format string to fix this problem.
</content>
</entry>
<entry>
<title>Properly show the default format used in otp set subcommand</title>
<updated>2019-10-13T11:07:07Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2019-10-13T11:07:07Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=e09f5d841dd05ca2f1d276ba678ccbc02d0207e5'/>
<id>urn:sha1:e09f5d841dd05ca2f1d276ba678ccbc02d0207e5</id>
<content type='text'>
The otp set subcommand allows for three different formats in which the
user may pass in the secret, with the default being hexadecimal. By
convention we convey the default being used in the help text to the
respective command, but that default was missing here.
To that end, this change makes sure to include the default format being
used in corresponding help text.
</content>
</entry>
<entry>
<title>Introduce NITROCLI constant</title>
<updated>2019-08-24T16:29:11Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2019-08-24T16:29:11Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=4d57ac618124878b06aabaa8f392bc52ec60e6c9'/>
<id>urn:sha1:4d57ac618124878b06aabaa8f392bc52ec60e6c9</id>
<content type='text'>
This change introduces a constant for the frequently used string
"nitrocli" to the program and replaces usages of those strings with
references to the constant.
</content>
</entry>
<entry>
<title>Fix incomplete help text for encrypted &amp; unencrypted subcommands</title>
<updated>2019-08-22T15:20:22Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2019-08-22T15:20:22Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=560152b074e017753517f1d3c6e4431410ebed4b'/>
<id>urn:sha1:560152b074e017753517f1d3c6e4431410ebed4b</id>
<content type='text'>
Subcommands of the encrypted and unencrypted commands were found to have
a wrong help text displayed. The reason for that behavior was that the
subargs were are constructing as part of the argument parsing process
were missing the command being requested and instead containing only the
subcommand.
This change fixes this deficiency. It also adds a test ensuring that the
"Usage" string displayed in the help text of each command and subcommand
contains the proper arguments.
</content>
</entry>
<entry>
<title>Update cc crate to 1.0.40</title>
<updated>2019-08-15T15:12:14Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2019-08-15T15:12:14Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=b766d584b36b78c96e9ef60ec927214c74ede4ab'/>
<id>urn:sha1:b766d584b36b78c96e9ef60ec927214c74ede4ab</id>
<content type='text'>
This change updates the cc crate to version 1.0.40.

Import subrepo cc/:cc at 6ad3da7558ec3ccb4dc9c2ed1487fc139469d41e
</content>
</entry>
</feed>
