Documentation
¶
Overview ¶
Package util contains generic functions.
Index ¶
- Constants
- Variables
- func BotPipelineWhiteList() []sgo.PublicKey
- func DownloadCatscopeRustBotDemonstrator(ctx context.Context) (string, error)
- func DownloadSigned(ctx context.Context, url string, armoredKeyring io.Reader) ([]byte, error)
- func ParsePubkey(data []byte) (sgo.PublicKey, error)
- func VerifyDetached(signed io.Reader, sig io.Reader, armoredKeyring io.Reader) error
Constants ¶
Variables ¶
View Source
var LoggerBrainSimple = logger.Standard{Category: logger.CategoryTunnel, Section: SectionSolpipeHook, Code: 1}
Functions ¶
func DownloadCatscopeRustBotDemonstrator ¶
DownloadCatscopeRustBotDemonstrator downloads a Noncepad build demonstration web assembly blob
func DownloadSigned ¶
DownloadSigned fetches a PGP clear-signed file from url, verifies its signature against armoredKeyring, and returns the decoded binary payload. The signed message body must be the binary data encoded as standard base64.
Types ¶
This section is empty.
Source Files
¶
- gpg.go
- logger.go
- util.go
- whitelist.go
Click to show internal directories.
Click to hide internal directories.