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

command-line tool for joining, splitting, inspecting pems #6

Closed
glyph opened this issue Apr 17, 2014 · 3 comments
Closed

command-line tool for joining, splitting, inspecting pems #6

glyph opened this issue Apr 17, 2014 · 3 comments

Comments

@glyph
Copy link
Contributor

glyph commented Apr 17, 2014

It would be nice to have a command-line tool to perform various simple operations on pems. Particularly, pem join somefile.pem otherfile.pem --into=single.pem to turn somefile.pem and otherfile.pem into a single file single.pem and pem split somefile.pem to get somefile.1.crt.pem, somefile.2.key.pem etc.

With pyOpenSSL installed, this could potentially even give the split files meaningful names.

No less than 3 times in the last 3 weeks, I've been staring at incomprehensible caused by attempting to join and split non-newline-terminated .pem files together with cat and regexes. These tasks aren't complex but having reliable ways to do them would be super handy.

@hynek
Copy link
Owner

hynek commented Apr 20, 2014

That sounds like a pretty neat idea.

I’m generally thinking about moving the Twisted-specific parts into Twisted and make pem more useful for generic use-cases. This certainly sounds like one.

@hynek
Copy link
Owner

hynek commented Jun 20, 2023

um is this still something you think is useful – barely 10 years later?

@hynek hynek closed this as completed Jun 28, 2023
@glyph
Copy link
Contributor Author

glyph commented Jun 28, 2023

@hynek I think that with better tooling (certbot) and standardization (ACME) I spend a lot less time needing to do stuff like this on individual files. But the main thing I wanted to do with this, I am now trying to get a computer to do, instead: twisted/twisted#11861

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