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

-overwrite=true and -with-passphrase=false flags don't work for principal fork #386

Open
razvanm opened this issue Apr 1, 2023 · 0 comments

Comments

@razvanm
Copy link
Collaborator

razvanm commented Apr 1, 2023

The -overwrite=true and -with-passphrase=false flags don't seem to work work for principal fork at the current head (9e2f983).

An easy way to demonstrate this issue:

$ rm -rf .v23
$ principal fork -overwrite=true -with-passphrase=false -for=72h .v23 xxx
Enter passphrase (entering nothing will store the principal key unencrypted):
$ principal fork -overwrite=true -with-passphrase=false -for=72h .v23 xxx
Enter passphrase (entering nothing will store the principal key unencrypted):
ERROR: failed to create principal: failed to open .v23/publickey.pem for writing: open .v23/publickey.pem: file exists
$

The similar flags work fine for principal create.

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