<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/nitrocli, branch v0.3.4</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.4</id>
<link rel='self' href='https://git.ireas.org/mirrors/nitrocli/atom?h=v0.3.4'/>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/'/>
<updated>2020-09-05T15:40:05Z</updated>
<entry>
<title>Bump version to 0.3.4</title>
<updated>2020-09-05T15:40:05Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2020-09-05T15:40:05Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=887f3cb9aab12b390ae9efe09c1ff7f972e51c35'/>
<id>urn:sha1:887f3cb9aab12b390ae9efe09c1ff7f972e51c35</id>
<content type='text'>
This change bumps the version of the crate to 0.3.4. The following
notable changes have been made since 0.3.3:
- Changed default OTP format from hex to base32
- Improved error reporting format and fidelity
  - Added anyhow dependency in version 1.0.32
- Updated minimum required Rust version to 1.42.0
- Bumped nitrokey dependency to 0.7.1
- Bumped proc-macro2 dependency to 1.0.19
- Bumped syn dependency to 1.0.36
</content>
</entry>
<entry>
<title>Remove warning for missing_copy_implementations lint</title>
<updated>2020-09-02T01:37:19Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2020-09-02T01:37:19Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=d75067e6606b69c1c868b64c0ae5e8e626c01dd7'/>
<id>urn:sha1:d75067e6606b69c1c868b64c0ae5e8e626c01dd7</id>
<content type='text'>
The missing_copy_implementations lint is arguably not super useful in an
application crate, where no third party is consuming the type
definitions. As such, this change removes it from the list of lints
causing warnings.
</content>
</entry>
<entry>
<title>Update syn and proc-macro2 dependencies</title>
<updated>2020-09-05T15:47:45Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2020-02-02T11:14:44Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=604123f6b43c1b80206d7c135ce41fe714242a0d'/>
<id>urn:sha1:604123f6b43c1b80206d7c135ce41fe714242a0d</id>
<content type='text'>
This change updates the syn dependency we consume to 1.0.36 and
proc-macro2 to 1.0.19.
</content>
</entry>
<entry>
<title>Remove application global Result definition</title>
<updated>2020-09-01T02:25:48Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2020-09-01T02:25:48Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=67ba96eb7d592ac7c09b2221420c6f706ac89a13'/>
<id>urn:sha1:67ba96eb7d592ac7c09b2221420c6f706ac89a13</id>
<content type='text'>
In the past we were using an application global custom Result type
definition. This makes less sense now that we switched over to using
anyhow's Error and Result types. We kept that for the time being, but
with this change we remove the type and use anyhow::Result instead.
</content>
</entry>
<entry>
<title>Remove no longer used error module</title>
<updated>2020-08-31T15:00:21Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2020-08-31T15:00:21Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=419ff8531c163200a5e7d21d4d0f7ac7ff8d25f8'/>
<id>urn:sha1:419ff8531c163200a5e7d21d4d0f7ac7ff8d25f8</id>
<content type='text'>
This change removes the error module. This module, and the Error type it
homes, are no longer used by the application, as everything has been
transitioned over to using anyhow's Error type.
</content>
</entry>
<entry>
<title>Remove no longer necessary msg parameter from try_with_* functions</title>
<updated>2020-08-29T15:50:42Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2020-08-29T15:50:42Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=25889f27e55813545430e37f0d1bb2e31c77f295'/>
<id>urn:sha1:25889f27e55813545430e37f0d1bb2e31c77f295</id>
<content type='text'>
With the move to using anyhow's Error type and adding contextual
information at the point where we bubble up errors, we no longer require
the 'msg' argument that is passed to the try_with_pin_* and authenticate
functions.
To that end, this change removes this parameter, concluding the switch
to using anyhow.
</content>
</entry>
<entry>
<title>Use anyhow for error handling</title>
<updated>2020-08-29T01:44:45Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2020-08-29T01:44:45Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=b605614e5b3dab828e4f33c300836deab421be34'/>
<id>urn:sha1:b605614e5b3dab828e4f33c300836deab421be34</id>
<content type='text'>
This patch changes our error handling approach from the ground up:
instead of having a globally used Error enum that contains variants for
all possible errors, we now use anyhow's Error type. This approach is
more dynamic (and not statically typed), but it allows for more fine
grained error messages and overall more user-friendly error reporting.
Overall it also is a net simplification. While we have one dynamic cast
now, in order to be able to handle erroneous password/PIN entries
correctly, that is considered a reasonable compromise.
</content>
</entry>
<entry>
<title>Update nitrokey dependency to 0.7.1</title>
<updated>2020-07-18T02:50:06Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2020-07-18T02:50:06Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=11344455b0629f989d8b78c27ed0e7d654fc74ef'/>
<id>urn:sha1:11344455b0629f989d8b78c27ed0e7d654fc74ef</id>
<content type='text'>
This change updates the nitrokey dependency we consume to 0.7.1. With
this version the crate's Error type got reworked slightly, allowing it
to implement Sync and Send. It furthermore no longer duplicates
information available through the source() method in its Display
implementation. Both these changes will enable us to switch over to
using the anyhow crate for error handling in nitrocli in the future.
</content>
</entry>
<entry>
<title>Update nitrokey-test dependency to 0.4.0</title>
<updated>2020-07-16T01:06:04Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2020-07-16T01:06:04Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=72628e1f12a2da09d4c5fca902e1fb16c494796d'/>
<id>urn:sha1:72628e1f12a2da09d4c5fca902e1fb16c494796d</id>
<content type='text'>
This change updates the nitrokey-test development dependency to 0.4.0.
</content>
</entry>
<entry>
<title>Update minimum required Rust version to 1.42.0</title>
<updated>2020-07-10T18:03:47Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2020-07-10T18:03:47Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/nitrocli/commit/?id=4b1c3223f5181bb9ef29dc7b15040e7c05ff5d01'/>
<id>urn:sha1:4b1c3223f5181bb9ef29dc7b15040e7c05ff5d01</id>
<content type='text'>
This change updates the minimum required version of Rust to 1.42.0. We
will need this version in order to make use of the most recent version
of nitrokey-test.
</content>
</entry>
</feed>
