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

invalid character '\u0081' after top-level value #3

Open
GuoxinL opened this issue Jul 31, 2023 · 1 comment
Open

invalid character '\u0081' after top-level value #3

GuoxinL opened this issue Jul 31, 2023 · 1 comment

Comments

@GuoxinL
Copy link

GuoxinL commented Jul 31, 2023

cocert combine -f cocert0.key -f cocert1.key -o combine.key
Loading PEMs from files...
(Press Enter to continue without decrypt...)
Enter your password for cocert0.key:
Enter your password for cocert1.key:
Decrypting TUF encrypted PEMs...
Enter your master key:
unable to decrypt X509 encoded TUF: invalid character '\u0081' after top-level value

What is the "master key" and what should I fill in, my private key is not password

@GuoxinL
Copy link
Author

GuoxinL commented Jul 31, 2023

Step 1:
cocert split --parts 3 --threshold 2 -f admin_sign.key
Splitting private key to Shamir PEMs...
Extracting PEMs to files...
Do you want to encrypt each key using TUF? (y/n) [n]: y
Create new password for cocert0.key key:(123)
Confirm password:(123)
Create new password for cocert1.key key:(456)
Confirm password:(456)
Create new password for cocert2.key key:(789)
Confirm password:(789)
Step 2:
cocert combine -f cocert0.key -f cocert1.key -o combine.key
Loading PEMs from files...
(Press Enter to continue without decrypt...)
Enter your password for cocert0.key:(123)
Enter your password for cocert1.key:(456)
Decrypting TUF encrypted PEMs...
Enter your master key: (???)
unable to decrypt X509 encoded TUF: invalid character '\u0081' after top-level value

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