Documentation
¶
Overview ¶
Package installersig checks the Ed25519 signature of an installer script and reads the release the script announces.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( ErrBadSignature = errors.New("installer signature is not valid") ErrNoTag = errors.New("installer announces no valid release tag") )
var Keys = decodeKeys(keyA, keyB)
Keys holds the public keys accepted for installer signatures.
Functions ¶
func Newer ¶
Newer reports whether tag a is a higher vX.Y.Z than b. An invalid tag on either side gives false.
func ReleaseTag ¶
ReleaseTag returns the vX.Y.Z value of the script's CASAOS_INSTALL_RELEASE_TAG line. Placeholders, absent lines and lines with different values give ErrNoTag.
Types ¶
This section is empty.