gitsign

package
v0.26.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VerifySignature

func VerifySignature(obj *gitobject.GitObject, pubKeyData []byte, policy *VerifyPolicy) error

Types

type Signature

type Signature struct {
	PGPSignature *packet.Signature
	SSHSignature *sshsig.Signature
}

func ParseSignature

func ParseSignature(data []byte) (*Signature, error)

type VerifyPolicy

type VerifyPolicy struct {
	RejectExpiredKeys bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL