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

[BUG]: Unexpected Error if no public key present in repo #20

Closed
mirisbowring opened this issue Jul 1, 2024 · 1 comment
Closed

[BUG]: Unexpected Error if no public key present in repo #20

mirisbowring opened this issue Jul 1, 2024 · 1 comment

Comments

@mirisbowring
Copy link
Contributor

Hi,

i just installed gitbark and wanted to add a signing rule during the bark setup. When selecting the signature rule, bark tells me

This rule requires at least one public key to be added in your repo!

An unexpected error occured.

Unfortunately i could not find docs on how to add a public Key. In the end i checked your repository, followed the folder structure and created a pubkeys folder within my .bark/.

After, i run bark add-rules and now bark says:

Found public keys in your repository! Do you want to add more public keys? [y/N]: 

Expected behaviour

I would expect bark to also ask me to add a new public key even if no key is currently present.

Thank you and have a nice day!

Copied from YubicoLabs/gitbark#47

@elibon99
Copy link
Collaborator

elibon99 commented Sep 9, 2024

Resolved by PR #21.

@elibon99 elibon99 closed this as completed Sep 9, 2024
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