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

Name conflict with paultag/minica #48

Open
JamesHagerman opened this issue Oct 14, 2020 · 9 comments
Open

Name conflict with paultag/minica #48

JamesHagerman opened this issue Oct 14, 2020 · 9 comments

Comments

@JamesHagerman
Copy link

Hello,

Currently, running apt install minica under Ubuntu installs a similar binary using the same name: https://github.com/paultag/minica

This was somewhat unexpected. It might be a good idea to include a note about the difference between the two projects in the README.md for others running into this issue.

@jsha
Copy link
Owner

jsha commented Oct 14, 2020

Thanks! I'd definitely take a PR to the README changing that.

BTW I've seen an increased level of interest in the project recently - out of curiosity, was it posted somewhere?

@JamesHagerman
Copy link
Author

Good to know! I don't know if I have enough context to provide a PR but I'll see what I can do.

Maybe because it's way less work than using openssl directly? 🤣 Honestly, I'm not sure about the increase. I landed here because another developer used brew install minica in a project and I was trying to get it to work under Linux.

On that note, it would be super helpful to provide an official Docker image. There are a good number of public images on Dockerhub (e.g. https://hub.docker.com/r/ryantk/minica) but without a Dockerfile in this repo, those images are rather questionable.

Sadly, I don't know enough about Go to put one together without digging my heels in. 🤦

@pnc
Copy link

pnc commented Dec 30, 2020

So, excitingly, Debian packages the (unmaintained upstream) paultag version. I think the major user-facing differences are that that version accepts CN/SNI names as unflagged arguments.

@jsha Would you be open to a patch that made it possible to do minica example.com www.example.com for compatibility, and @tianon is it at all possible to make this version the new maintained upstream of the existing package? (One is MIT and one is Apache, unfortunately.)

@tianon
Copy link

tianon commented Dec 30, 2020

cc @paultag, who I think is in a better position to opine on this

@paultag
Copy link

paultag commented Dec 30, 2020

Hah, i wasn't tracking this, nor that the other minica was unmaintained. Happy to consolidate given scarce namespace.

@jsha
Copy link
Owner

jsha commented Dec 30, 2020

Also happy to consolidate, and I think the change you propose, to take hostnames as args rather than flags, should probably be fine. There's another piece of functionality that's probably different: my minica reads its root from minica.pem and minica-key.pem in the current directory, or generates them if they don't exist. I don't know how @paultag's minica does it.

I'm also totally happy to relicense if it makes things easier. I don't have a preference between MIT and Apache.

@paultag
Copy link

paultag commented Jan 1, 2021

I'm also happy to relicense between MIT/Expat and Apache 2.0, those are both fine to me. Maybe a fallback if they privkey is missing? We can also try and ship a migration script in the package and suggest using it as long as nothing will get damaged by running it in place. After this is done, I'm happy to archive my repo.

@bennydubois
Copy link

"BTW I've seen an increased level of interest in the project recently - out of curiosity, was it posted somewhere?"

For my part, I came straight here from a link on let's encrypt referencing your project
https://letsencrypt.org/docs/certificates-for-localhost/

@pnc
Copy link

pnc commented Mar 19, 2021 via email

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

6 participants