Skip to content

[PM-40627] Remove pm-40201-derive-ssh-keys feature flag - #24298

Merged
jaasen-livefront merged 1 commit into
mainfrom
vault/pm-40627-remove-derive-ssh-keys-flag
Nov 4, 2026
Merged

jaasen-livefront merged 1 commit into
mainfrom
vault/pm-40627-remove-derive-ssh-keys-flag

Conversation

@jaasen-livefront

@jaasen-livefront jaasen-livefront commented Oct 30, 2026 •

Copy link
Copy Markdown
Collaborator

🎟️ Tracking

PM-40627

📔 Objective

Removes the pm-40201-derive-ssh-keys flag. SSH key items no longer require a public key or fingerprint on CLI create/edit; the SDK derives both from the private key on decrypt. The private key is still required.

  • Drops the flag from FeatureFlag and its default
  • Removes the allowDerivedSshKeys / allowDerivedKeys params from CipherExport.toView / SshKeyExport.toView along with the public key and fingerprint checks
  • Updates cipher.export.spec.ts to match

📸 Screenshots

N/A — CLI only

@jaasen-livefront jaasen-livefront added the t:tech-debt Change Type - Tech debt label Oct 30, 2026
@jaasen-livefront
jaasen-livefront marked this pull request as ready for review October 30, 2026 00:07
@jaasen-livefront
jaasen-livefront requested review from a team as code owners October 30, 2026 00:07
@github-actions

github-actions Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

🤖 Bitwarden Claude Code Review

Overall Assessment: APPROVE

This PR removes the pm-40201-derive-ssh-keys feature flag and its default value, drops the allowDerivedSshKeys / allowDerivedKeys parameters from CipherExport.toView and SshKeyExport.toView, and removes the public key and fingerprint checks. The private key is still required. No flag references remain in the codebase, and both remaining callers (CLI create and edit) match the new signatures. FeatureFlag and ConfigService are still used in create.command.ts, and the spec changes reflect the new behavior.

@codecov

codecov Bot commented Oct 30, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 50.00000% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 61.04%. Comparing base (96f157b) to head (f0218e6).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
apps/cli/src/vault/create.command.ts 0.00% 1 Missing ⚠️
libs/common/src/models/export/cipher.export.ts 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #24298      +/-   ##
==========================================
- Coverage   61.04%   61.04%   -0.01%     
==========================================
  Files        4874     4874              
  Lines      156243   156235       -8     
  Branches    25038    25033       -5     
==========================================
- Hits        95386    95378       -8     
  Misses      54309    54309              
  Partials     6548     6548              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@harr1424 harr1424 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes to Tools owned code look good

@jaasen-livefront
jaasen-livefront merged commit 9b7a524 into main Nov 4, 2026
178 of 188 checks passed
@jaasen-livefront
jaasen-livefront deleted the vault/pm-40627-remove-derive-ssh-keys-flag branch November 4, 2026 17:26
@djsmith85 djsmith85 added browser Browser Extension desktop Desktop Application cli CLI Application web t:flagged-code-removal Change Type - Remove feature flagged code, GA and likely also removing the previous default flow. and removed t:tech-debt Change Type - Tech debt labels Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

browser Browser Extension cli CLI Application desktop Desktop Application t:flagged-code-removal Change Type - Remove feature flagged code, GA and likely also removing the previous default flow. web

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants