Skip to content

Allow to upload encrypted private keys for client cert credentials - #5549

Merged
greenbonebot merged 3 commits into
mainfrom
encrypted-private-key
Aug 24, 2026
Merged

Allow to upload encrypted private keys for client cert credentials#5549
greenbonebot merged 3 commits into
mainfrom
encrypted-private-key

Conversation

@bjoernricks

Copy link
Copy Markdown
Contributor

What

Allow to upload encrypted private keys for client cert credentials

Why

There are two kinds of private keys for client certificate credentials. Encrypted and unencrypted. Only the encrypted keys need a passphrase to be able to decrypted them. Therefore change the dialog to allow uploading both private key formats and only to enable the passphrase field for encrypted private keys.

References

Requires greenbone/gsad#445 for unencrypted private keys in client certificate credentials.
https://jira.greenbone.net/browse/GEA-1983

Checklist

  • Tests

@github-actions

github-actions Bot commented Aug 21, 2026

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA 13b851e.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

Scanned Files

None

Allow to display a tooltip for further information about a password
field.
…tials

There are two kinds of private keys for client certificate credentials.
Encrypted and unencrypted. Only the encrypted keys need a passphrase to
be able to decrypted them. Therefore change the dialog to allow
uploading both private key formats and only to enable the passphrase
field for encrypted private keys.
@bjoernricks
bjoernricks force-pushed the encrypted-private-key branch from 3200f7a to e2f6d91 Compare August 21, 2026 12:31
@bjoernricks
bjoernricks marked this pull request as ready for review August 21, 2026 12:32
@bjoernricks
bjoernricks requested a review from a team as a code owner August 21, 2026 12:32
@greenbonebot
greenbonebot enabled auto-merge (rebase) August 21, 2026 12:32
@codecov

codecov Bot commented Aug 21, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 92.00000% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.25%. Comparing base (a5dbd06) to head (13b851e).
⚠️ Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
src/web/pages/credentials/CredentialDialog.tsx 92.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5549      +/-   ##
==========================================
+ Coverage   84.22%   84.25%   +0.03%     
==========================================
  Files        1294     1294              
  Lines       33807    33817      +10     
  Branches    10079    10117      +38     
==========================================
+ Hits        28473    28494      +21     
+ Misses       4785     4781       -4     
+ Partials      549      542       -7     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment thread public/locales/gsa-it.json Outdated
Comment thread public/locales/gsa-it.json Outdated
Co-authored-by: Daniele Mangiagli <daniele.mangiagli@greenbone.net>
@greenbonebot
greenbonebot merged commit bc507ec into main Aug 24, 2026
23 checks passed
@greenbonebot
greenbonebot deleted the encrypted-private-key branch August 24, 2026 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants