Project

General

Profile

Actions

Idea #20241

closed

API server accepts modern SSH key types (elliptic curve/ecdsa/ed25519)

Added by Brett Smith almost 2 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
API
Start date:
04/20/2023
Due date:
Story points:
2.0
Release relationship:
Auto

Description

The API server validates SSH public 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.

We would like to support all the same key types as OpenSSH: dsa, ecdsa, ecdsa-sk, ed25519, ed25519-sk, rsa

Figure out what our options are for validating other public key types, and implement one.


Subtasks 1 (0 open1 closed)

Task #20324: Review 20241-validate-ssh-keysResolvedTom Clegg04/20/2023Actions

Related issues 1 (1 open0 closed)

Blocks Arvados - Feature #20224: Workbench 2 accepts modern SSH key types (elliptic curve/ecdsa/ed25519)NewActions
Actions

Also available in: Atom PDF