PowerShell / PowerShell/Win32-OpenSSH

Add Support of fido based algorithms in sshd ( OpenSSH Server)

Open
#2,237 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-sshd Issue-Enhancement
Dominant language
No language data
Stars
8.3k
Forks
819
PR merge metrics
No merged PRs in 30d

Description

Discussed in https://github.com/PowerShell/Win32-OpenSSH/discussions/2236

Originally posted by forrest96 June 2, 2024
Could you add support for FIDO-backed public key authentication in the OpenSSH Server (sshd)?
This includes the following algorithms:

  • sk-ssh-ed25519-cert-v01@openssh.com
  • sk-ecdsa-sha2-nistp256-cert-v01@openssh.com
  • sk-ssh-ed25519@openssh.com
  • sk-ecdsa-sha2-nistp256@openssh.com

The implementation should be straightforward.

Please add the following configurations to sshd_config to indicate the supported implementations:

  • PubkeyAuthOptions

  • PubkeyAcceptedAlgorithms
    ssh-ed25519-cert-v01@openssh.com,
    ecdsa-sha2-nistp256-cert-v01@openssh.com,
    ecdsa-sha2-nistp384-cert-v01@openssh.com,
    ecdsa-sha2-nistp521-cert-v01@openssh.com,
    sk-ssh-ed25519-cert-v01@openssh.com,
    sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,
    rsa-sha2-512-cert-v01@openssh.com,
    rsa-sha2-256-cert-v01@openssh.com,
    ssh-ed25519,
    ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,
    sk-ssh-ed25519@openssh.com,
    sk-ecdsa-sha2-nistp256@openssh.com,
    rsa-sha2-512,rsa-sha2-256

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files or tests. Start by locating sshd's public-key authentication and sshd_config handling for PubkeyAuthOptions and PubkeyAcceptedAlgorithms, then trace how the listed FIDO algorithms are recognized. Done means the requested algorithms and configuration options are supported by the Windows OpenSSH server and covered by appropriate existing authentication or configuration checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
authentication, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.