Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

[BUG] git authentication with secondary openkeychain key is never tried #1189

Closed
@zanona

Description

@zanona

Describe the bug (Following up #482 (comment))

By having my primary key + authentication subkey A on a smart card and another authentication subkey B (generated by the same primary key), stored on my device, causes an issue where only subkey A is attempted while subkey B never gets tried. Unless subkey A is removed.

I believe that the issue may have to do with the fact that the prompt allows the user to select only a default key instead of a specific authentication key.

To Reproduce
Steps to reproduce the behavior:

  1. Having openkeychain containing primary key + auth subkey A on YubiKey and private auth subkey B stored on the device
  2. Starting on PasswordStore fresh installation add a new repo details
  3. A prompt for selecting the authentication key is displayed (notice that it only shows 1 checkbox instead of 2 related to subkey A and subkey B)
  4. Select the available key
  5. Password store asks for scanning Yubikey for authenticating instead of using subkey B which is on the device

Expected behavior
I would expect that subkey B is used for SSH authentication.

Device information (please complete the following information):

  • Device: Samsung Galaxy S10e
  • OS: stock ROM Android version 10
  • App version 1.13.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-PGPArea: OpenKeychain-backed PGPA-authArea: Connection and authenticationC-bugCategory: This is a bugP-mediumPriority: medium

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions