Project

General

Profile

Actions

Story #20224

open

Workbench 2 accepts modern SSH key types (elliptic curve/ecdsa/ed25519)

Added by Brett Smith 23 days ago. Updated 17 days ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
Workbench2
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Story points:
0.5

Description

I'm not sure where this limitation originates from, but Workbench 2 doesn't want to accept my elliptic curve key:

Arvados should support all the same key types as OpenSSH: dsa, ecdsa, ecdsa-sk, ed25519, ed25519-sk, rsa

simple solution is to just relax the regular expression to accept any token [a-z0-9-]+


Files

clipboard-202303091417-0gc9t.png (42.5 KB) clipboard-202303091417-0gc9t.png Brett Smith, 03/09/2023 07:17 PM

Related issues

Blocked by Arvados - Story #20241: API server accepts modern SSH key types (elliptic curve/ecdsa/ed25519)New

Actions
Actions #1

Updated by Peter Amstutz 18 days ago

  • Story points set to 0.5
  • Description updated (diff)
Actions #2

Updated by Peter Amstutz 18 days ago

  • Target version changed from To be groomed to To be scheduled
Actions #3

Updated by Brett Smith 18 days ago

The API server has an analogous limit, it only accepts RSA and DSA keys. See public_key_must_be_unique in services/api/app/models/authorized_key.rb.

This validation uses the sshkey gem which claims to only support RSA and DSA keys.

So, in order for Arvados to actually accept modern keys we need to figure that out too.

Actions #4

Updated by Brett Smith 17 days ago

  • Category set to Workbench2
Actions #5

Updated by Brett Smith 17 days ago

  • Subject changed from Accept modern SSH key types (elliptic curve/ecdsa/ed25519) to Workbench 2 accepts modern SSH key types (elliptic curve/ecdsa/ed25519)
Actions #6

Updated by Brett Smith 17 days ago

  • Blocked by Story #20241: API server accepts modern SSH key types (elliptic curve/ecdsa/ed25519) added
Actions

Also available in: Atom PDF