Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 801499 - Approach Nitrokey for Nitrokey 3 upgrade
Summary: Approach Nitrokey for Nitrokey 3 upgrade
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Foundation
Classification: Unclassified
Component: Proposals (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Board of Trustees
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-10 19:46 UTC by Sam James
Modified: 2024-11-10 19:11 UTC (History)
10 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-07-10 19:46:57 UTC
The Nitrokey 3 is out soon (currently available for pre-orders) and contains:
* Larger key size support
* Various elliptic curves not available in the current Nitrokey
* USB-C (which is a nice convenience)

The current maximum key size is 2048 bits which is on the boundary / doesn't meet what's recommended for new RSA keys in 2021.

I'm personally interested in being able to use ed25519 for signing commits because, right now, my Nitrokey takes 2-3 seconds per commit - particularly painful when rebasing a large set of commits. mgorny made the point that the new curves give a far better security/speed tradeoff than currently available.

After discussion in #gentoo-trustees, a few of us were hoping the Foundation could approach Nitrokey and request that, as a substantial customer, we could have a possible pre-order portal. If not, consider this a request to make the new Nitrokeys available to Gentoo developers when they're released.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-07-10 20:35:29 UTC
A little correction: our Nitrokeys do support larger keys but every signature takes a few seconds, effectively making them practically impossible to use.  RSA2048 can be used but is annoyingly slow, and having EC25519-capable key would be a good thing given it's the only Curve we allow in the GLEP.

Given that they have problems procuring the hardware, I think issuing a group order may speed things up compared to individual orders.
Comment 3 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2021-07-10 20:42:45 UTC
looking at one of the '3' keys...

Additional functions such as one-time passwords, password manager and OpenPGP smart card may not be implemented at the time of delivery, but will be provided later via firmware updates.

So, I'd say we should wait
Comment 4 Arisu Tachibana Gentoo Infrastructure gentoo-dev 2021-07-12 03:01:19 UTC
Usually nitrokey as been constant in their delivery AFAIR
Comment 5 Arisu Tachibana Gentoo Infrastructure gentoo-dev 2021-11-10 11:31:28 UTC
@Matthew where did you find that text ? Looks like they already started to ship the nitrokey 3

"""
Status Update, 10/18/2021

The first Nitrokey 3C NFC were produced and shipped. Production and delivery of all pre-orders is expected to take several weeks. All pre-orderers will be informed via email as soon as their Nitrokeys have been shipped. Pre-orderers who will only be served from the next production batch will be informed via email in the next few weeks.
"""
Comment 6 Arisu Tachibana Gentoo Infrastructure gentoo-dev 2021-11-10 11:41:56 UTC
Looks like nitrokey decided to use a trussed based firmware https://trussed.dev/ 
https://github.com/Nitrokey/nitrokey-3-firmware
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-02 06:02:59 UTC
ping
Comment 8 Alec Warner (RETIRED) archtester gentoo-dev Security 2022-06-02 15:34:06 UTC
(In reply to Sam James from comment #7)
> ping

Robin recently chatted with them, they are adding the GPG support in the new key and I think the goal is to touch base with them in 3-6 once that support is ready. Currently the nitrokey3 only supports FIDO; but GPG support is coming.

-A
Comment 9 Alec Warner (RETIRED) archtester gentoo-dev Security 2022-06-02 17:58:41 UTC
(In reply to Alec Warner from comment #8)
> (In reply to Sam James from comment #7)
> > ping
> 
> Robin recently chatted with them, they are adding the GPG support in the new
> key and I think the goal is to touch base with them in 3-6 once that support
> is ready. Currently the nitrokey3 only supports FIDO; but GPG support is
> coming.
> 
> -A

Sorry, 3-6 *months*.

-A
Comment 10 James Le Cuirot gentoo-dev 2022-10-13 21:30:28 UTC
How about now?

https://www.nitrokey.com/blog/2022/openpgp-card-alpha-nitrokey-3

An alpha release, that's good enough for Gentoo, right? ;) More seriously, I think they're far along enough for us to at least start this process.
Comment 12 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-05-01 08:26:25 UTC
Should the Council be taking this over?
Comment 13 James Le Cuirot gentoo-dev 2024-05-01 20:15:37 UTC
Removing myself as I got a free YubiKey from work instead. :)
Comment 14 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2024-05-04 18:17:02 UTC
I have emailed the Nitrokey CEO about refreshing this offering.

Gentoo would cover
- 2 Nitrokeys per developer (pick 3A or 3C)
- shipping

Developers can add other Nitrokey shop products to the same order at their own cost (somebody once asked me for this, and I feel it helps improve the margins for Nitrokey to continue the arrangement).
Comment 15 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2024-05-12 19:49:06 UTC
(In reply to Robin Johnson from comment #14)
> I have emailed the Nitrokey CEO about refreshing this offering.
The Nitrokey CEO is looking into renewing, but nothing solid yet to report on.
Comment 16 Arisu Tachibana Gentoo Infrastructure gentoo-dev 2024-05-23 10:08:02 UTC
@Robbat2 thanks for looking into this
Comment 17 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2024-06-09 15:44:41 UTC
There's been no further updates from Nitrokey, but I do want to be ready for them.

soap,ulm,dilfridge:
Can you confirm you received the samples and there are no blockers you see based on the refreshed hardware itself?
Comment 18 Ulrich Müller gentoo-dev 2024-06-09 17:13:03 UTC
(In reply to Robin Johnson from comment #17)
> There's been no further updates from Nitrokey, but I do want to be ready for
> them.
> 
> soap,ulm,dilfridge:
> Can you confirm you received the samples and there are no blockers you see
> based on the refreshed hardware itself?

I've received the sample (Nitrokey 3C NFC) on 2024-06-03. Some comments on its mechanical build quality:

- Dimensions are 39.6 mm × 19.0 mm × 7.4 mm
- The case appears to be the same as for the old Nitrokey Pro and makes a somewhat cheap impression
- No protective cap for the plug (the old Nitrokey had one)

The 19.0 mm width and 7.4 mm height are larger than the maximum dimensions for a Type-C plug which are 12.35 mm × 6.5 mm (see Universal Serial Bus Type-C Cable and Connector Specification, Release 2.0, August 2019, Figure 3-3, https://www.usb.org/sites/default/files/USB%20Type-C%20Spec%20R2.0%20-%20August%202019.pdf).
In practice, this means that also the neighbouring USB-C port of my laptop is obstructed, even for a narrow plug.
Comment 19 James Le Cuirot gentoo-dev 2024-07-12 21:37:07 UTC
If port space is an issue, you could use an adapter to plug it into a USB-A port. Probably better than getting the USB-A model.

While all that's not great, I'd still like one. My v2 did come apart after some years, but I do carry it around everywhere. I put some tape around it and it's held together very well since. What's the alternative? We order YubiKeys instead?
Comment 20 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2024-07-12 23:32:50 UTC
(In reply to James Le Cuirot from comment #19)
> What's the alternative? We order YubiKeys instead?

Yes, that's what was discussed in the last council meeting.

19:47 <@dilfridge> motion: approach yubikey and try to establish a similar deal, yes no abstain
19:47 <@sam_> but hell, what does the freedom matter for a yubikey or nitrokey given you can't flash either?
19:47  * sam_ yes
19:47  * ulm no
19:47  * ajak yes
19:47  * soap yes
19:48  * dilfridge abstain
19:48  * mgorny yes
19:48 <@dilfridge> mattst88: ?
19:48  * ajak doesn't think a "similar deal" should be a prereq to establish a similar gentoo<->developer deal though
19:49 <@dilfridge> anyway, that's 4 yes, 1 no, 1 abstain, 1 missing, motion in all its vagueness carried
...
19:50  * mattst88 yes
19:50 <@mattst88> (sorry)
Comment 21 David Sardari 2024-08-06 07:03:51 UTC
If you get a YubiKey, a YuCase might be something to consider:
https://yu-case.com/

fyi, there is the old YuCase and the new "YuCase B+". I got the old one way back before the new one was available :)
Comment 22 Andreas K. Hüttel archtester gentoo-dev 2024-11-10 19:11:58 UTC
Not going anywhere.