<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nitrocli, branch otp-cache</title>
<subtitle>Robin Krahl's fork of nitrocli</subtitle>
<id>https://git.ireas.org/nitrocli/atom?h=otp-cache</id>
<link rel='self' href='https://git.ireas.org/nitrocli/atom?h=otp-cache'/>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrocli/'/>
<updated>2020-08-27T11:13:54Z</updated>
<entry>
<title>Add otp-cache extension</title>
<updated>2020-08-27T11:13:54Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2020-08-27T11:13:54Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrocli/commit/?id=446e78b95a2d2b74afb9ab7c39bf135ee5e8ab32'/>
<id>urn:sha1:446e78b95a2d2b74afb9ab7c39bf135ee5e8ab32</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Introduce support for user-provided extensions</title>
<updated>2020-08-26T02:04:50Z</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/nitrocli/commit/?id=223c8484f727451d15ad23ffb0133a1858b56b5c'/>
<id>urn:sha1:223c8484f727451d15ad23ffb0133a1858b56b5c</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>Update structopt dependency to 0.3.17</title>
<updated>2020-08-26T05:29:43Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2020-08-26T05:29:43Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrocli/commit/?id=c2a9d31ee70ddae22ea410a383a094b7842e50fd'/>
<id>urn:sha1:c2a9d31ee70ddae22ea410a383a094b7842e50fd</id>
<content type='text'>
This change updates the structopt crate to version 0.3.13. We need this
version as it fixes a compilation error [0] when using the
external_subcommand enum variant annotation provided by the crate. This
functionality will be used in a follow up change that enables usage of
user provided extensions.

[0]: https://github.com/TeXitoi/structopt/issues/424
</content>
</entry>
<entry>
<title>Introduce builder infrastructure for assembling Nitrocli instance</title>
<updated>2020-08-25T01:04:20Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2020-08-25T01:04:20Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrocli/commit/?id=b114125dfbb4c97580ae076c07c6816ccdca51b8'/>
<id>urn:sha1:b114125dfbb4c97580ae076c07c6816ccdca51b8</id>
<content type='text'>
In the future we would like to provide more ways for tests to create a
Nitrocli instance. In order to prevent explosion of with_XXX methods for
each possible combination of arguments, this change introduces a Builder
struct that can be used to create such an instance in an idiomatic way.
</content>
</entry>
<entry>
<title>Change default OTP format to base32</title>
<updated>2020-07-08T00:35:50Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2020-07-08T00:35:50Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrocli/commit/?id=147d01663f9b95c6819d3c6afe8694cd291dbc3d'/>
<id>urn:sha1:147d01663f9b95c6819d3c6afe8694cd291dbc3d</id>
<content type='text'>
An arguably unrepresentative survey of services (GitHub, Google
Authenticator, and Bitbucket) seems to suggests that the base32 format
is the de-facto standard format for OTP secrets. Given that it's not
necessarily obvious what format a secret is in and that most services
refrain from mentioning it explicitly, having the correct default format
is fairly important.
With this change we switch the default format from hexadecimal to
base32 to accommodate for this finding.
</content>
</entry>
<entry>
<title>Fix binary-sizes.py script</title>
<updated>2020-07-26T21:42:22Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2020-07-05T21:35:14Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrocli/commit/?id=3f62110dc0a0f9ee107643419b027a94427a5530'/>
<id>urn:sha1:3f62110dc0a0f9ee107643419b027a94427a5530</id>
<content type='text'>
A while back we removed the nitrocli/ directory in the repository root.
Unfortunately, we missed that the binary-sizes.py script relied on the
previous directory structure. This change adjusts the script to work
with the new structure.
</content>
</entry>
<entry>
<title>Correctly use doc comments in macros</title>
<updated>2020-07-03T15:30:57Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2020-07-03T15:30:57Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrocli/commit/?id=6dd0dafdd53b990cfba79529a36352e11fe0385e'/>
<id>urn:sha1:6dd0dafdd53b990cfba79529a36352e11fe0385e</id>
<content type='text'>
Our custom macros for conveniently creating types with additional meta
information for working with structopt do not actually use the doc
comments we have in place -- these comments are solely for in-source
documentation. We are an application and as such crates.io will not
automatically generate documentation.
All of that does not deter rustc from complaining that doc comments are
unused. In the past we tried to fudge that by adding a special
allowance, #[allow(unused_doc_comments)], but that seems to have seized
to work.
With this change we finally give in and move the doc comment into the
macro itself, where it will be used to annotate the generated type. This
step should hopefully silence rustc once and for all -- at the expense
of a slight decrease in readability.
</content>
</entry>
<entry>
<title>Bump version to 0.3.3</title>
<updated>2020-04-19T17:23:33Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2020-04-19T17:23:33Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrocli/commit/?id=98855d442d70dc8ba40c1eb646132be43761c423'/>
<id>urn:sha1:98855d442d70dc8ba40c1eb646132be43761c423</id>
<content type='text'>
This change bumps the version of the crate to 0.3.3. The following
notable changes have been made since 0.3.2:
- Added bash completion support via shell-complete utility program
- Updated minimum required Rust version to 1.40.0
- Converted Cargo.lock to new lock file format
- Bumped libc dependency to 0.2.69
- Bumped structopt dependency to 0.3.13
- Bumped various transitive dependencies to most recent versions
</content>
</entry>
<entry>
<title>Convert Cargo.lock to new lock file format</title>
<updated>2020-04-16T16:24:59Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2020-04-16T16:24:59Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrocli/commit/?id=7db5473703f3bda478441866101919865d16d902'/>
<id>urn:sha1:7db5473703f3bda478441866101919865d16d902</id>
<content type='text'>
Since version 1.38.0 of Rust, Cargo has built in support for a new lock
file format that aims at reducing merge conflicts of unrelated changes.
Given that we require an even more recent version of Rust, it seems safe
to switch over to this new format (which by now is the default for new
projects anyway).
This patch changes the format of Cargo.lock accordingly.
</content>
</entry>
<entry>
<title>Update transitive nitrokey dependencies</title>
<updated>2020-04-15T16:22:22Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2020-04-15T16:22:22Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrocli/commit/?id=ddeab1e16257403192ebfa2337078bfacb8b1428'/>
<id>urn:sha1:ddeab1e16257403192ebfa2337078bfacb8b1428</id>
<content type='text'>
This change updates transitive dependencies of the nitrokey crate to
their most recent versions.
</content>
</entry>
</feed>
