Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssh-keygen -Y sign didn't produce correct signature. #2300

Open
3 tasks done
hanyuwei70 opened this issue Nov 12, 2024 · 0 comments
Open
3 tasks done

ssh-keygen -Y sign didn't produce correct signature. #2300

hanyuwei70 opened this issue Nov 12, 2024 · 0 comments

Comments

@hanyuwei70
Copy link

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest version
  • Search the existing issues.

Steps to reproduce

Creating new ed25519 key pair: ssh-keygen -t ed25519 -f test
Signing with some random text: ssh-keygen -Y sign -f test -n file test.txt
After putting test.pub to .ssh/allowed_signer , verify signature: type test.txt|ssh-keygen -Y verify -f .\.ssh\allowed_signer -n file -I t2 -s test.txt.sig
Got wrong signature:

Signature verification failed: incorrect signature
Could not verify signature.

Expected behavior

Should verify this signature

Actual behavior

got wrong signature.

Error details

No response

Environment data

Name                           Value
----                           -----
PSVersion                      5.1.22621.4249
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.22621.4249
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Version

OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2

Visuals

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants