Summary #
Valid RSA SSH commit signatures are not recognized by Tangled’s current verifier. This appears to be a regression from the legacy Go implementation.
Reproduction #
- Register an RSA public key in Settings → SSH Keys, allowing signing.
- Sign and push a commit using that key.
- Open the commit on Tangled.
Expected: The commit is marked verified.
Actual: No verified signature is displayed.
Example: a8ebd4e739a72e04a7ab2878f91a3aaea897b40e.
Evidence #
- Local
git verify-commitsuccessfully verifies the example commit. - GitHub’s API reports
verified: true,reason: "valid"for the same commit. - Tangled’s API returns the matching registered RSA key, and the committer email resolves to the correct account.
- Tangled’s commit API omits the signature result for this RSA commit, while returning a signature fingerprint for an ED25519-SK commit in the same repository. (I have since removed my ED25519-SK from my account as I prefer using my other key)
An isolated reproduction using the actual commit payloads and ssh-key = 0.7.0-rc.10 produced:
| Configuration | RSA | ED25519-SK |
|---|---|---|
| knotmirror’s configured features | AlgorithmUnsupported |
Verifies |
Same features plus rsa |
Verifies | Verifies |
The legacy Go verification code also successfully verifies the same RSA commit.
Likely cause #
Commit 8d8ba08f, dated October 30, 2026, introduced knotmirror’s signature verification with:
default-features = false
features = ["std", "ed25519", "p256", "p384", "p521"]
The rsa feature is absent. Verification errors are silently converted into an absent signature result by:
key.verify("git", &payload, &signature).ok()?;
If this is intentional, I understand, but if so, the user needs to be made aware of this when adding an RSA key to their account.
@boltless.me I was able to open a PR for this https://tangled.org/tangled.org/core/pulls/4895