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

Add go.mod for CLI package #300

Merged
merged 1 commit into from
May 21, 2024
Merged

Conversation

kian99
Copy link
Contributor

@kian99 kian99 commented May 21, 2024

Description

Adds a go.mod (and go.sum) file to the cmd/bakery-keygen folder to make it easier for users to generate a key-pair. Now one only needs to run go run github.com/go-macaroon-bakery/macaroon-bakery/cmd/bakery-keygen/v3

Testing

Tested to work via my fork, I changed the go.mod organisation to my user kian99 instead of go-macaroon-bakery and the above go run command worked. I am not using the below key, only showing it to prove the command worked.

$ go run github.com/kian99/macaroon-bakery/cmd/bakery-keygen/v3
{
	"public": "XpGi+QruMiunKzPBt2ewsO9RIXmLzOn8FbcrccKNE0E=",
	"private": "RY/RBkTykmJrSsjGTvzpc5k9lw8tcp63h1eOJ0levzo="
}

@alesstimec alesstimec merged commit f9b21e1 into go-macaroon-bakery:v3 May 21, 2024
3 checks passed
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

Successfully merging this pull request may close these issues.

2 participants