Bug 2271402 - ssh-askpass missing when using pkcs11: as IdentityFile in .ssh/config
Summary: ssh-askpass missing when using pkcs11: as IdentityFile in .ssh/config
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: fuse-sshfs
Version: 39
Hardware: Unspecified
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Peter Lemenkov
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-03-25 13:07 UTC by Ralf Schneider
Modified: 2024-04-19 21:23 UTC (History)
3 users (show)

Fixed In Version: fuse-sshfs-3.7.3-9.fc39 fuse-sshfs-3.7.3-9.fc40
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-04-05 02:36:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ralf Schneider 2024-03-25 13:07:15 UTC
When trying to do a mount via sshfs with having the option 

IdentityFile pkcs11:

activated in .ssh/config to do a public / private key authentication via smartcard the -v option tells

ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or directory
login failed
pkcs11_get_key failed

and the password for the server is requested.


Reproducible: Always

Steps to Reproduce:
1. Configure public / private key authentication for ssh via smartcard
2. Activate -i pkcs11: option for ssh via .ssh/config as default
3. Install sshfs
4. Try to mount a remote file system 
Actual Results:  
Private key is not taken from smartcard and password is requested

Expected Results:  
Ask for smartcard pin and get private key from smartcard.

When installing openssh-askpass everything works as expected so I think this should be added as a dependency to the sshfs package.

Comment 1 Richard W.M. Jones 2024-03-25 13:48:58 UTC
Does this have anything to do with fuse-sshfs?

Comment 2 Richard W.M. Jones 2024-03-25 13:49:30 UTC
OK I read a bit further, I see that it does, ignore comment 1.

Comment 3 Fedora Update System 2024-03-25 14:28:22 UTC
FEDORA-2024-58e1aeec1b (fuse-sshfs-3.7.3-8.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-58e1aeec1b

Comment 4 Fedora Update System 2024-03-25 14:28:22 UTC
FEDORA-2024-cd558650b6 (fuse-sshfs-3.7.3-8.fc39) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-cd558650b6

Comment 5 Fedora Update System 2024-03-26 01:11:50 UTC
FEDORA-2024-cd558650b6 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-cd558650b6`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-cd558650b6

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2024-03-26 01:20:36 UTC
FEDORA-2024-58e1aeec1b has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-58e1aeec1b`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-58e1aeec1b

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2024-03-28 02:11:01 UTC
FEDORA-2024-1a5053a02c has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-1a5053a02c`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-1a5053a02c

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2024-03-28 02:19:07 UTC
FEDORA-2024-029efc3056 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-029efc3056`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-029efc3056

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2024-04-05 02:36:25 UTC
FEDORA-2024-1a5053a02c (fuse-sshfs-3.7.3-9.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2024-04-19 21:23:35 UTC
FEDORA-2024-029efc3056 (fuse-sshfs-3.7.3-9.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.