This commit is contained in:
Greg T. Wallace 2024-06-18 21:38:00 -04:00
parent 04307eff17
commit f1dd079632
2 changed files with 32 additions and 18 deletions

View file

@ -1,27 +1,41 @@
# APC P15 Tool Changelog # APC P15 Tool Changelog
## [v0.5.0] - 2024-06-06 ## [v0.5.1] - 2024-06-18
-- Preview Build 2 -- Both NMC2 and NMC3 should now be fully supported.
Add additional output of a key.p15 file. This file format matches ### Added
that of APC's NMC Security Wizard's key file output. - Add proper NMC3 support.
- The `create` function now also generates a .p15 formatted key file.
The format of this file matches that of what is generated by the NMC
Security Wizard.
- Add additional b64 formatted output files when using the `--debug`
flag with `create`. These files can easily be pasted into an ASN1
decoder for inspection (except for the header file, as the header is
not ASN1 encoded).
Add functionality to `install` command to leverage the native `ssl` ### Fixed
command if the UPS device supports it. This should be applicable - Fix `install` function for NMC3 on newer firmware version by
to newer devices such as NMC3 on newer firmwares. The tool auto leveraging the native `ssl` command to install the key and cert, if
selects the correct install method. Note: There may still be some it is available. If not available, fallback to the 'old' way of
devices that don't work with the install function. I can only test installing the SSL cert.
the one piece of hardware I have. If you have issues, try updating - Fix PowerShell build script in repo. Posted builds were not impacted
your device's firmware first. by this as the script is not used by the GitHub Action.
Add creation of additional base64 encoded files when the `--debug` ### Changed
flag is used with `create`. This makes it easier to paste these - Move APC SSH functions to a separate package and change how commands
encoded files into an ASN1 viewer to analyze them. are sent. In particular, leverage the interactive shell to send
commands and read back the result of those commands.
- Set output file permissions to `0600` instead of `0777`.
- Minor logging updates.
- Leverage `strings.EqualFold` as a more robust alternative to using
`strings.ToLower` for string comparisons.
- Update Go version to 1.22.4.
- Update readme to clarify tool's purpose, current state, and
compatibility.
Modify output file permissions to `0600` instead of `0777`. ### Removed
N/A
Update Go version to 1.22.3.
## [v0.4.2] - 2024-03-29 ## [v0.4.2] - 2024-03-29

View file

@ -12,7 +12,7 @@ import (
) )
const ( const (
appVersion = "0.5.0" appVersion = "0.5.1"
) )
// struct for receivers to use common app pieces // struct for receivers to use common app pieces