Monorepo for Tangled tangled.org

RSA-signed commits fail verification in knotmirror #4880

Open ethanholz.com
Open opened by ethanholz.com
assigned to boltless.me

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 #

  1. Register an RSA public key in Settings → SSH Keys, allowing signing.
  2. Sign and push a commit using that key.
  3. Open the commit on Tangled.

Expected: The commit is marked verified.

Actual: No verified signature is displayed.

Example: a8ebd4e739a72e04a7ab2878f91a3aaea897b40e.

Evidence #

  • Local git verify-commit successfully 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.

Sign up or Sign in to add to the discussion.