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

Sign and verify #51

Open
jasny opened this issue May 17, 2022 · 0 comments
Open

Sign and verify #51

jasny opened this issue May 17, 2022 · 0 comments

Comments

@jasny
Copy link
Member

jasny commented May 17, 2022

echo "Some message" | lto sign

The sign method outputs a base58 encoded signature.

echo "Some message" | lto verify --signature "BASE58 encoded signature"

The verify methods exits with 0 (no error) and without any output if verified successfully.
If the signature isn't valid, exit with 1 and output "invalid signature" to stdout.

@jasny jasny changed the title Sign an verify Sign and verify Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant