https://github.com/syncsynchalt/empty-pass-stripper
Remove empty password from RSA key
https://github.com/syncsynchalt/empty-pass-stripper
Last synced: about 2 months ago
JSON representation
Remove empty password from RSA key
- Host: GitHub
- URL: https://github.com/syncsynchalt/empty-pass-stripper
- Owner: syncsynchalt
- License: mit
- Created: 2018-09-07T00:35:37.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-04-11T03:48:23.000Z (almost 4 years ago)
- Last Synced: 2024-06-20T06:26:51.324Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 2.93 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# empty-pass-stripper
Some applications (such as
[micromdm/scep](https://github.com/micromdm/scep)) can create an RSA
key and apply an empty string as password. This can be difficult to
read using tools such as openssl since they won't recognize an empty
string as a valid password. This utility converts an encrypted RSA key
(in PEM format) to an unencrypted RSA key so it can be more easily worked
with using command line tools.
## Usage
To use this tool:
```
go install github.com/syncsynchalt/empty-pass-stripper@latest
~/go/bin/empty-pass-stripper /path/to/encrypted-key.pem > unencrypted-key.pem
```