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
## [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
that of APC's NMC Security Wizard's key file output.
### Added
- 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`
command if the UPS device supports it. This should be applicable
to newer devices such as NMC3 on newer firmwares. The tool auto
selects the correct install method. Note: There may still be some
devices that don't work with the install function. I can only test
the one piece of hardware I have. If you have issues, try updating
your device's firmware first.
### Fixed
- Fix `install` function for NMC3 on newer firmware version by
leveraging the native `ssl` command to install the key and cert, if
it is available. If not available, fallback to the 'old' way of
installing the SSL cert.
- Fix PowerShell build script in repo. Posted builds were not impacted
by this as the script is not used by the GitHub Action.
Add creation of additional base64 encoded files when the `--debug`
flag is used with `create`. This makes it easier to paste these
encoded files into an ASN1 viewer to analyze them.
### Changed
- Move APC SSH functions to a separate package and change how commands
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`.
Update Go version to 1.22.3.
### Removed
N/A
## [v0.4.2] - 2024-03-29

View file

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