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

gosop inline-sign fails with "Unsupported option" #19

Open
dkg opened this issue Jul 3, 2023 · 4 comments
Open

gosop inline-sign fails with "Unsupported option" #19

dkg opened this issue Jul 3, 2023 · 4 comments

Comments

@dkg
Copy link

dkg commented Jul 3, 2023

I'm running this test on debian testing:

0 dkg@alice:~$ gosop inline-sign
Please provide keys to create detached signature
69 dkg@alice:~$ gosop version --extended
gosop 0.1.0
GopenPGP 2.5.2
Compiled using go1.20.5
0 dkg@alice:~$ echo test | gosop inline-sign tester.key
Unsupported option
37 dkg@alice:~$ 
@dkg
Copy link
Author

dkg commented Jul 3, 2023

gosop inline-sign appears to work if i pass it --as=clearsigned though.

@lubux
Copy link
Contributor

lubux commented Jul 4, 2023

Hi DKG. Thanks for the issue. The gosop implementation on the main branch currently does not support inline signatures (except clearsigned). Nevertheless, an updated version 3 of GopenPGP is currently in development and the gosop-gopenpgp-v3 branch in this repo implements gosop with the new version. It implements most of the latest api in draft-dkg-openpgp-stateless-cli-06 and implements all the crypto-refresh features as well. Feel free to try this version ;)

@dkg
Copy link
Author

dkg commented Jul 6, 2023

@lubux thanks for this! I've encouraged the openpgp interop test suite to include gosop-v3. You might want to comment over there if there's a specific tag or branch label that you'd like the interop test suite to pull from.

@lubux
Copy link
Contributor

lubux commented Jul 10, 2023

Great. Pulling from the gosop-gopenpgp-v3 branch as it is done now is fine as long as it is still marked as not stable.

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

2 participants