Commit graph

  • 1cfd35c4e2 readme: escape asterisks main Greg T. Wallace 2024-09-17 18:50:06 -0400
  • 94a76b93de v1.1.0 v1.1.0 Greg T. Wallace 2024-09-17 18:44:35 -0400
  • 1cd9916a17 install: add web ui cert verification * connect to the ups web ui after install and verify the proper certificate is being served * rename apchost flag to hostname * separate ports to additional flags (sshport sslport) with sane defaults Greg T. Wallace 2024-09-17 18:44:34 -0400
  • c22447b0c2 readme: update info re: modern key support Greg T. Wallace 2024-09-17 18:44:33 -0400
  • cbb831e009 add ecdsa key support and enable 4,092 RSA * apcssh: add descriptive error when required file(s) not passed * create: dont create key+cert file when key isn't supported by NMC2 * config: fix usage messages re: key types * p15 files: dont generate key+cert when it isn't needed (aka NMC2 doesn't support key) * pkcs15: pre-calculate envelope when making the p15 struct * pkcs15: omit key ID 8 & 9 from EC keys * pkcs15: update key decode logic * pkcs15: add key type value for easy determination of compatibility * pkcs15: add ec key support * pkcs15: separate functions for key and key+cert p15 files * update README see: https://github.com/gregtwallace/apc-p15-tool/issues/6 Greg T. Wallace 2024-09-17 18:44:33 -0400
  • 51e5847409 go: update to 1.23.1 Greg T. Wallace 2024-09-17 18:44:33 -0400
  • e2b5abc624 readme: add beta notice Greg T. Wallace 2024-07-09 19:16:59 -0400
  • f102a1838b v1.1.0-b1 v1.1.0-b1 Greg T. Wallace 2024-07-09 19:05:29 -0400
  • 40eca754e0 add ecdsa key support and enable 4,092 RSA * apcssh: add descriptive error when required file(s) not passed * create: dont create key+cert file when key isn't supported by NMC2 * config: fix usage messages re: key types * p15 files: dont generate key+cert when it isn't needed (aka NMC2 doesn't support key) * pkcs15: pre-calculate envelope when making the p15 struct * pkcs15: omit key ID 8 & 9 from EC keys * pkcs15: update key decode logic * pkcs15: add key type value for easy determination of compatibility * pkcs15: add ec key support * pkcs15: separate functions for key and key+cert p15 files * update README see: https://github.com/gregtwallace/apc-p15-tool/issues/6 Greg T. Wallace 2024-07-09 19:05:14 -0400
  • b8e9a23386 v1.0.0 v1.0.0 Greg T. Wallace 2024-07-01 22:35:26 -0400
  • 9578fa26ce fix go build ver 1.22.4 Greg T. Wallace 2024-07-01 22:35:21 -0400
  • 371a2ecc30
    README: update testing setup Greg T. Wallace 2024-06-26 21:34:47 -0400
  • 6363282a75 v0.5.3 v0.5.3 Greg T. Wallace 2024-06-24 18:24:35 -0400
  • 7c1ad8ef43 pkcs15: add some prep for maybe ec key support later Greg T. Wallace 2024-06-24 18:23:05 -0400
  • 06f9892501 add rsa 3,072 bit support Greg T. Wallace 2024-06-24 18:23:02 -0400
  • b7026ff906 v0.5.2 v0.5.2 Greg T. Wallace 2024-06-19 19:57:56 -0400
  • 703c26bd27 apcssh: add shell cmd timeout It was possible for scanner.Scan() to block indefinitely if the UPS never returned the expected prompt regex pattern. This could occur with a UPS using a prompt format I'm not aware of, or if the UPS responds in a non-standard way. Greg T. Wallace 2024-06-19 19:56:17 -0400
  • 841a459dca apcssh: minor log and logic clarity Greg T. Wallace 2024-06-19 19:56:16 -0400
  • f1dd079632 v0.5.1 v0.5.1 Greg T. Wallace 2024-06-18 21:38:00 -0400
  • 04307eff17 readme: update general info about tool and compatibility Greg T. Wallace 2024-06-18 21:30:43 -0400
  • d3ad01da0c build: fix typo for windows install only file Greg T. Wallace 2024-06-18 21:30:42 -0400
  • b94e17e8f3 readme: update info regarding insecure ssh ciphers Greg T. Wallace 2024-06-18 21:30:41 -0400
  • 208827f636 ssh: fix shell regex * from ssh videos I found on youtube, the @ symbol might not be present in prompt, so make it optional * fix typo of 0-0 instead of 0-9 (all numbers are possible in the prompt) Greg T. Wallace 2024-06-18 21:30:40 -0400
  • 7bf70c4d71 ssh: switch string comps to EqualFold func Greg T. Wallace 2024-06-18 21:30:39 -0400
  • c669621bd3 install: add ssh connect log message Greg T. Wallace 2024-06-18 21:30:38 -0400
  • a47dd3fb68 go: update to 1.22.4 Greg T. Wallace 2024-06-06 22:51:14 -0400
  • 67503e6636 v0.5.0-preview2 Greg T. Wallace 2024-06-06 22:51:13 -0400
  • 579419ae31 cmd: remove cmd done log msgs remove these unncessary log messages because it says done before any returned error (which could imply it didn't error) Greg T. Wallace 2024-06-06 22:51:13 -0400
  • 12c613f3b4 apcssh: remove logging For sanity and consistency, centralize logging in the app with the app's loggers. Greg T. Wallace 2024-06-06 22:51:13 -0400
  • ce9958e422 create: always produce both p15 files Greg T. Wallace 2024-06-06 22:51:13 -0400
  • dda11df624 install: add support for native ssl command The code should auto-select the native ssl method if the ssl command is available on the UPS. Greg T. Wallace 2024-06-06 22:51:12 -0400
  • 06c9263bc4 ssh: breakout ups ssh to its own package This was done for clearer separation of function. A subsequent update will (hopefully) make the SSL command more robust so it works for both NMC2 and NMC3. Greg T. Wallace 2024-06-06 22:51:12 -0400
  • 41efc56c62 ssh: clarify log error msg Greg T. Wallace 2024-06-06 22:51:12 -0400
  • 7a415f5c85 v0.5.0-preview1 Greg T. Wallace 2024-06-04 19:01:45 -0400
  • 7dcf0f10b9 create: fix header debug file Greg T. Wallace 2024-06-04 19:00:56 -0400
  • b44b49cd19 create: add additional flag to signal creation of additional key.p15 Greg T. Wallace 2024-06-04 18:59:36 -0400
  • f0253ccaf2 create: set file permissiosns to owner only Greg T. Wallace 2024-06-04 18:59:36 -0400
  • da84a7b085 debug: add base64 encoded debug files Greg T. Wallace 2024-06-04 18:59:36 -0400
  • 01be6ca577 add p15 key output file Greg T. Wallace 2024-06-04 18:59:36 -0400
  • ecf10f1fdc go: update to 1.22.3 Greg T. Wallace 2024-06-04 18:59:35 -0400
  • d09c7fa8fc update README for Cert Warden Greg T. Wallace 2024-04-15 19:36:35 -0400
  • ad3ee0d7f5 v0.4.2 v0.4.2 Greg T. Wallace 2024-03-29 17:17:47 -0400
  • 6fe53b9fc6
    Merge pull request #2 from k725/k725-patch-1 Greg T. Wallace 2024-03-29 17:13:16 -0400
  • 0476db7c35
    fix usage message k725 2024-03-29 23:47:37 +0900
  • 15c6c6488e minor envelope reorg Greg T. Wallace 2024-03-17 13:45:55 -0400
  • 02bc7c1239 changelog formatting Greg T. Wallace 2024-03-06 17:27:16 -0500
  • 49e30898c1 v0.4.1 v0.4.1 Greg T. Wallace 2024-03-06 17:19:27 -0500
  • 55680245c9 update go to 1.22.1 Greg T. Wallace 2024-03-06 17:18:04 -0500
  • 14517ca0a1 update go to 1.22.0 Greg T. Wallace 2024-02-12 22:24:43 -0500
  • dd246b9f14 v0.4.0 v0.4.0 Greg T. Wallace 2024-02-05 18:29:06 -0500
  • 2b46f33af8 add optional webui restart Greg T. Wallace 2024-02-05 18:25:55 -0500
  • 29cd44077b v0.3.3 v0.3.3 Greg T. Wallace 2024-02-04 17:11:15 -0500
  • 598c4ba9f7 install: add insecure cipher options for older devices/firmwares Requires explicit choice via flag Greg T. Wallace 2024-02-04 17:09:23 -0500
  • 357503382b remove empty file Greg T. Wallace 2024-02-04 14:26:08 -0500
  • 7249c73214 v0.3.2 v0.3.2 Greg T. Wallace 2024-02-04 11:05:04 -0500
  • b633a357c7 add rsa 1024 support (not recommended though) Greg T. Wallace 2024-02-04 10:59:58 -0500
  • b878deaf2d add kex diffie-hellman-group-exchange-sha256 Greg T. Wallace 2024-02-04 10:18:21 -0500
  • 8a4defcb46 add compatibility notice in readme Greg T. Wallace 2024-02-04 09:36:15 -0500
  • 53a3bc5bd7 v0.3.1 v0.3.1 Greg T. Wallace 2024-02-03 14:09:34 -0500
  • 90c2baf343 local build: ensure cgo is disabled Greg T. Wallace 2024-02-03 14:07:26 -0500
  • 15d8996b48 fix: only debug logging when specified Greg T. Wallace 2024-02-03 14:05:21 -0500
  • 8d0757b553 readme: add thanks Greg T. Wallace 2024-02-03 13:12:59 -0500
  • 6d9878558b v0.3.0 v0.3.0 Greg T. Wallace 2024-02-03 12:47:21 -0500
  • 201aedce1c simplify logging Greg T. Wallace 2024-02-03 11:38:31 -0500
  • 2c4e3df0a5 add github release workflow Greg T. Wallace 2024-02-03 11:19:15 -0500
  • 7699a8a902 add changelog Greg T. Wallace 2024-02-03 11:19:05 -0500
  • 8764dbeb2c update README Greg T. Wallace 2024-02-03 10:54:32 -0500
  • 50cc78a77e move env var prefix to config Greg T. Wallace 2024-02-03 10:34:42 -0500
  • ea3de54208 v0.2.0 Greg T. Wallace 2024-02-02 18:35:57 -0500
  • b4dfb22028 scp: switch to quiet Greg T. Wallace 2024-02-02 18:35:23 -0500
  • 27b7288e07 create/install: add support for key pem in args Greg T. Wallace 2024-02-02 18:35:22 -0500
  • 65f0ee7504 add build script Greg T. Wallace 2024-02-02 18:35:22 -0500
  • d6bb512b3e add install only version Greg T. Wallace 2024-02-02 18:35:21 -0500
  • a089d12c87 add install function install pem files directly to an apc ups Greg T. Wallace 2024-02-02 18:35:21 -0500
  • 4c154b2f27 fix flag description Greg T. Wallace 2024-02-02 18:35:21 -0500
  • d94a10b949 cleanup extra args logging / logic Greg T. Wallace 2024-02-02 18:35:20 -0500
  • 3b611b06e4 app: minor reorg * add version number * add more logging * add command/subcommand Greg T. Wallace 2024-01-28 11:16:26 -0500
  • 403c346545 readme: update Greg T. Wallace 2024-01-27 11:55:34 -0500
  • fc75922d18 write the functioning p15 file Greg T. Wallace 2024-01-27 11:35:36 -0500
  • dd6c6bd442 header: fix (needed proper type conversion) Greg T. Wallace 2024-01-27 11:35:36 -0500
  • a626d84fdb cert: finish p15 creation Greg T. Wallace 2024-01-27 11:35:36 -0500
  • 1f6dad4907 key: finish key encoding and start cert Greg T. Wallace 2024-01-27 11:35:35 -0500
  • 85462c93b1 license: add GNU GPLv3 Greg T. Wallace 2024-01-25 20:21:56 -0500
  • 9d80add919 readme: add Greg T. Wallace 2024-01-25 20:20:07 -0500
  • e2e4f2037c app: restructure and start building p15 output Greg T. Wallace 2024-01-25 20:16:37 -0500
  • 6610c92058 add some KEK and CEK functions Greg T. Wallace 2024-01-21 15:11:22 -0500
  • 2dd129c60a add bitwise funcs for CEK encrypt/decrypt Greg T. Wallace 2024-01-21 15:09:31 -0500
  • ff1953e7c7 gitignore: update Greg T. Wallace 2024-01-21 15:08:59 -0500
  • 02c0c1216f initial commit: header * func to write the header APC NMC expects Greg T. Wallace 2024-01-19 17:26:14 -0500