Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSH Key Usage - "Unknown Application" Popup #14138

Open
1 task done
navtoj opened this issue Apr 5, 2025 · 2 comments · May be fixed by #13995
Open
1 task done

SSH Key Usage - "Unknown Application" Popup #14138

navtoj opened this issue Apr 5, 2025 · 2 comments · May be fixed by #13995
Labels
bug desktop Desktop Application

Comments

@navtoj
Copy link

navtoj commented Apr 5, 2025

Steps To Reproduce

  1. Go to 'Terminal'
  2. Run a command that uses SSH key from Bitwarden.
  3. Go to 'Confirm SSH key usage' dialog.
  4. Click on 'Authorize' to allow "Unknown application".
  5. Run the command that uses SSH key from Bitwarden, again.
  6. Popup appears again :(

Expected Result

Bitwarden should NOT ask me to give access every single time I run the command.

Actual Result

Bitwarden asks me to give access every single time I run the command.

Screenshots or Videos

Screen.Recording.2025-04-04.at.5.22.22.PM.mov

Additional Context

const dialogRef = ApproveSshRequestComponent.open(

export class ApproveSshRequestComponent {
approveSshRequestForm = this.formBuilder.group({});
constructor(
@Inject(DIALOG_DATA) protected params: ApproveSshRequestParams,
private dialogRef: DialogRef<boolean>,
private formBuilder: FormBuilder,
) {}
static open(
dialogService: DialogService,
cipherName: string,
applicationName: string,
isAgentForwarding: boolean,
namespace: string,
) {
let actioni18nKey = "sshActionLogin";
if (namespace === "git") {
actioni18nKey = "sshActionGitSign";
} else if (namespace != null && namespace != "") {
actioni18nKey = "sshActionSign";
}
return dialogService.open<boolean, ApproveSshRequestParams>(ApproveSshRequestComponent, {
data: {
cipherName,
applicationName,
isAgentForwarding,
action: actioni18nKey,
},
});
}
submit = async () => {
this.dialogRef.close(true);
};
}

<form [bitSubmit]="submit" [formGroup]="approveSshRequestForm">
<bit-dialog>
<div class="tw-font-semibold" bitDialogTitle>{{ "sshkeyApprovalTitle" | i18n }}</div>
<div bitDialogContent>
<app-callout
type="warning"
title="{{ 'agentForwardingWarningTitle' | i18n }}"
*ngIf="params.isAgentForwarding"
>
{{ 'agentForwardingWarningText' | i18n }}
</app-callout>
<b>{{params.applicationName}}</b> {{ "sshkeyApprovalMessageInfix" | i18n }}
<b>{{params.cipherName}}</b>
{{ "sshkeyApprovalMessageSuffix" | i18n }} {{ params.action | i18n }}
</div>
<ng-container bitDialogFooter>
<button type="submit" bitButton bitFormButton buttonType="primary">
<span>{{ "authorize" | i18n }}</span>
</button>
<button type="button" bitButton bitFormButton buttonType="secondary" bitDialogClose>
{{ "deny" | i18n }}
</button>
</ng-container>
</bit-dialog>
</form>

Operating System

macOS

Operating System Version

14.7.4 (23H420)

Installation method

Mac App Store

Build Version

2025.3.0 (39877)

Issue Tracking Info

  • I understand that work is tracked outside of GitHub. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.
@navtoj navtoj added bug desktop Desktop Application labels Apr 5, 2025
@S-Kakar
Copy link

S-Kakar commented Apr 5, 2025

Thank you for reporting this issue! We've added this to our internal tracking system.
ID: PM-19910

@navtoj
Copy link
Author

navtoj commented Apr 5, 2025

@S-Kakar This might be an easier way to reproduce the issue.

Screen.Recording.2025-04-04.at.5.57.40.PM.mov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug desktop Desktop Application
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants