Skip to content

feat(cli): cryptography pure-python asymmetric key management & hardware token authentication research #322

Closed

Description

@dan-petty

Context & Rationale

SSH key generation and TLS certificate management currently shell out to external ssh-keygen, ssh-keyscan, and openssl binaries, creating cross-platform portability and error handling issues.

Scope & Deliverables

  • Context & Rationale*: SSH key generation and TLS certificate management currently shell out to external ssh-keygen, ssh-keyscan, and openssl binaries, creating cross-platform portability and error handling issues.
  • Deep Integration & Functional Extension*: Pure Python cryptographic operations using cryptography for Ed25519/RSA key generation, X.509 certificate authority creation, and TLS cert validation with zero OpenSSL subprocess dependency; native SSH agent client integration via async SSH sockets; hardware token (FIDO2/PKCS#11) inspection.
  • Code Optimization & Performance Acceleration*: Eliminate external OpenSSL / OpenSSH binary dependencies for key generation and certificate verification; eliminate subprocess spawn overhead during batch key validation; improve cryptographic auditability.
  • Refactoring Potential & Legacy Elimination*: Refactor src/devops_cli/ssh/ and src/devops_cli/tls/ into a consolidated, audited cryptographic service layer; remove legacy subprocess wrappers and temporary file staging.

Strategic Alignment

  • Milestone: v0.2.22 (Deep Subsystem Integration, Architectural Optimization & Extensible Refactoring)
  • Roadmap Reference: docs/ROADMAP.md

Activity

  1. added this to the v0.2.22 milestone on Sep 19, 2026
  2. added
    type/feature
    scope/cli
    priority/p2-medium
    on Sep 19, 2026
  3. dan-petty commented on Sep 21, 2026

    @dan-petty
    OwnerAuthor

    Closed by #364, merged into release/v0.2.22.

    GitHub only acts on closing keywords when a pull request merges into the default branch, so this was closed by devops gh issues close-merged.

  4. added a commit that references this issue on Sep 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority/p2-mediumscope/clitype/feature

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions