Commit graph

37 commits

Author SHA1 Message Date
Greg T. Wallace
41efc56c62 ssh: clarify log error msg 2024-06-06 22:52:54 -04:00
Greg T. Wallace
7a415f5c85 v0.5.0-preview1 2024-06-06 22:52:46 -04:00
Greg T. Wallace
7dcf0f10b9 create: fix header debug file 2024-06-04 19:00:56 -04:00
Greg T. Wallace
b44b49cd19 create: add additional flag to signal creation of additional key.p15 2024-06-04 18:59:36 -04:00
Greg T. Wallace
f0253ccaf2 create: set file permissiosns to owner only 2024-06-04 18:59:36 -04:00
Greg T. Wallace
da84a7b085 debug: add base64 encoded debug files
When troubleshooting it is helpful to put the generated files into an asn1 decoder. The files can be copy/pasted easily in b64 format.

This change creates b64 files when the debug flag is set to make this process easier.
2024-06-04 18:59:36 -04:00
Greg T. Wallace
01be6ca577 add p15 key output file
The NMC Security Wizard can also produce .p15 files that contain just a private key. Add this ability to this tool.

When the `create` function is used, both files will be outputted.
2024-06-04 18:59:36 -04:00
Greg T. Wallace
ad3ee0d7f5 v0.4.2 2024-03-29 17:17:47 -04:00
k725
0476db7c35
fix usage message 2024-03-29 23:47:37 +09:00
Greg T. Wallace
15c6c6488e minor envelope reorg 2024-03-17 13:45:55 -04:00
Greg T. Wallace
49e30898c1 v0.4.1 2024-03-06 17:19:27 -05:00
Greg T. Wallace
dd246b9f14 v0.4.0 2024-02-05 18:29:06 -05:00
Greg T. Wallace
2b46f33af8 add optional webui restart 2024-02-05 18:25:55 -05:00
Greg T. Wallace
29cd44077b v0.3.3 2024-02-04 17:11:15 -05:00
Greg T. Wallace
598c4ba9f7 install: add insecure cipher options for older devices/firmwares
Requires explicit choice via flag

fixes: https://github.com/gregtwallace/apc-p15-tool/issues/1
2024-02-04 17:09:23 -05:00
Greg T. Wallace
357503382b remove empty file 2024-02-04 14:26:08 -05:00
Greg T. Wallace
7249c73214 v0.3.2 2024-02-04 11:05:04 -05:00
Greg T. Wallace
b633a357c7 add rsa 1024 support (not recommended though) 2024-02-04 10:59:58 -05:00
Greg T. Wallace
b878deaf2d add kex diffie-hellman-group-exchange-sha256 2024-02-04 10:18:21 -05:00
Greg T. Wallace
53a3bc5bd7 v0.3.1 2024-02-03 14:09:34 -05:00
Greg T. Wallace
15d8996b48 fix: only debug logging when specified 2024-02-03 14:05:21 -05:00
Greg T. Wallace
6d9878558b v0.3.0 2024-02-03 12:47:21 -05:00
Greg T. Wallace
201aedce1c simplify logging 2024-02-03 11:38:31 -05:00
Greg T. Wallace
50cc78a77e move env var prefix to config 2024-02-03 10:34:42 -05:00
Greg T. Wallace
ea3de54208 v0.2.0 2024-02-02 18:35:57 -05:00
Greg T. Wallace
b4dfb22028 scp: switch to quiet 2024-02-02 18:35:23 -05:00
Greg T. Wallace
27b7288e07 create/install: add support for key pem in args 2024-02-02 18:35:22 -05:00
Greg T. Wallace
d6bb512b3e add install only version 2024-02-02 18:35:21 -05:00
Greg T. Wallace
a089d12c87 add install function
install pem files directly to an apc ups
2024-02-02 18:35:21 -05:00
Greg T. Wallace
4c154b2f27 fix flag description 2024-02-02 18:35:21 -05:00
Greg T. Wallace
d94a10b949 cleanup extra args logging / logic 2024-02-02 18:35:20 -05:00
Greg T. Wallace
3b611b06e4 app: minor reorg
* add version number
* add more logging
* add command/subcommand
2024-01-28 11:16:26 -05:00
Greg T. Wallace
fc75922d18 write the functioning p15 file 2024-01-27 11:35:36 -05:00
Greg T. Wallace
dd6c6bd442 header: fix (needed proper type conversion) 2024-01-27 11:35:36 -05:00
Greg T. Wallace
a626d84fdb cert: finish p15 creation 2024-01-27 11:35:36 -05:00
Greg T. Wallace
1f6dad4907 key: finish key encoding and start cert 2024-01-27 11:35:35 -05:00
Greg T. Wallace
e2e4f2037c app: restructure and start building p15 output 2024-01-25 20:16:37 -05:00