Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Verify ¶
Verify verifies a local file or http/https url with well known public GNG keys saved by apt-key, in /etc/apt/trusted.gpg and under /etc/apt/trusted.gpg.d
func VerifyWithOptions ¶
func VerifyWithOptions(path string, options *VerifyOptions) (string, error)
VerifyWithOptions verifies a local file or http/https url with given public GNG public key.
Types ¶
type Release ¶
type Release struct { Origin string Label string Suite string Version string Codename string Date time.Time Archs []string Components []string Description string Files map[string]*File }
Release is a deb type source entry hosted via web server. Check sources.list(5) for details.
type VerifyOptions ¶
VerifyOptions specifies the option to verify cleartext GPG signature.
Click to show internal directories.
Click to hide internal directories.