Bug 2271402

Summary: ssh-askpass missing when using pkcs11: as IdentityFile in .ssh/config
Product: [Fedora] Fedora Reporter: Ralf Schneider <ralf.schneider>
Component: fuse-sshfsAssignee: Peter Lemenkov <lemenkov>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 39CC: lemenkov, rjones, vascom2
Target Milestone: ---Keywords: Desktop
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
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:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-04-05 02:36:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.