-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Description
When SSH-ed into a remote host that uses GCM with Secret Service API, authentication fails with this message:
fatal: Cannot use the 'secretservice' credential backing store without a graphical interface present.
See https://aka.ms/gcm/credstores for more information.
The linked docs provides the following justification:
A graphical user interface is required in order to show a secure prompt to request a secret collection be unlocked.
But this does not take into account that maybe the keyring is already unlocked by other means. The user could:
- Also have a graphical login separate from the SSH instance.
- Or configured the provider to unlock over SSH.
... the first one being my use case.
Indeed running lssecret in the SSH session confirms that the keyring is already unlocked and accessible. That means GCM's refusal to proceed is overly restrictive.
Versions
Arch Linux x86_64
GCM 2.6.1+786ab03440ddc82e807a97c0e540f5247e44cec6
Metadata
Metadata
Assignees
Labels
No labels