mirror of
https://github.com/gregtwallace/apc-p15-tool.git
synced 2025-01-22 08:14:08 +00:00
06c9263bc4
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. The method for sending shell commands was also updated to use an interactive shell instead. This allows capturing responses of the commands which will be needed to deduce if devices are NMC2 or NMC3.
25 lines
575 B
Modula-2
25 lines
575 B
Modula-2
module apc-p15-tool
|
|
|
|
go 1.22.3
|
|
|
|
require (
|
|
github.com/peterbourgon/ff/v4 v4.0.0-alpha.4
|
|
github.com/sigurn/crc16 v0.0.0-20211026045750-20ab5afb07e3
|
|
golang.org/x/crypto v0.18.0
|
|
)
|
|
|
|
require golang.org/x/sys v0.16.0 // indirect
|
|
|
|
replace apc-p15-tool/cmd/install_only => /cmd/install_only
|
|
|
|
replace apc-p15-tool/cmd/tool => /cmd/tool
|
|
|
|
replace apc-p15-tool/pkg/apcssh => /pkg/apcssh
|
|
|
|
replace apc-p15-tool/pkg/app => /pkg/app
|
|
|
|
replace apc-p15-tool/pkg/pkcs15 => /pkg/pkcs15
|
|
|
|
replace apc-p15-tool/pkg/tools => /pkg/tools
|
|
|
|
replace apc-p15-tool/pkg/tools/asn1obj => /pkg/tools/asn1obj
|