5
166
Fork
You've already forked Gitte
16

Flatpak issue: SSH login with WebAuthN tokens (e.g. Yubikey) fails #143

Open
opened 2026年06月16日 17:02:59 +02:00 by binderb · 4 comments

Using WebAuthN tokens for SSH login currently fails with an error (e.g. after pulling):

ssh_msg_recv: read header: Connection reset by peer: client_converse: receive: unexpected internal error- reap_helper: helper exited with non-zero exit status. sign_and_send_pubkey: signing failed for ED25519-SK ...

Unfortunately I wasn't able to find the logs of gitte, journald doesn't report anything.

System:
Fedora 44 Cosmic (Wayland)
Linux 7.0.12-201.fc44.x86_64
Gitte 0.6.1 (Flatpak de.wwwtech.gitte)

SSH-config:

Host *
	IdentityFile ~/.ssh/token
	IdentityAgent=none
	SetEnv TERM=xterm-256color

My token is a Yubikey 5.

Anecdotal evidence: Other flatpak tool (zed) was able to access the key.

Using WebAuthN tokens for SSH login currently fails with an error (e.g. after pulling): ``` ssh_msg_recv: read header: Connection reset by peer: client_converse: receive: unexpected internal error- reap_helper: helper exited with non-zero exit status. sign_and_send_pubkey: signing failed for ED25519-SK ... ``` Unfortunately I wasn't able to find the logs of gitte, journald doesn't report anything. System: Fedora 44 Cosmic (Wayland) Linux 7.0.12-201.fc44.x86_64 Gitte 0.6.1 (Flatpak de.wwwtech.gitte) SSH-config: ``` Host * IdentityFile ~/.ssh/token IdentityAgent=none SetEnv TERM=xterm-256color ``` My token is a Yubikey 5. Anecdotal evidence: Other flatpak tool (zed) was able to access the key.

Zed has all sandboxing disabled :P

I‘m pretty sure Gitte is missing the permissions. Can you try setting them?

flatpak override --user --device=usb de.wwwtech.gitte

That should be the right permission

Zed has all sandboxing disabled :P I‘m pretty sure Gitte is missing the permissions. Can you try setting them? ``` flatpak override --user --device=usb de.wwwtech.gitte ``` That *should* be the right permission
Author
Copy link

Thank you so much for the quick response.

Unfortunately this wasn't it. Error message stays the same.

I also tried to add socket=pcsd (used by some YubiKey tools) and socket=gpg-agent and device=input to the allow-list, all didn't help either.

Even allowing device=all and allowing all sockets didn't help.

For reference I tried using regular git on CLI, access to the token was possible.

Thank you so much for the quick response. Unfortunately this wasn't it. Error message stays the same. I also tried to add `socket=pcsd` (used by some YubiKey tools) and `socket=gpg-agent` and `device=input` to the allow-list, all didn't help either. Even allowing `device=all` and allowing all sockets didn't help. For reference I tried using regular git on CLI, access to the token was possible.
Author
Copy link

https://github.com/flatpak/flatpak/issues/4723 and https://github.com/flatpak/flatpak/issues/4066#issuecomment-1034040834 seem to indicate this is a bigger issue, probably only on Fedora (https://bugzilla.redhat.com/show_bug.cgi?id=2054826).

It seems there is no proper pcs-protocol between host and container, which would facilitate bridging different versions of pcslite packages.
I built the example application and wasn't able to access my token in there too.

Seems we have to wait until flatpak/Fedora get this sorted out :(

I'm very sorry for taking up your time 😟

https://github.com/flatpak/flatpak/issues/4723 and https://github.com/flatpak/flatpak/issues/4066#issuecomment-1034040834 seem to indicate this is a bigger issue, probably only on Fedora (https://bugzilla.redhat.com/show_bug.cgi?id=2054826). It seems there is no proper pcs-protocol between host and container, which would facilitate bridging different versions of pcslite packages. I built the example application and wasn't able to access my token in there too. Seems we have to wait until flatpak/Fedora get this sorted out :( I'm very sorry for taking up your time 😟

Oh, interesting. Thank you for investigating.

I will keep this issue open for tracking purposes.

Oh, interesting. Thank you for investigating. I will keep this issue open for tracking purposes.
ckruse changed title from (削除) Bug: SSH login with WebAuthN tokens (e.g. Yubikey) fails (削除ここまで) to Flatpak issue: SSH login with WebAuthN tokens (e.g. Yubikey) fails 2026年07月01日 15:57:57 +02:00
Sign in to join this conversation.
No Branch/Tag specified
main
next
0.8.1
0.8.0
0.7.2
0.7.1
0.7.0
0.6.1
0.6.0
0.5.0
0.4.1
0.4.0
0.3.0
0.2.0
0.1.10
0.1.9
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ckruse/Gitte#143
Reference in a new issue
ckruse/Gitte
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?