Project

General

Profile

Actions

Bug #6601

open

[API] Do not accept an empty SSH key as valid

Added by Brett Smith over 8 years ago. Updated 27 days ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
API
Target version:
Story points:
0.5
Release:
Release relationship:
Auto

Description

When a user creates a new AuthorizedKey, the API server validates that the key represents real key material, to help avoid problems where a typo or mis-paste prevents the key from working.

The validation currently allows an empty public key as valid. This should be prohibited: it makes no more sense than having a malformed public key.

Actions

Also available in: Atom PDF