Versions in this module Expand all Collapse all v0 v0.7.0 Aug 31, 2020 Changes in this version + const BallName + const ConfigName + const HostVarsName + type AlwaysValidSigner struct + func (AlwaysValidSigner) Hash(files ...string) ([]byte, error) + func (AlwaysValidSigner) Sign(privKey string, data []byte) ([]byte, error) + func (AlwaysValidSigner) Verify(sig Signature, hash []byte) error + type BootBall struct + Archive string + NumSignatures int + RootCertPEM []byte + Signer Signer + func BootBallFromArchive(archive string) (*BootBall, error) + func BootBallFromConfig(configFile string) (*BootBall, error) + func (ball *BootBall) Clean() error + func (ball *BootBall) Dir() string + func (ball *BootBall) GetBootConfigByIndex(index int) (*jsonboot.BootConfig, error) + func (ball *BootBall) Hash() error + func (ball *BootBall) Pack() error + func (ball *BootBall) Sign(privKeyFile, certFile string) error + func (ball *BootBall) VerifyBootconfigByID(id string) (found, verified int, err error) + type HostVars struct + BootstrapURL string + DNSServer string + DefaultGateway string + HostIP string + HostNetmask string + MinimalSignaturesMatch int + func FindHostVarsInInitramfs() (HostVars, error) + type Sha512PssSigner struct + func (Sha512PssSigner) Hash(files ...string) ([]byte, error) + func (Sha512PssSigner) Sign(privKey string, data []byte) ([]byte, error) + func (Sha512PssSigner) Verify(sig Signature, hash []byte) error + type Signature struct + Bytes []byte + Cert *x509.Certificate + type Signer interface + Hash func(files ...string) ([]byte, error) + Sign func(privKey string, data []byte) ([]byte, error) + Verify func(sig Signature, hash []byte) error + type Stconfig struct + BootConfigs []jsonboot.BootConfig + RootCertPath string + func (cfg *Stconfig) IsValid() bool Incompatible versions in this module v7.0.0+incompatible Aug 31, 2020retracted