gpgsmithv1

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	LockSource_name = map[int32]string{
		0: "LOCK_SOURCE_UNSPECIFIED",
		1: "LOCK_SOURCE_CLI",
		2: "LOCK_SOURCE_UI",
		3: "LOCK_SOURCE_TUI",
	}
	LockSource_value = map[string]int32{
		"LOCK_SOURCE_UNSPECIFIED": 0,
		"LOCK_SOURCE_CLI":         1,
		"LOCK_SOURCE_UI":          2,
		"LOCK_SOURCE_TUI":         3,
	}
)

Enum value maps for LockSource.

View Source
var (
	EventKind_name = map[int32]string{
		0: "EVENT_KIND_UNSPECIFIED",
		1: "EVENT_KIND_JOB_STARTED",
		2: "EVENT_KIND_JOB_PROGRESS",
		3: "EVENT_KIND_JOB_PROMPT",
		4: "EVENT_KIND_JOB_COMPLETED",
		5: "EVENT_KIND_JOB_FAILED",
		6: "EVENT_KIND_STATE_CHANGED",
		7: "EVENT_KIND_SESSION_ENDED",
	}
	EventKind_value = map[string]int32{
		"EVENT_KIND_UNSPECIFIED":   0,
		"EVENT_KIND_JOB_STARTED":   1,
		"EVENT_KIND_JOB_PROGRESS":  2,
		"EVENT_KIND_JOB_PROMPT":    3,
		"EVENT_KIND_JOB_COMPLETED": 4,
		"EVENT_KIND_JOB_FAILED":    5,
		"EVENT_KIND_STATE_CHANGED": 6,
		"EVENT_KIND_SESSION_ENDED": 7,
	}
)

Enum value maps for EventKind.

View Source
var (
	ResumeRequest_Action_name = map[int32]string{
		0: "ACTION_UNSPECIFIED",
		1: "ACTION_RESUME",
		2: "ACTION_DISCARD",
	}
	ResumeRequest_Action_value = map[string]int32{
		"ACTION_UNSPECIFIED": 0,
		"ACTION_RESUME":      1,
		"ACTION_DISCARD":     2,
	}
)

Enum value maps for ResumeRequest_Action.

View Source
var File_gpgsmith_v1_audit_proto protoreflect.FileDescriptor
View Source
var File_gpgsmith_v1_card_proto protoreflect.FileDescriptor
View Source
var File_gpgsmith_v1_common_proto protoreflect.FileDescriptor
View Source
var File_gpgsmith_v1_daemon_proto protoreflect.FileDescriptor
View Source
var File_gpgsmith_v1_event_proto protoreflect.FileDescriptor
View Source
var File_gpgsmith_v1_identity_proto protoreflect.FileDescriptor
View Source
var File_gpgsmith_v1_key_proto protoreflect.FileDescriptor
View Source
var File_gpgsmith_v1_server_proto protoreflect.FileDescriptor
View Source
var File_gpgsmith_v1_vault_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AddIdentityRequest

type AddIdentityRequest struct {
	Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
	// contains filtered or unexported fields
}

func (*AddIdentityRequest) Descriptor deprecated

func (*AddIdentityRequest) Descriptor() ([]byte, []int)

Deprecated: Use AddIdentityRequest.ProtoReflect.Descriptor instead.

func (*AddIdentityRequest) GetUid

func (x *AddIdentityRequest) GetUid() string

func (*AddIdentityRequest) ProtoMessage

func (*AddIdentityRequest) ProtoMessage()

func (*AddIdentityRequest) ProtoReflect

func (x *AddIdentityRequest) ProtoReflect() protoreflect.Message

func (*AddIdentityRequest) Reset

func (x *AddIdentityRequest) Reset()

func (*AddIdentityRequest) String

func (x *AddIdentityRequest) String() string

type AddIdentityResponse

type AddIdentityResponse struct {
	// contains filtered or unexported fields
}

func (*AddIdentityResponse) Descriptor deprecated

func (*AddIdentityResponse) Descriptor() ([]byte, []int)

Deprecated: Use AddIdentityResponse.ProtoReflect.Descriptor instead.

func (*AddIdentityResponse) ProtoMessage

func (*AddIdentityResponse) ProtoMessage()

func (*AddIdentityResponse) ProtoReflect

func (x *AddIdentityResponse) ProtoReflect() protoreflect.Message

func (*AddIdentityResponse) Reset

func (x *AddIdentityResponse) Reset()

func (*AddIdentityResponse) String

func (x *AddIdentityResponse) String() string

type AddServerRequest

type AddServerRequest struct {
	Alias string `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias,omitempty"`
	Url   string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*AddServerRequest) Descriptor deprecated

func (*AddServerRequest) Descriptor() ([]byte, []int)

Deprecated: Use AddServerRequest.ProtoReflect.Descriptor instead.

func (*AddServerRequest) GetAlias

func (x *AddServerRequest) GetAlias() string

func (*AddServerRequest) GetUrl

func (x *AddServerRequest) GetUrl() string

func (*AddServerRequest) ProtoMessage

func (*AddServerRequest) ProtoMessage()

func (*AddServerRequest) ProtoReflect

func (x *AddServerRequest) ProtoReflect() protoreflect.Message

func (*AddServerRequest) Reset

func (x *AddServerRequest) Reset()

func (*AddServerRequest) String

func (x *AddServerRequest) String() string

type AddServerResponse

type AddServerResponse struct {
	// contains filtered or unexported fields
}

func (*AddServerResponse) Descriptor deprecated

func (*AddServerResponse) Descriptor() ([]byte, []int)

Deprecated: Use AddServerResponse.ProtoReflect.Descriptor instead.

func (*AddServerResponse) ProtoMessage

func (*AddServerResponse) ProtoMessage()

func (*AddServerResponse) ProtoReflect

func (x *AddServerResponse) ProtoReflect() protoreflect.Message

func (*AddServerResponse) Reset

func (x *AddServerResponse) Reset()

func (*AddServerResponse) String

func (x *AddServerResponse) String() string

type AuditEntry

type AuditEntry struct {
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Action    string                 `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`   // "create-key", "add-identity", "revoke-card", ...
	Details   string                 `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"` // free-form human-readable
	Metadata  map[string]string      ``                                                                    /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

AuditEntry is one line in the audit log.

func (*AuditEntry) Descriptor deprecated

func (*AuditEntry) Descriptor() ([]byte, []int)

Deprecated: Use AuditEntry.ProtoReflect.Descriptor instead.

func (*AuditEntry) GetAction

func (x *AuditEntry) GetAction() string

func (*AuditEntry) GetDetails

func (x *AuditEntry) GetDetails() string

func (*AuditEntry) GetMetadata

func (x *AuditEntry) GetMetadata() map[string]string

func (*AuditEntry) GetTimestamp

func (x *AuditEntry) GetTimestamp() *timestamppb.Timestamp

func (*AuditEntry) ProtoMessage

func (*AuditEntry) ProtoMessage()

func (*AuditEntry) ProtoReflect

func (x *AuditEntry) ProtoReflect() protoreflect.Message

func (*AuditEntry) Reset

func (x *AuditEntry) Reset()

func (*AuditEntry) String

func (x *AuditEntry) String() string

type CardInfo

type CardInfo struct {
	Serial        string                 `protobuf:"bytes,1,opt,name=serial,proto3" json:"serial,omitempty"`
	Label         string                 `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
	Model         string                 `protobuf:"bytes,3,opt,name=model,proto3" json:"model,omitempty"`
	Description   string                 `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	Provisioning  string                 `protobuf:"bytes,5,opt,name=provisioning,proto3" json:"provisioning,omitempty"` // "same-keys" / "unique-keys"
	Status        string                 `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`             // "active" / "revoked"
	ProvisionedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=provisioned_at,json=provisionedAt,proto3" json:"provisioned_at,omitempty"`
	Subkeys       []*SubKeyRef           `protobuf:"bytes,8,rep,name=subkeys,proto3" json:"subkeys,omitempty"`
	// contains filtered or unexported fields
}

CardInfo describes a YubiKey known to gpgsmith.

func (*CardInfo) Descriptor deprecated

func (*CardInfo) Descriptor() ([]byte, []int)

Deprecated: Use CardInfo.ProtoReflect.Descriptor instead.

func (*CardInfo) GetDescription

func (x *CardInfo) GetDescription() string

func (*CardInfo) GetLabel

func (x *CardInfo) GetLabel() string

func (*CardInfo) GetModel

func (x *CardInfo) GetModel() string

func (*CardInfo) GetProvisionedAt

func (x *CardInfo) GetProvisionedAt() *timestamppb.Timestamp

func (*CardInfo) GetProvisioning

func (x *CardInfo) GetProvisioning() string

func (*CardInfo) GetSerial

func (x *CardInfo) GetSerial() string

func (*CardInfo) GetStatus

func (x *CardInfo) GetStatus() string

func (*CardInfo) GetSubkeys

func (x *CardInfo) GetSubkeys() []*SubKeyRef

func (*CardInfo) ProtoMessage

func (*CardInfo) ProtoMessage()

func (*CardInfo) ProtoReflect

func (x *CardInfo) ProtoReflect() protoreflect.Message

func (*CardInfo) Reset

func (x *CardInfo) Reset()

func (*CardInfo) String

func (x *CardInfo) String() string

type CreateRequest

type CreateRequest struct {
	Name         string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // real name for the UID
	Email        string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
	Algo         string `protobuf:"bytes,4,opt,name=algo,proto3" json:"algo,omitempty"`                               // master key algo, e.g. "rsa4096"
	Expiry       string `protobuf:"bytes,5,opt,name=expiry,proto3" json:"expiry,omitempty"`                           // master key expiry, e.g. "0" (no expiry)
	SubkeyAlgo   string `protobuf:"bytes,6,opt,name=subkey_algo,json=subkeyAlgo,proto3" json:"subkey_algo,omitempty"` // empty = same as master
	SubkeyExpiry string `protobuf:"bytes,7,opt,name=subkey_expiry,json=subkeyExpiry,proto3" json:"subkey_expiry,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRequest) Descriptor deprecated

func (*CreateRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead.

func (*CreateRequest) GetAlgo

func (x *CreateRequest) GetAlgo() string

func (*CreateRequest) GetEmail

func (x *CreateRequest) GetEmail() string

func (*CreateRequest) GetExpiry

func (x *CreateRequest) GetExpiry() string

func (*CreateRequest) GetName

func (x *CreateRequest) GetName() string

func (*CreateRequest) GetSubkeyAlgo

func (x *CreateRequest) GetSubkeyAlgo() string

func (*CreateRequest) GetSubkeyExpiry

func (x *CreateRequest) GetSubkeyExpiry() string

func (*CreateRequest) ProtoMessage

func (*CreateRequest) ProtoMessage()

func (*CreateRequest) ProtoReflect

func (x *CreateRequest) ProtoReflect() protoreflect.Message

func (*CreateRequest) Reset

func (x *CreateRequest) Reset()

func (*CreateRequest) String

func (x *CreateRequest) String() string

type CreateResponse

type CreateResponse struct {
	MasterFp string    `protobuf:"bytes,1,opt,name=master_fp,json=masterFp,proto3" json:"master_fp,omitempty"`
	Subkeys  []*SubKey `protobuf:"bytes,2,rep,name=subkeys,proto3" json:"subkeys,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateResponse) Descriptor deprecated

func (*CreateResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateResponse.ProtoReflect.Descriptor instead.

func (*CreateResponse) GetMasterFp

func (x *CreateResponse) GetMasterFp() string

func (*CreateResponse) GetSubkeys

func (x *CreateResponse) GetSubkeys() []*SubKey

func (*CreateResponse) ProtoMessage

func (*CreateResponse) ProtoMessage()

func (*CreateResponse) ProtoReflect

func (x *CreateResponse) ProtoReflect() protoreflect.Message

func (*CreateResponse) Reset

func (x *CreateResponse) Reset()

func (*CreateResponse) String

func (x *CreateResponse) String() string

type CreateVaultRequest

type CreateVaultRequest struct {
	Name       string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Path       string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` // absolute directory to create and initialize
	Passphrase string `protobuf:"bytes,3,opt,name=passphrase,proto3" json:"passphrase,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateVaultRequest) Descriptor deprecated

func (*CreateVaultRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateVaultRequest.ProtoReflect.Descriptor instead.

func (*CreateVaultRequest) GetName

func (x *CreateVaultRequest) GetName() string

func (*CreateVaultRequest) GetPassphrase

func (x *CreateVaultRequest) GetPassphrase() string

func (*CreateVaultRequest) GetPath

func (x *CreateVaultRequest) GetPath() string

func (*CreateVaultRequest) ProtoMessage

func (*CreateVaultRequest) ProtoMessage()

func (*CreateVaultRequest) ProtoReflect

func (x *CreateVaultRequest) ProtoReflect() protoreflect.Message

func (*CreateVaultRequest) Reset

func (x *CreateVaultRequest) Reset()

func (*CreateVaultRequest) String

func (x *CreateVaultRequest) String() string

type CreateVaultResponse

type CreateVaultResponse struct {
	Snapshot *Snapshot    `protobuf:"bytes,1,opt,name=snapshot,proto3" json:"snapshot,omitempty"` // the initial empty snapshot
	Session  *SessionInfo `protobuf:"bytes,2,opt,name=session,proto3" json:"session,omitempty"`   // the newly-opened session on the new vault
	Token    string       `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`       // opaque session handle (Gpgsmith-Session header)
	// contains filtered or unexported fields
}

func (*CreateVaultResponse) Descriptor deprecated

func (*CreateVaultResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateVaultResponse.ProtoReflect.Descriptor instead.

func (*CreateVaultResponse) GetSession

func (x *CreateVaultResponse) GetSession() *SessionInfo

func (*CreateVaultResponse) GetSnapshot

func (x *CreateVaultResponse) GetSnapshot() *Snapshot

func (*CreateVaultResponse) GetToken added in v0.5.0

func (x *CreateVaultResponse) GetToken() string

func (*CreateVaultResponse) ProtoMessage

func (*CreateVaultResponse) ProtoMessage()

func (*CreateVaultResponse) ProtoReflect

func (x *CreateVaultResponse) ProtoReflect() protoreflect.Message

func (*CreateVaultResponse) Reset

func (x *CreateVaultResponse) Reset()

func (*CreateVaultResponse) String

func (x *CreateVaultResponse) String() string

type DisableServerRequest

type DisableServerRequest struct {
	Alias string `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias,omitempty"`
	// contains filtered or unexported fields
}

func (*DisableServerRequest) Descriptor deprecated

func (*DisableServerRequest) Descriptor() ([]byte, []int)

Deprecated: Use DisableServerRequest.ProtoReflect.Descriptor instead.

func (*DisableServerRequest) GetAlias

func (x *DisableServerRequest) GetAlias() string

func (*DisableServerRequest) ProtoMessage

func (*DisableServerRequest) ProtoMessage()

func (*DisableServerRequest) ProtoReflect

func (x *DisableServerRequest) ProtoReflect() protoreflect.Message

func (*DisableServerRequest) Reset

func (x *DisableServerRequest) Reset()

func (*DisableServerRequest) String

func (x *DisableServerRequest) String() string

type DisableServerResponse

type DisableServerResponse struct {
	// contains filtered or unexported fields
}

func (*DisableServerResponse) Descriptor deprecated

func (*DisableServerResponse) Descriptor() ([]byte, []int)

Deprecated: Use DisableServerResponse.ProtoReflect.Descriptor instead.

func (*DisableServerResponse) ProtoMessage

func (*DisableServerResponse) ProtoMessage()

func (*DisableServerResponse) ProtoReflect

func (x *DisableServerResponse) ProtoReflect() protoreflect.Message

func (*DisableServerResponse) Reset

func (x *DisableServerResponse) Reset()

func (*DisableServerResponse) String

func (x *DisableServerResponse) String() string

type DiscardRequest

type DiscardRequest struct {
	// contains filtered or unexported fields
}

func (*DiscardRequest) Descriptor deprecated

func (*DiscardRequest) Descriptor() ([]byte, []int)

Deprecated: Use DiscardRequest.ProtoReflect.Descriptor instead.

func (*DiscardRequest) ProtoMessage

func (*DiscardRequest) ProtoMessage()

func (*DiscardRequest) ProtoReflect

func (x *DiscardRequest) ProtoReflect() protoreflect.Message

func (*DiscardRequest) Reset

func (x *DiscardRequest) Reset()

func (*DiscardRequest) String

func (x *DiscardRequest) String() string

type DiscardResponse

type DiscardResponse struct {
	// contains filtered or unexported fields
}

func (*DiscardResponse) Descriptor deprecated

func (*DiscardResponse) Descriptor() ([]byte, []int)

Deprecated: Use DiscardResponse.ProtoReflect.Descriptor instead.

func (*DiscardResponse) ProtoMessage

func (*DiscardResponse) ProtoMessage()

func (*DiscardResponse) ProtoReflect

func (x *DiscardResponse) ProtoReflect() protoreflect.Message

func (*DiscardResponse) Reset

func (x *DiscardResponse) Reset()

func (*DiscardResponse) String

func (x *DiscardResponse) String() string

type DiscoverRequest

type DiscoverRequest struct {
	Label       string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*DiscoverRequest) Descriptor deprecated

func (*DiscoverRequest) Descriptor() ([]byte, []int)

Deprecated: Use DiscoverRequest.ProtoReflect.Descriptor instead.

func (*DiscoverRequest) GetDescription

func (x *DiscoverRequest) GetDescription() string

func (*DiscoverRequest) GetLabel

func (x *DiscoverRequest) GetLabel() string

func (*DiscoverRequest) ProtoMessage

func (*DiscoverRequest) ProtoMessage()

func (*DiscoverRequest) ProtoReflect

func (x *DiscoverRequest) ProtoReflect() protoreflect.Message

func (*DiscoverRequest) Reset

func (x *DiscoverRequest) Reset()

func (*DiscoverRequest) String

func (x *DiscoverRequest) String() string

type DiscoverResponse

type DiscoverResponse struct {
	Card               *CardInfo `protobuf:"bytes,1,opt,name=card,proto3" json:"card,omitempty"`
	AlreadyInInventory bool      `protobuf:"varint,2,opt,name=already_in_inventory,json=alreadyInInventory,proto3" json:"already_in_inventory,omitempty"`
	// contains filtered or unexported fields
}

func (*DiscoverResponse) Descriptor deprecated

func (*DiscoverResponse) Descriptor() ([]byte, []int)

Deprecated: Use DiscoverResponse.ProtoReflect.Descriptor instead.

func (*DiscoverResponse) GetAlreadyInInventory

func (x *DiscoverResponse) GetAlreadyInInventory() bool

func (*DiscoverResponse) GetCard

func (x *DiscoverResponse) GetCard() *CardInfo

func (*DiscoverResponse) ProtoMessage

func (*DiscoverResponse) ProtoMessage()

func (*DiscoverResponse) ProtoReflect

func (x *DiscoverResponse) ProtoReflect() protoreflect.Message

func (*DiscoverResponse) Reset

func (x *DiscoverResponse) Reset()

func (*DiscoverResponse) String

func (x *DiscoverResponse) String() string

type EnableServerRequest

type EnableServerRequest struct {
	Alias string `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias,omitempty"`
	// contains filtered or unexported fields
}

func (*EnableServerRequest) Descriptor deprecated

func (*EnableServerRequest) Descriptor() ([]byte, []int)

Deprecated: Use EnableServerRequest.ProtoReflect.Descriptor instead.

func (*EnableServerRequest) GetAlias

func (x *EnableServerRequest) GetAlias() string

func (*EnableServerRequest) ProtoMessage

func (*EnableServerRequest) ProtoMessage()

func (*EnableServerRequest) ProtoReflect

func (x *EnableServerRequest) ProtoReflect() protoreflect.Message

func (*EnableServerRequest) Reset

func (x *EnableServerRequest) Reset()

func (*EnableServerRequest) String

func (x *EnableServerRequest) String() string

type EnableServerResponse

type EnableServerResponse struct {
	// contains filtered or unexported fields
}

func (*EnableServerResponse) Descriptor deprecated

func (*EnableServerResponse) Descriptor() ([]byte, []int)

Deprecated: Use EnableServerResponse.ProtoReflect.Descriptor instead.

func (*EnableServerResponse) ProtoMessage

func (*EnableServerResponse) ProtoMessage()

func (*EnableServerResponse) ProtoReflect

func (x *EnableServerResponse) ProtoReflect() protoreflect.Message

func (*EnableServerResponse) Reset

func (x *EnableServerResponse) Reset()

func (*EnableServerResponse) String

func (x *EnableServerResponse) String() string

type Event

type Event struct {
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	VaultName string                 `protobuf:"bytes,2,opt,name=vault_name,json=vaultName,proto3" json:"vault_name,omitempty"`
	JobId     string                 `protobuf:"bytes,3,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` // empty for non-job events
	Kind      EventKind              `protobuf:"varint,4,opt,name=kind,proto3,enum=gpgsmith.v1.EventKind" json:"kind,omitempty"`
	Message   string                 `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
	Data      map[string]string      `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

Event is one item in the daemon's pub/sub stream.

func (*Event) Descriptor deprecated

func (*Event) Descriptor() ([]byte, []int)

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetData

func (x *Event) GetData() map[string]string

func (*Event) GetJobId

func (x *Event) GetJobId() string

func (*Event) GetKind

func (x *Event) GetKind() EventKind

func (*Event) GetMessage

func (x *Event) GetMessage() string

func (*Event) GetTimestamp

func (x *Event) GetTimestamp() *timestamppb.Timestamp

func (*Event) GetVaultName

func (x *Event) GetVaultName() string

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

func (x *Event) ProtoReflect() protoreflect.Message

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

type EventKind

type EventKind int32
const (
	EventKind_EVENT_KIND_UNSPECIFIED   EventKind = 0
	EventKind_EVENT_KIND_JOB_STARTED   EventKind = 1
	EventKind_EVENT_KIND_JOB_PROGRESS  EventKind = 2
	EventKind_EVENT_KIND_JOB_PROMPT    EventKind = 3 // daemon needs user input (e.g., "touch your YubiKey")
	EventKind_EVENT_KIND_JOB_COMPLETED EventKind = 4
	EventKind_EVENT_KIND_JOB_FAILED    EventKind = 5
	EventKind_EVENT_KIND_STATE_CHANGED EventKind = 6 // a vault's session state changed (open/seal/discard)
	EventKind_EVENT_KIND_SESSION_ENDED EventKind = 7
)

func (EventKind) Descriptor

func (EventKind) Descriptor() protoreflect.EnumDescriptor

func (EventKind) Enum

func (x EventKind) Enum() *EventKind

func (EventKind) EnumDescriptor deprecated

func (EventKind) EnumDescriptor() ([]byte, []int)

Deprecated: Use EventKind.Descriptor instead.

func (EventKind) Number

func (x EventKind) Number() protoreflect.EnumNumber

func (EventKind) String

func (x EventKind) String() string

func (EventKind) Type

type ExportKeyRequest

type ExportKeyRequest struct {
	// contains filtered or unexported fields
}

func (*ExportKeyRequest) Descriptor deprecated

func (*ExportKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use ExportKeyRequest.ProtoReflect.Descriptor instead.

func (*ExportKeyRequest) ProtoMessage

func (*ExportKeyRequest) ProtoMessage()

func (*ExportKeyRequest) ProtoReflect

func (x *ExportKeyRequest) ProtoReflect() protoreflect.Message

func (*ExportKeyRequest) Reset

func (x *ExportKeyRequest) Reset()

func (*ExportKeyRequest) String

func (x *ExportKeyRequest) String() string

type ExportKeyResponse

type ExportKeyResponse struct {
	Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` // path the public key was exported to
	// contains filtered or unexported fields
}

func (*ExportKeyResponse) Descriptor deprecated

func (*ExportKeyResponse) Descriptor() ([]byte, []int)

Deprecated: Use ExportKeyResponse.ProtoReflect.Descriptor instead.

func (*ExportKeyResponse) GetTarget

func (x *ExportKeyResponse) GetTarget() string

func (*ExportKeyResponse) ProtoMessage

func (*ExportKeyResponse) ProtoMessage()

func (*ExportKeyResponse) ProtoReflect

func (x *ExportKeyResponse) ProtoReflect() protoreflect.Message

func (*ExportKeyResponse) Reset

func (x *ExportKeyResponse) Reset()

func (*ExportKeyResponse) String

func (x *ExportKeyResponse) String() string

type ExportRequest

type ExportRequest struct {
	VaultName  string `protobuf:"bytes,1,opt,name=vault_name,json=vaultName,proto3" json:"vault_name,omitempty"`
	Passphrase string `protobuf:"bytes,2,opt,name=passphrase,proto3" json:"passphrase,omitempty"`
	TargetDir  string `protobuf:"bytes,3,opt,name=target_dir,json=targetDir,proto3" json:"target_dir,omitempty"` // user-supplied destination
	// contains filtered or unexported fields
}

func (*ExportRequest) Descriptor deprecated

func (*ExportRequest) Descriptor() ([]byte, []int)

Deprecated: Use ExportRequest.ProtoReflect.Descriptor instead.

func (*ExportRequest) GetPassphrase

func (x *ExportRequest) GetPassphrase() string

func (*ExportRequest) GetTargetDir

func (x *ExportRequest) GetTargetDir() string

func (*ExportRequest) GetVaultName

func (x *ExportRequest) GetVaultName() string

func (*ExportRequest) ProtoMessage

func (*ExportRequest) ProtoMessage()

func (*ExportRequest) ProtoReflect

func (x *ExportRequest) ProtoReflect() protoreflect.Message

func (*ExportRequest) Reset

func (x *ExportRequest) Reset()

func (*ExportRequest) String

func (x *ExportRequest) String() string

type ExportResponse

type ExportResponse struct {
	TargetDir string `protobuf:"bytes,1,opt,name=target_dir,json=targetDir,proto3" json:"target_dir,omitempty"`
	Snapshot  string `protobuf:"bytes,2,opt,name=snapshot,proto3" json:"snapshot,omitempty"` // basename of the snapshot that was decrypted
	// contains filtered or unexported fields
}

func (*ExportResponse) Descriptor deprecated

func (*ExportResponse) Descriptor() ([]byte, []int)

Deprecated: Use ExportResponse.ProtoReflect.Descriptor instead.

func (*ExportResponse) GetSnapshot

func (x *ExportResponse) GetSnapshot() string

func (*ExportResponse) GetTargetDir

func (x *ExportResponse) GetTargetDir() string

func (*ExportResponse) ProtoMessage

func (*ExportResponse) ProtoMessage()

func (*ExportResponse) ProtoReflect

func (x *ExportResponse) ProtoReflect() protoreflect.Message

func (*ExportResponse) Reset

func (x *ExportResponse) Reset()

func (*ExportResponse) String

func (x *ExportResponse) String() string

type GenerateRequest

type GenerateRequest struct {
	// contains filtered or unexported fields
}

func (*GenerateRequest) Descriptor deprecated

func (*GenerateRequest) Descriptor() ([]byte, []int)

Deprecated: Use GenerateRequest.ProtoReflect.Descriptor instead.

func (*GenerateRequest) ProtoMessage

func (*GenerateRequest) ProtoMessage()

func (*GenerateRequest) ProtoReflect

func (x *GenerateRequest) ProtoReflect() protoreflect.Message

func (*GenerateRequest) Reset

func (x *GenerateRequest) Reset()

func (*GenerateRequest) String

func (x *GenerateRequest) String() string

type GenerateResponse

type GenerateResponse struct {
	Subkeys []*SubKey `protobuf:"bytes,1,rep,name=subkeys,proto3" json:"subkeys,omitempty"`
	// contains filtered or unexported fields
}

func (*GenerateResponse) Descriptor deprecated

func (*GenerateResponse) Descriptor() ([]byte, []int)

Deprecated: Use GenerateResponse.ProtoReflect.Descriptor instead.

func (*GenerateResponse) GetSubkeys

func (x *GenerateResponse) GetSubkeys() []*SubKey

func (*GenerateResponse) ProtoMessage

func (*GenerateResponse) ProtoMessage()

func (*GenerateResponse) ProtoReflect

func (x *GenerateResponse) ProtoReflect() protoreflect.Message

func (*GenerateResponse) Reset

func (x *GenerateResponse) Reset()

func (*GenerateResponse) String

func (x *GenerateResponse) String() string

type Identity

type Identity struct {
	Index    int32                  `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`      // 1-based gpg index, useful for `keys identity revoke 2`
	Validity string                 `protobuf:"bytes,2,opt,name=validity,proto3" json:"validity,omitempty"` // raw validity letter
	Status   string                 `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`     // human-readable: "ultimate", "revoked", "expired", ...
	Created  *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created,proto3" json:"created,omitempty"`
	Revoked  *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=revoked,proto3" json:"revoked,omitempty"` // zero/absent unless revoked
	Hash     string                 `protobuf:"bytes,6,opt,name=hash,proto3" json:"hash,omitempty"`       // gpg's internal uid hash
	Uid      string                 `protobuf:"bytes,7,opt,name=uid,proto3" json:"uid,omitempty"`         // "Name <email@example.com>"
	// contains filtered or unexported fields
}

Identity is a name+email user ID attached to the master key.

func (*Identity) Descriptor deprecated

func (*Identity) Descriptor() ([]byte, []int)

Deprecated: Use Identity.ProtoReflect.Descriptor instead.

func (*Identity) GetCreated

func (x *Identity) GetCreated() *timestamppb.Timestamp

func (*Identity) GetHash

func (x *Identity) GetHash() string

func (*Identity) GetIndex

func (x *Identity) GetIndex() int32

func (*Identity) GetRevoked

func (x *Identity) GetRevoked() *timestamppb.Timestamp

func (*Identity) GetStatus

func (x *Identity) GetStatus() string

func (*Identity) GetUid

func (x *Identity) GetUid() string

func (*Identity) GetValidity

func (x *Identity) GetValidity() string

func (*Identity) ProtoMessage

func (*Identity) ProtoMessage()

func (*Identity) ProtoReflect

func (x *Identity) ProtoReflect() protoreflect.Message

func (*Identity) Reset

func (x *Identity) Reset()

func (*Identity) String

func (x *Identity) String() string

type ImportRequest

type ImportRequest struct {
	SourcePath      string `protobuf:"bytes,1,opt,name=source_path,json=sourcePath,proto3" json:"source_path,omitempty"` // a local directory containing a GNUPGHOME
	Passphrase      string `protobuf:"bytes,2,opt,name=passphrase,proto3" json:"passphrase,omitempty"`
	TargetVaultName string `protobuf:"bytes,3,opt,name=target_vault_name,json=targetVaultName,proto3" json:"target_vault_name,omitempty"` // optional; if empty, the user must seal manually
	// contains filtered or unexported fields
}

func (*ImportRequest) Descriptor deprecated

func (*ImportRequest) Descriptor() ([]byte, []int)

Deprecated: Use ImportRequest.ProtoReflect.Descriptor instead.

func (*ImportRequest) GetPassphrase

func (x *ImportRequest) GetPassphrase() string

func (*ImportRequest) GetSourcePath

func (x *ImportRequest) GetSourcePath() string

func (*ImportRequest) GetTargetVaultName

func (x *ImportRequest) GetTargetVaultName() string

func (*ImportRequest) ProtoMessage

func (*ImportRequest) ProtoMessage()

func (*ImportRequest) ProtoReflect

func (x *ImportRequest) ProtoReflect() protoreflect.Message

func (*ImportRequest) Reset

func (x *ImportRequest) Reset()

func (*ImportRequest) String

func (x *ImportRequest) String() string

type ImportResponse

type ImportResponse struct {
	Snapshot *Snapshot `protobuf:"bytes,1,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
	// contains filtered or unexported fields
}

func (*ImportResponse) Descriptor deprecated

func (*ImportResponse) Descriptor() ([]byte, []int)

Deprecated: Use ImportResponse.ProtoReflect.Descriptor instead.

func (*ImportResponse) GetSnapshot

func (x *ImportResponse) GetSnapshot() *Snapshot

func (*ImportResponse) ProtoMessage

func (*ImportResponse) ProtoMessage()

func (*ImportResponse) ProtoReflect

func (x *ImportResponse) ProtoReflect() protoreflect.Message

func (*ImportResponse) Reset

func (x *ImportResponse) Reset()

func (*ImportResponse) String

func (x *ImportResponse) String() string

type InventoryRequest

type InventoryRequest struct {
	// contains filtered or unexported fields
}

func (*InventoryRequest) Descriptor deprecated

func (*InventoryRequest) Descriptor() ([]byte, []int)

Deprecated: Use InventoryRequest.ProtoReflect.Descriptor instead.

func (*InventoryRequest) ProtoMessage

func (*InventoryRequest) ProtoMessage()

func (*InventoryRequest) ProtoReflect

func (x *InventoryRequest) ProtoReflect() protoreflect.Message

func (*InventoryRequest) Reset

func (x *InventoryRequest) Reset()

func (*InventoryRequest) String

func (x *InventoryRequest) String() string

type InventoryResponse

type InventoryResponse struct {
	Cards []*CardInfo `protobuf:"bytes,1,rep,name=cards,proto3" json:"cards,omitempty"`
	// contains filtered or unexported fields
}

func (*InventoryResponse) Descriptor deprecated

func (*InventoryResponse) Descriptor() ([]byte, []int)

Deprecated: Use InventoryResponse.ProtoReflect.Descriptor instead.

func (*InventoryResponse) GetCards

func (x *InventoryResponse) GetCards() []*CardInfo

func (*InventoryResponse) ProtoMessage

func (*InventoryResponse) ProtoMessage()

func (*InventoryResponse) ProtoReflect

func (x *InventoryResponse) ProtoReflect() protoreflect.Message

func (*InventoryResponse) Reset

func (x *InventoryResponse) Reset()

func (*InventoryResponse) String

func (x *InventoryResponse) String() string

type KeyStatusRequest

type KeyStatusRequest struct {
	// contains filtered or unexported fields
}

func (*KeyStatusRequest) Descriptor deprecated

func (*KeyStatusRequest) Descriptor() ([]byte, []int)

Deprecated: Use KeyStatusRequest.ProtoReflect.Descriptor instead.

func (*KeyStatusRequest) ProtoMessage

func (*KeyStatusRequest) ProtoMessage()

func (*KeyStatusRequest) ProtoReflect

func (x *KeyStatusRequest) ProtoReflect() protoreflect.Message

func (*KeyStatusRequest) Reset

func (x *KeyStatusRequest) Reset()

func (*KeyStatusRequest) String

func (x *KeyStatusRequest) String() string

type KeyStatusResponse

type KeyStatusResponse struct {
	Keys []*SubKey `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
	Card *CardInfo `protobuf:"bytes,2,opt,name=card,proto3" json:"card,omitempty"` // empty if no card detected
	// contains filtered or unexported fields
}

func (*KeyStatusResponse) Descriptor deprecated

func (*KeyStatusResponse) Descriptor() ([]byte, []int)

Deprecated: Use KeyStatusResponse.ProtoReflect.Descriptor instead.

func (*KeyStatusResponse) GetCard

func (x *KeyStatusResponse) GetCard() *CardInfo

func (*KeyStatusResponse) GetKeys

func (x *KeyStatusResponse) GetKeys() []*SubKey

func (*KeyStatusResponse) ProtoMessage

func (*KeyStatusResponse) ProtoMessage()

func (*KeyStatusResponse) ProtoReflect

func (x *KeyStatusResponse) ProtoReflect() protoreflect.Message

func (*KeyStatusResponse) Reset

func (x *KeyStatusResponse) Reset()

func (*KeyStatusResponse) String

func (x *KeyStatusResponse) String() string

type ListIdentitiesRequest

type ListIdentitiesRequest struct {
	// contains filtered or unexported fields
}

func (*ListIdentitiesRequest) Descriptor deprecated

func (*ListIdentitiesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListIdentitiesRequest.ProtoReflect.Descriptor instead.

func (*ListIdentitiesRequest) ProtoMessage

func (*ListIdentitiesRequest) ProtoMessage()

func (*ListIdentitiesRequest) ProtoReflect

func (x *ListIdentitiesRequest) ProtoReflect() protoreflect.Message

func (*ListIdentitiesRequest) Reset

func (x *ListIdentitiesRequest) Reset()

func (*ListIdentitiesRequest) String

func (x *ListIdentitiesRequest) String() string

type ListIdentitiesResponse

type ListIdentitiesResponse struct {
	Identities []*Identity `protobuf:"bytes,1,rep,name=identities,proto3" json:"identities,omitempty"`
	// contains filtered or unexported fields
}

func (*ListIdentitiesResponse) Descriptor deprecated

func (*ListIdentitiesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListIdentitiesResponse.ProtoReflect.Descriptor instead.

func (*ListIdentitiesResponse) GetIdentities

func (x *ListIdentitiesResponse) GetIdentities() []*Identity

func (*ListIdentitiesResponse) ProtoMessage

func (*ListIdentitiesResponse) ProtoMessage()

func (*ListIdentitiesResponse) ProtoReflect

func (x *ListIdentitiesResponse) ProtoReflect() protoreflect.Message

func (*ListIdentitiesResponse) Reset

func (x *ListIdentitiesResponse) Reset()

func (*ListIdentitiesResponse) String

func (x *ListIdentitiesResponse) String() string

type ListKeysRequest

type ListKeysRequest struct {
	// contains filtered or unexported fields
}

func (*ListKeysRequest) Descriptor deprecated

func (*ListKeysRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListKeysRequest.ProtoReflect.Descriptor instead.

func (*ListKeysRequest) ProtoMessage

func (*ListKeysRequest) ProtoMessage()

func (*ListKeysRequest) ProtoReflect

func (x *ListKeysRequest) ProtoReflect() protoreflect.Message

func (*ListKeysRequest) Reset

func (x *ListKeysRequest) Reset()

func (*ListKeysRequest) String

func (x *ListKeysRequest) String() string

type ListKeysResponse

type ListKeysResponse struct {
	Keys []*SubKey `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
	// contains filtered or unexported fields
}

func (*ListKeysResponse) Descriptor deprecated

func (*ListKeysResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListKeysResponse.ProtoReflect.Descriptor instead.

func (*ListKeysResponse) GetKeys

func (x *ListKeysResponse) GetKeys() []*SubKey

func (*ListKeysResponse) ProtoMessage

func (*ListKeysResponse) ProtoMessage()

func (*ListKeysResponse) ProtoReflect

func (x *ListKeysResponse) ProtoReflect() protoreflect.Message

func (*ListKeysResponse) Reset

func (x *ListKeysResponse) Reset()

func (*ListKeysResponse) String

func (x *ListKeysResponse) String() string

type ListRequest

type ListRequest struct {
	// contains filtered or unexported fields
}

func (*ListRequest) Descriptor deprecated

func (*ListRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.

func (*ListRequest) ProtoMessage

func (*ListRequest) ProtoMessage()

func (*ListRequest) ProtoReflect

func (x *ListRequest) ProtoReflect() protoreflect.Message

func (*ListRequest) Reset

func (x *ListRequest) Reset()

func (*ListRequest) String

func (x *ListRequest) String() string

type ListResponse

type ListResponse struct {
	Vaults       []*VaultRegistryEntry `protobuf:"bytes,1,rep,name=vaults,proto3" json:"vaults,omitempty"`
	DefaultVault string                `protobuf:"bytes,2,opt,name=default_vault,json=defaultVault,proto3" json:"default_vault,omitempty"`
	// contains filtered or unexported fields
}

func (*ListResponse) Descriptor deprecated

func (*ListResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.

func (*ListResponse) GetDefaultVault

func (x *ListResponse) GetDefaultVault() string

func (*ListResponse) GetVaults

func (x *ListResponse) GetVaults() []*VaultRegistryEntry

func (*ListResponse) ProtoMessage

func (*ListResponse) ProtoMessage()

func (*ListResponse) ProtoReflect

func (x *ListResponse) ProtoReflect() protoreflect.Message

func (*ListResponse) Reset

func (x *ListResponse) Reset()

func (*ListResponse) String

func (x *ListResponse) String() string

type ListServersRequest

type ListServersRequest struct {
	// contains filtered or unexported fields
}

func (*ListServersRequest) Descriptor deprecated

func (*ListServersRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListServersRequest.ProtoReflect.Descriptor instead.

func (*ListServersRequest) ProtoMessage

func (*ListServersRequest) ProtoMessage()

func (*ListServersRequest) ProtoReflect

func (x *ListServersRequest) ProtoReflect() protoreflect.Message

func (*ListServersRequest) Reset

func (x *ListServersRequest) Reset()

func (*ListServersRequest) String

func (x *ListServersRequest) String() string

type ListServersResponse

type ListServersResponse struct {
	Servers []*PublishServer `protobuf:"bytes,1,rep,name=servers,proto3" json:"servers,omitempty"`
	// contains filtered or unexported fields
}

func (*ListServersResponse) Descriptor deprecated

func (*ListServersResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListServersResponse.ProtoReflect.Descriptor instead.

func (*ListServersResponse) GetServers

func (x *ListServersResponse) GetServers() []*PublishServer

func (*ListServersResponse) ProtoMessage

func (*ListServersResponse) ProtoMessage()

func (*ListServersResponse) ProtoReflect

func (x *ListServersResponse) ProtoReflect() protoreflect.Message

func (*ListServersResponse) Reset

func (x *ListServersResponse) Reset()

func (*ListServersResponse) String

func (x *ListServersResponse) String() string

type ListSessionsRequest

type ListSessionsRequest struct {
	// contains filtered or unexported fields
}

func (*ListSessionsRequest) Descriptor deprecated

func (*ListSessionsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListSessionsRequest.ProtoReflect.Descriptor instead.

func (*ListSessionsRequest) ProtoMessage

func (*ListSessionsRequest) ProtoMessage()

func (*ListSessionsRequest) ProtoReflect

func (x *ListSessionsRequest) ProtoReflect() protoreflect.Message

func (*ListSessionsRequest) Reset

func (x *ListSessionsRequest) Reset()

func (*ListSessionsRequest) String

func (x *ListSessionsRequest) String() string

type ListSessionsResponse

type ListSessionsResponse struct {
	Sessions []*SessionInfo `protobuf:"bytes,1,rep,name=sessions,proto3" json:"sessions,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSessionsResponse) Descriptor deprecated

func (*ListSessionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListSessionsResponse.ProtoReflect.Descriptor instead.

func (*ListSessionsResponse) GetSessions

func (x *ListSessionsResponse) GetSessions() []*SessionInfo

func (*ListSessionsResponse) ProtoMessage

func (*ListSessionsResponse) ProtoMessage()

func (*ListSessionsResponse) ProtoReflect

func (x *ListSessionsResponse) ProtoReflect() protoreflect.Message

func (*ListSessionsResponse) Reset

func (x *ListSessionsResponse) Reset()

func (*ListSessionsResponse) String

func (x *ListSessionsResponse) String() string

type LockSource

type LockSource int32

LockSource identifies which gpgsmith frontend is talking to the daemon. Used in session metadata so the user can see "this session is owned by the web UI on hostX".

const (
	LockSource_LOCK_SOURCE_UNSPECIFIED LockSource = 0
	LockSource_LOCK_SOURCE_CLI         LockSource = 1
	LockSource_LOCK_SOURCE_UI          LockSource = 2
	LockSource_LOCK_SOURCE_TUI         LockSource = 3
)

func (LockSource) Descriptor

func (LockSource) Descriptor() protoreflect.EnumDescriptor

func (LockSource) Enum

func (x LockSource) Enum() *LockSource

func (LockSource) EnumDescriptor deprecated

func (LockSource) EnumDescriptor() ([]byte, []int)

Deprecated: Use LockSource.Descriptor instead.

func (LockSource) Number

func (x LockSource) Number() protoreflect.EnumNumber

func (LockSource) String

func (x LockSource) String() string

func (LockSource) Type

type LookupRequest

type LookupRequest struct {
	// contains filtered or unexported fields
}

func (*LookupRequest) Descriptor deprecated

func (*LookupRequest) Descriptor() ([]byte, []int)

Deprecated: Use LookupRequest.ProtoReflect.Descriptor instead.

func (*LookupRequest) ProtoMessage

func (*LookupRequest) ProtoMessage()

func (*LookupRequest) ProtoReflect

func (x *LookupRequest) ProtoReflect() protoreflect.Message

func (*LookupRequest) Reset

func (x *LookupRequest) Reset()

func (*LookupRequest) String

func (x *LookupRequest) String() string

type LookupResponse

type LookupResponse struct {
	Results []*LookupResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

func (*LookupResponse) Descriptor deprecated

func (*LookupResponse) Descriptor() ([]byte, []int)

Deprecated: Use LookupResponse.ProtoReflect.Descriptor instead.

func (*LookupResponse) GetResults

func (x *LookupResponse) GetResults() []*LookupResult

func (*LookupResponse) ProtoMessage

func (*LookupResponse) ProtoMessage()

func (*LookupResponse) ProtoReflect

func (x *LookupResponse) ProtoReflect() protoreflect.Message

func (*LookupResponse) Reset

func (x *LookupResponse) Reset()

func (*LookupResponse) String

func (x *LookupResponse) String() string

type LookupResult

type LookupResult struct {
	Url    string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // "found" / "not found" / "timeout" / "error: ..."
	// contains filtered or unexported fields
}

func (*LookupResult) Descriptor deprecated

func (*LookupResult) Descriptor() ([]byte, []int)

Deprecated: Use LookupResult.ProtoReflect.Descriptor instead.

func (*LookupResult) GetStatus

func (x *LookupResult) GetStatus() string

func (*LookupResult) GetUrl

func (x *LookupResult) GetUrl() string

func (*LookupResult) ProtoMessage

func (*LookupResult) ProtoMessage()

func (*LookupResult) ProtoReflect

func (x *LookupResult) ProtoReflect() protoreflect.Message

func (*LookupResult) Reset

func (x *LookupResult) Reset()

func (*LookupResult) String

func (x *LookupResult) String() string

type OpenRequest

type OpenRequest struct {
	VaultName  string     `protobuf:"bytes,1,opt,name=vault_name,json=vaultName,proto3" json:"vault_name,omitempty"`
	Passphrase string     `protobuf:"bytes,2,opt,name=passphrase,proto3" json:"passphrase,omitempty"`
	Source     LockSource `protobuf:"varint,3,opt,name=source,proto3,enum=gpgsmith.v1.LockSource" json:"source,omitempty"`
	// contains filtered or unexported fields
}

func (*OpenRequest) Descriptor deprecated

func (*OpenRequest) Descriptor() ([]byte, []int)

Deprecated: Use OpenRequest.ProtoReflect.Descriptor instead.

func (*OpenRequest) GetPassphrase

func (x *OpenRequest) GetPassphrase() string

func (*OpenRequest) GetSource

func (x *OpenRequest) GetSource() LockSource

func (*OpenRequest) GetVaultName

func (x *OpenRequest) GetVaultName() string

func (*OpenRequest) ProtoMessage

func (*OpenRequest) ProtoMessage()

func (*OpenRequest) ProtoReflect

func (x *OpenRequest) ProtoReflect() protoreflect.Message

func (*OpenRequest) Reset

func (x *OpenRequest) Reset()

func (*OpenRequest) String

func (x *OpenRequest) String() string

type OpenResponse

type OpenResponse struct {

	// session is set when the open succeeded with no resume question.
	Session *SessionInfo `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
	// resume_available is set when an existing .session-<host> ephemeral was
	// found and the daemon needs the client to choose resume / discard /
	// cancel via Resume().
	ResumeAvailable *ResumeOption `protobuf:"bytes,2,opt,name=resume_available,json=resumeAvailable,proto3" json:"resume_available,omitempty"`
	// token is the opaque per-session handle the client must send back via
	// the Gpgsmith-Session header on every subsequent session-bearing RPC.
	// Empty when resume_available is set instead of session.
	Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*OpenResponse) Descriptor deprecated

func (*OpenResponse) Descriptor() ([]byte, []int)

Deprecated: Use OpenResponse.ProtoReflect.Descriptor instead.

func (*OpenResponse) GetResumeAvailable

func (x *OpenResponse) GetResumeAvailable() *ResumeOption

func (*OpenResponse) GetSession

func (x *OpenResponse) GetSession() *SessionInfo

func (*OpenResponse) GetToken added in v0.5.0

func (x *OpenResponse) GetToken() string

func (*OpenResponse) ProtoMessage

func (*OpenResponse) ProtoMessage()

func (*OpenResponse) ProtoReflect

func (x *OpenResponse) ProtoReflect() protoreflect.Message

func (*OpenResponse) Reset

func (x *OpenResponse) Reset()

func (*OpenResponse) String

func (x *OpenResponse) String() string

type PrimaryIdentityRequest

type PrimaryIdentityRequest struct {
	Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
	// contains filtered or unexported fields
}

func (*PrimaryIdentityRequest) Descriptor deprecated

func (*PrimaryIdentityRequest) Descriptor() ([]byte, []int)

Deprecated: Use PrimaryIdentityRequest.ProtoReflect.Descriptor instead.

func (*PrimaryIdentityRequest) GetUid

func (x *PrimaryIdentityRequest) GetUid() string

func (*PrimaryIdentityRequest) ProtoMessage

func (*PrimaryIdentityRequest) ProtoMessage()

func (*PrimaryIdentityRequest) ProtoReflect

func (x *PrimaryIdentityRequest) ProtoReflect() protoreflect.Message

func (*PrimaryIdentityRequest) Reset

func (x *PrimaryIdentityRequest) Reset()

func (*PrimaryIdentityRequest) String

func (x *PrimaryIdentityRequest) String() string

type PrimaryIdentityResponse

type PrimaryIdentityResponse struct {
	// contains filtered or unexported fields
}

func (*PrimaryIdentityResponse) Descriptor deprecated

func (*PrimaryIdentityResponse) Descriptor() ([]byte, []int)

Deprecated: Use PrimaryIdentityResponse.ProtoReflect.Descriptor instead.

func (*PrimaryIdentityResponse) ProtoMessage

func (*PrimaryIdentityResponse) ProtoMessage()

func (*PrimaryIdentityResponse) ProtoReflect

func (x *PrimaryIdentityResponse) ProtoReflect() protoreflect.Message

func (*PrimaryIdentityResponse) Reset

func (x *PrimaryIdentityResponse) Reset()

func (*PrimaryIdentityResponse) String

func (x *PrimaryIdentityResponse) String() string

type ProvisionRequest

type ProvisionRequest struct {
	Label       string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	SameKeys    bool   `protobuf:"varint,4,opt,name=same_keys,json=sameKeys,proto3" json:"same_keys,omitempty"`
	UniqueKeys  bool   `protobuf:"varint,5,opt,name=unique_keys,json=uniqueKeys,proto3" json:"unique_keys,omitempty"`
	// contains filtered or unexported fields
}

func (*ProvisionRequest) Descriptor deprecated

func (*ProvisionRequest) Descriptor() ([]byte, []int)

Deprecated: Use ProvisionRequest.ProtoReflect.Descriptor instead.

func (*ProvisionRequest) GetDescription

func (x *ProvisionRequest) GetDescription() string

func (*ProvisionRequest) GetLabel

func (x *ProvisionRequest) GetLabel() string

func (*ProvisionRequest) GetSameKeys

func (x *ProvisionRequest) GetSameKeys() bool

func (*ProvisionRequest) GetUniqueKeys

func (x *ProvisionRequest) GetUniqueKeys() bool

func (*ProvisionRequest) ProtoMessage

func (*ProvisionRequest) ProtoMessage()

func (*ProvisionRequest) ProtoReflect

func (x *ProvisionRequest) ProtoReflect() protoreflect.Message

func (*ProvisionRequest) Reset

func (x *ProvisionRequest) Reset()

func (*ProvisionRequest) String

func (x *ProvisionRequest) String() string

type ProvisionResponse

type ProvisionResponse struct {
	Card          *CardInfo `protobuf:"bytes,1,opt,name=card,proto3" json:"card,omitempty"`
	SshPubkeyPath string    `protobuf:"bytes,2,opt,name=ssh_pubkey_path,json=sshPubkeyPath,proto3" json:"ssh_pubkey_path,omitempty"`
	// contains filtered or unexported fields
}

func (*ProvisionResponse) Descriptor deprecated

func (*ProvisionResponse) Descriptor() ([]byte, []int)

Deprecated: Use ProvisionResponse.ProtoReflect.Descriptor instead.

func (*ProvisionResponse) GetCard

func (x *ProvisionResponse) GetCard() *CardInfo

func (*ProvisionResponse) GetSshPubkeyPath

func (x *ProvisionResponse) GetSshPubkeyPath() string

func (*ProvisionResponse) ProtoMessage

func (*ProvisionResponse) ProtoMessage()

func (*ProvisionResponse) ProtoReflect

func (x *ProvisionResponse) ProtoReflect() protoreflect.Message

func (*ProvisionResponse) Reset

func (x *ProvisionResponse) Reset()

func (*ProvisionResponse) String

func (x *ProvisionResponse) String() string

type PublishRequest

type PublishRequest struct {
	Aliases []string `protobuf:"bytes,2,rep,name=aliases,proto3" json:"aliases,omitempty"` // empty = all enabled
	// contains filtered or unexported fields
}

func (*PublishRequest) Descriptor deprecated

func (*PublishRequest) Descriptor() ([]byte, []int)

Deprecated: Use PublishRequest.ProtoReflect.Descriptor instead.

func (*PublishRequest) GetAliases

func (x *PublishRequest) GetAliases() []string

func (*PublishRequest) ProtoMessage

func (*PublishRequest) ProtoMessage()

func (*PublishRequest) ProtoReflect

func (x *PublishRequest) ProtoReflect() protoreflect.Message

func (*PublishRequest) Reset

func (x *PublishRequest) Reset()

func (*PublishRequest) String

func (x *PublishRequest) String() string

type PublishResponse

type PublishResponse struct {
	Results []*PublishResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

func (*PublishResponse) Descriptor deprecated

func (*PublishResponse) Descriptor() ([]byte, []int)

Deprecated: Use PublishResponse.ProtoReflect.Descriptor instead.

func (*PublishResponse) GetResults

func (x *PublishResponse) GetResults() []*PublishResult

func (*PublishResponse) ProtoMessage

func (*PublishResponse) ProtoMessage()

func (*PublishResponse) ProtoReflect

func (x *PublishResponse) ProtoReflect() protoreflect.Message

func (*PublishResponse) Reset

func (x *PublishResponse) Reset()

func (*PublishResponse) String

func (x *PublishResponse) String() string

type PublishResult

type PublishResult struct {
	Alias   string `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"`
	Success bool   `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"`
	Error   string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` // empty when success
	// contains filtered or unexported fields
}

func (*PublishResult) Descriptor deprecated

func (*PublishResult) Descriptor() ([]byte, []int)

Deprecated: Use PublishResult.ProtoReflect.Descriptor instead.

func (*PublishResult) GetAlias

func (x *PublishResult) GetAlias() string

func (*PublishResult) GetError

func (x *PublishResult) GetError() string

func (*PublishResult) GetSuccess

func (x *PublishResult) GetSuccess() bool

func (*PublishResult) ProtoMessage

func (*PublishResult) ProtoMessage()

func (*PublishResult) ProtoReflect

func (x *PublishResult) ProtoReflect() protoreflect.Message

func (*PublishResult) Reset

func (x *PublishResult) Reset()

func (*PublishResult) String

func (x *PublishResult) String() string

type PublishServer

type PublishServer struct {
	Alias   string `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"`
	Type    string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // "keyserver" or "github"
	Url     string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`   // empty for github
	Enabled bool   `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

PublishServer is one entry in the publish target registry.

func (*PublishServer) Descriptor deprecated

func (*PublishServer) Descriptor() ([]byte, []int)

Deprecated: Use PublishServer.ProtoReflect.Descriptor instead.

func (*PublishServer) GetAlias

func (x *PublishServer) GetAlias() string

func (*PublishServer) GetEnabled

func (x *PublishServer) GetEnabled() bool

func (*PublishServer) GetType

func (x *PublishServer) GetType() string

func (*PublishServer) GetUrl

func (x *PublishServer) GetUrl() string

func (*PublishServer) ProtoMessage

func (*PublishServer) ProtoMessage()

func (*PublishServer) ProtoReflect

func (x *PublishServer) ProtoReflect() protoreflect.Message

func (*PublishServer) Reset

func (x *PublishServer) Reset()

func (*PublishServer) String

func (x *PublishServer) String() string

type RemoveServerRequest

type RemoveServerRequest struct {
	Alias string `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveServerRequest) Descriptor deprecated

func (*RemoveServerRequest) Descriptor() ([]byte, []int)

Deprecated: Use RemoveServerRequest.ProtoReflect.Descriptor instead.

func (*RemoveServerRequest) GetAlias

func (x *RemoveServerRequest) GetAlias() string

func (*RemoveServerRequest) ProtoMessage

func (*RemoveServerRequest) ProtoMessage()

func (*RemoveServerRequest) ProtoReflect

func (x *RemoveServerRequest) ProtoReflect() protoreflect.Message

func (*RemoveServerRequest) Reset

func (x *RemoveServerRequest) Reset()

func (*RemoveServerRequest) String

func (x *RemoveServerRequest) String() string

type RemoveServerResponse

type RemoveServerResponse struct {
	// contains filtered or unexported fields
}

func (*RemoveServerResponse) Descriptor deprecated

func (*RemoveServerResponse) Descriptor() ([]byte, []int)

Deprecated: Use RemoveServerResponse.ProtoReflect.Descriptor instead.

func (*RemoveServerResponse) ProtoMessage

func (*RemoveServerResponse) ProtoMessage()

func (*RemoveServerResponse) ProtoReflect

func (x *RemoveServerResponse) ProtoReflect() protoreflect.Message

func (*RemoveServerResponse) Reset

func (x *RemoveServerResponse) Reset()

func (*RemoveServerResponse) String

func (x *RemoveServerResponse) String() string

type ResumeOption

type ResumeOption struct {
	CanonicalBase string                 `protobuf:"bytes,1,opt,name=canonical_base,json=canonicalBase,proto3" json:"canonical_base,omitempty"`
	Hostname      string                 `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"`
	Source        LockSource             `protobuf:"varint,3,opt,name=source,proto3,enum=gpgsmith.v1.LockSource" json:"source,omitempty"`
	StartedAt     *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	LastHeartbeat *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_heartbeat,json=lastHeartbeat,proto3" json:"last_heartbeat,omitempty"`
	Status        string                 `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`
	Divergent     bool                   `protobuf:"varint,7,opt,name=divergent,proto3" json:"divergent,omitempty"` // true if a newer canonical exists than the one this was based on
	// contains filtered or unexported fields
}

ResumeOption describes a recoverable .session-<host> ephemeral that the daemon discovered when listing a vault. Returned to clients so they can prompt the user to resume / discard / cancel.

func (*ResumeOption) Descriptor deprecated

func (*ResumeOption) Descriptor() ([]byte, []int)

Deprecated: Use ResumeOption.ProtoReflect.Descriptor instead.

func (*ResumeOption) GetCanonicalBase

func (x *ResumeOption) GetCanonicalBase() string

func (*ResumeOption) GetDivergent

func (x *ResumeOption) GetDivergent() bool

func (*ResumeOption) GetHostname

func (x *ResumeOption) GetHostname() string

func (*ResumeOption) GetLastHeartbeat

func (x *ResumeOption) GetLastHeartbeat() *timestamppb.Timestamp

func (*ResumeOption) GetSource

func (x *ResumeOption) GetSource() LockSource

func (*ResumeOption) GetStartedAt

func (x *ResumeOption) GetStartedAt() *timestamppb.Timestamp

func (*ResumeOption) GetStatus

func (x *ResumeOption) GetStatus() string

func (*ResumeOption) ProtoMessage

func (*ResumeOption) ProtoMessage()

func (*ResumeOption) ProtoReflect

func (x *ResumeOption) ProtoReflect() protoreflect.Message

func (*ResumeOption) Reset

func (x *ResumeOption) Reset()

func (*ResumeOption) String

func (x *ResumeOption) String() string

type ResumeRequest

type ResumeRequest struct {
	VaultName  string               `protobuf:"bytes,1,opt,name=vault_name,json=vaultName,proto3" json:"vault_name,omitempty"`
	Passphrase string               `protobuf:"bytes,2,opt,name=passphrase,proto3" json:"passphrase,omitempty"`
	Source     LockSource           `protobuf:"varint,3,opt,name=source,proto3,enum=gpgsmith.v1.LockSource" json:"source,omitempty"`
	Action     ResumeRequest_Action `protobuf:"varint,4,opt,name=action,proto3,enum=gpgsmith.v1.ResumeRequest_Action" json:"action,omitempty"`
	// contains filtered or unexported fields
}

func (*ResumeRequest) Descriptor deprecated

func (*ResumeRequest) Descriptor() ([]byte, []int)

Deprecated: Use ResumeRequest.ProtoReflect.Descriptor instead.

func (*ResumeRequest) GetAction

func (x *ResumeRequest) GetAction() ResumeRequest_Action

func (*ResumeRequest) GetPassphrase

func (x *ResumeRequest) GetPassphrase() string

func (*ResumeRequest) GetSource

func (x *ResumeRequest) GetSource() LockSource

func (*ResumeRequest) GetVaultName

func (x *ResumeRequest) GetVaultName() string

func (*ResumeRequest) ProtoMessage

func (*ResumeRequest) ProtoMessage()

func (*ResumeRequest) ProtoReflect

func (x *ResumeRequest) ProtoReflect() protoreflect.Message

func (*ResumeRequest) Reset

func (x *ResumeRequest) Reset()

func (*ResumeRequest) String

func (x *ResumeRequest) String() string

type ResumeRequest_Action

type ResumeRequest_Action int32
const (
	ResumeRequest_ACTION_UNSPECIFIED ResumeRequest_Action = 0
	ResumeRequest_ACTION_RESUME      ResumeRequest_Action = 1
	ResumeRequest_ACTION_DISCARD     ResumeRequest_Action = 2
)

func (ResumeRequest_Action) Descriptor

func (ResumeRequest_Action) Enum

func (ResumeRequest_Action) EnumDescriptor deprecated

func (ResumeRequest_Action) EnumDescriptor() ([]byte, []int)

Deprecated: Use ResumeRequest_Action.Descriptor instead.

func (ResumeRequest_Action) Number

func (ResumeRequest_Action) String

func (x ResumeRequest_Action) String() string

func (ResumeRequest_Action) Type

type ResumeResponse

type ResumeResponse struct {
	Session *SessionInfo `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
	// token is the opaque per-session handle for the resumed session.
	Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*ResumeResponse) Descriptor deprecated

func (*ResumeResponse) Descriptor() ([]byte, []int)

Deprecated: Use ResumeResponse.ProtoReflect.Descriptor instead.

func (*ResumeResponse) GetSession

func (x *ResumeResponse) GetSession() *SessionInfo

func (*ResumeResponse) GetToken added in v0.5.0

func (x *ResumeResponse) GetToken() string

func (*ResumeResponse) ProtoMessage

func (*ResumeResponse) ProtoMessage()

func (*ResumeResponse) ProtoReflect

func (x *ResumeResponse) ProtoReflect() protoreflect.Message

func (*ResumeResponse) Reset

func (x *ResumeResponse) Reset()

func (*ResumeResponse) String

func (x *ResumeResponse) String() string

type RevokeCardRequest

type RevokeCardRequest struct {
	Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
	// contains filtered or unexported fields
}

func (*RevokeCardRequest) Descriptor deprecated

func (*RevokeCardRequest) Descriptor() ([]byte, []int)

Deprecated: Use RevokeCardRequest.ProtoReflect.Descriptor instead.

func (*RevokeCardRequest) GetLabel

func (x *RevokeCardRequest) GetLabel() string

func (*RevokeCardRequest) ProtoMessage

func (*RevokeCardRequest) ProtoMessage()

func (*RevokeCardRequest) ProtoReflect

func (x *RevokeCardRequest) ProtoReflect() protoreflect.Message

func (*RevokeCardRequest) Reset

func (x *RevokeCardRequest) Reset()

func (*RevokeCardRequest) String

func (x *RevokeCardRequest) String() string

type RevokeCardResponse

type RevokeCardResponse struct {
	// contains filtered or unexported fields
}

func (*RevokeCardResponse) Descriptor deprecated

func (*RevokeCardResponse) Descriptor() ([]byte, []int)

Deprecated: Use RevokeCardResponse.ProtoReflect.Descriptor instead.

func (*RevokeCardResponse) ProtoMessage

func (*RevokeCardResponse) ProtoMessage()

func (*RevokeCardResponse) ProtoReflect

func (x *RevokeCardResponse) ProtoReflect() protoreflect.Message

func (*RevokeCardResponse) Reset

func (x *RevokeCardResponse) Reset()

func (*RevokeCardResponse) String

func (x *RevokeCardResponse) String() string

type RevokeIdentityRequest

type RevokeIdentityRequest struct {
	Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
	// contains filtered or unexported fields
}

func (*RevokeIdentityRequest) Descriptor deprecated

func (*RevokeIdentityRequest) Descriptor() ([]byte, []int)

Deprecated: Use RevokeIdentityRequest.ProtoReflect.Descriptor instead.

func (*RevokeIdentityRequest) GetUid

func (x *RevokeIdentityRequest) GetUid() string

func (*RevokeIdentityRequest) ProtoMessage

func (*RevokeIdentityRequest) ProtoMessage()

func (*RevokeIdentityRequest) ProtoReflect

func (x *RevokeIdentityRequest) ProtoReflect() protoreflect.Message

func (*RevokeIdentityRequest) Reset

func (x *RevokeIdentityRequest) Reset()

func (*RevokeIdentityRequest) String

func (x *RevokeIdentityRequest) String() string

type RevokeIdentityResponse

type RevokeIdentityResponse struct {
	// contains filtered or unexported fields
}

func (*RevokeIdentityResponse) Descriptor deprecated

func (*RevokeIdentityResponse) Descriptor() ([]byte, []int)

Deprecated: Use RevokeIdentityResponse.ProtoReflect.Descriptor instead.

func (*RevokeIdentityResponse) ProtoMessage

func (*RevokeIdentityResponse) ProtoMessage()

func (*RevokeIdentityResponse) ProtoReflect

func (x *RevokeIdentityResponse) ProtoReflect() protoreflect.Message

func (*RevokeIdentityResponse) Reset

func (x *RevokeIdentityResponse) Reset()

func (*RevokeIdentityResponse) String

func (x *RevokeIdentityResponse) String() string

type RevokeRequest

type RevokeRequest struct {
	KeyId string `protobuf:"bytes,2,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RevokeRequest) Descriptor deprecated

func (*RevokeRequest) Descriptor() ([]byte, []int)

Deprecated: Use RevokeRequest.ProtoReflect.Descriptor instead.

func (*RevokeRequest) GetKeyId

func (x *RevokeRequest) GetKeyId() string

func (*RevokeRequest) ProtoMessage

func (*RevokeRequest) ProtoMessage()

func (*RevokeRequest) ProtoReflect

func (x *RevokeRequest) ProtoReflect() protoreflect.Message

func (*RevokeRequest) Reset

func (x *RevokeRequest) Reset()

func (*RevokeRequest) String

func (x *RevokeRequest) String() string

type RevokeResponse

type RevokeResponse struct {
	// contains filtered or unexported fields
}

func (*RevokeResponse) Descriptor deprecated

func (*RevokeResponse) Descriptor() ([]byte, []int)

Deprecated: Use RevokeResponse.ProtoReflect.Descriptor instead.

func (*RevokeResponse) ProtoMessage

func (*RevokeResponse) ProtoMessage()

func (*RevokeResponse) ProtoReflect

func (x *RevokeResponse) ProtoReflect() protoreflect.Message

func (*RevokeResponse) Reset

func (x *RevokeResponse) Reset()

func (*RevokeResponse) String

func (x *RevokeResponse) String() string

type RotateRequest

type RotateRequest struct {
	Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
	// contains filtered or unexported fields
}

func (*RotateRequest) Descriptor deprecated

func (*RotateRequest) Descriptor() ([]byte, []int)

Deprecated: Use RotateRequest.ProtoReflect.Descriptor instead.

func (*RotateRequest) GetLabel

func (x *RotateRequest) GetLabel() string

func (*RotateRequest) ProtoMessage

func (*RotateRequest) ProtoMessage()

func (*RotateRequest) ProtoReflect

func (x *RotateRequest) ProtoReflect() protoreflect.Message

func (*RotateRequest) Reset

func (x *RotateRequest) Reset()

func (*RotateRequest) String

func (x *RotateRequest) String() string

type RotateResponse

type RotateResponse struct {
	Card *CardInfo `protobuf:"bytes,1,opt,name=card,proto3" json:"card,omitempty"`
	// contains filtered or unexported fields
}

func (*RotateResponse) Descriptor deprecated

func (*RotateResponse) Descriptor() ([]byte, []int)

Deprecated: Use RotateResponse.ProtoReflect.Descriptor instead.

func (*RotateResponse) GetCard

func (x *RotateResponse) GetCard() *CardInfo

func (*RotateResponse) ProtoMessage

func (*RotateResponse) ProtoMessage()

func (*RotateResponse) ProtoReflect

func (x *RotateResponse) ProtoReflect() protoreflect.Message

func (*RotateResponse) Reset

func (x *RotateResponse) Reset()

func (*RotateResponse) String

func (x *RotateResponse) String() string

type SSHPubKeyRequest

type SSHPubKeyRequest struct {
	// contains filtered or unexported fields
}

func (*SSHPubKeyRequest) Descriptor deprecated

func (*SSHPubKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use SSHPubKeyRequest.ProtoReflect.Descriptor instead.

func (*SSHPubKeyRequest) ProtoMessage

func (*SSHPubKeyRequest) ProtoMessage()

func (*SSHPubKeyRequest) ProtoReflect

func (x *SSHPubKeyRequest) ProtoReflect() protoreflect.Message

func (*SSHPubKeyRequest) Reset

func (x *SSHPubKeyRequest) Reset()

func (*SSHPubKeyRequest) String

func (x *SSHPubKeyRequest) String() string

type SSHPubKeyResponse

type SSHPubKeyResponse struct {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // path to the .pub file
	// contains filtered or unexported fields
}

func (*SSHPubKeyResponse) Descriptor deprecated

func (*SSHPubKeyResponse) Descriptor() ([]byte, []int)

Deprecated: Use SSHPubKeyResponse.ProtoReflect.Descriptor instead.

func (*SSHPubKeyResponse) GetPath

func (x *SSHPubKeyResponse) GetPath() string

func (*SSHPubKeyResponse) ProtoMessage

func (*SSHPubKeyResponse) ProtoMessage()

func (*SSHPubKeyResponse) ProtoReflect

func (x *SSHPubKeyResponse) ProtoReflect() protoreflect.Message

func (*SSHPubKeyResponse) Reset

func (x *SSHPubKeyResponse) Reset()

func (*SSHPubKeyResponse) String

func (x *SSHPubKeyResponse) String() string

type SealRequest

type SealRequest struct {

	// Session is identified by the Gpgsmith-Session header.
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*SealRequest) Descriptor deprecated

func (*SealRequest) Descriptor() ([]byte, []int)

Deprecated: Use SealRequest.ProtoReflect.Descriptor instead.

func (*SealRequest) GetMessage

func (x *SealRequest) GetMessage() string

func (*SealRequest) ProtoMessage

func (*SealRequest) ProtoMessage()

func (*SealRequest) ProtoReflect

func (x *SealRequest) ProtoReflect() protoreflect.Message

func (*SealRequest) Reset

func (x *SealRequest) Reset()

func (*SealRequest) String

func (x *SealRequest) String() string

type SealResponse

type SealResponse struct {
	Snapshot *Snapshot `protobuf:"bytes,1,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
	// contains filtered or unexported fields
}

func (*SealResponse) Descriptor deprecated

func (*SealResponse) Descriptor() ([]byte, []int)

Deprecated: Use SealResponse.ProtoReflect.Descriptor instead.

func (*SealResponse) GetSnapshot

func (x *SealResponse) GetSnapshot() *Snapshot

func (*SealResponse) ProtoMessage

func (*SealResponse) ProtoMessage()

func (*SealResponse) ProtoReflect

func (x *SealResponse) ProtoReflect() protoreflect.Message

func (*SealResponse) Reset

func (x *SealResponse) Reset()

func (*SealResponse) String

func (x *SealResponse) String() string

type SessionInfo

type SessionInfo struct {
	VaultName      string                 `protobuf:"bytes,1,opt,name=vault_name,json=vaultName,proto3" json:"vault_name,omitempty"`
	VaultPath      string                 `protobuf:"bytes,2,opt,name=vault_path,json=vaultPath,proto3" json:"vault_path,omitempty"`
	Source         LockSource             `protobuf:"varint,3,opt,name=source,proto3,enum=gpgsmith.v1.LockSource" json:"source,omitempty"`
	Hostname       string                 `protobuf:"bytes,4,opt,name=hostname,proto3" json:"hostname,omitempty"`
	StartedAt      *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	LastActiveAt   *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=last_active_at,json=lastActiveAt,proto3" json:"last_active_at,omitempty"`
	SourceSnapshot string                 `protobuf:"bytes,7,opt,name=source_snapshot,json=sourceSnapshot,proto3" json:"source_snapshot,omitempty"` // basename of the canonical it was opened from
	MasterFp       string                 `protobuf:"bytes,8,opt,name=master_fp,json=masterFp,proto3" json:"master_fp,omitempty"`                   // empty if no key generated yet
	Generation     uint64                 `protobuf:"varint,9,opt,name=generation,proto3" json:"generation,omitempty"`                              // mutation counter
	Status         string                 `protobuf:"bytes,10,opt,name=status,proto3" json:"status,omitempty"`                                      // "active" / "idle-sealed"
	// contains filtered or unexported fields
}

SessionInfo describes one session currently held by the daemon.

func (*SessionInfo) Descriptor deprecated

func (*SessionInfo) Descriptor() ([]byte, []int)

Deprecated: Use SessionInfo.ProtoReflect.Descriptor instead.

func (*SessionInfo) GetGeneration

func (x *SessionInfo) GetGeneration() uint64

func (*SessionInfo) GetHostname

func (x *SessionInfo) GetHostname() string

func (*SessionInfo) GetLastActiveAt

func (x *SessionInfo) GetLastActiveAt() *timestamppb.Timestamp

func (*SessionInfo) GetMasterFp

func (x *SessionInfo) GetMasterFp() string

func (*SessionInfo) GetSource

func (x *SessionInfo) GetSource() LockSource

func (*SessionInfo) GetSourceSnapshot

func (x *SessionInfo) GetSourceSnapshot() string

func (*SessionInfo) GetStartedAt

func (x *SessionInfo) GetStartedAt() *timestamppb.Timestamp

func (*SessionInfo) GetStatus

func (x *SessionInfo) GetStatus() string

func (*SessionInfo) GetVaultName

func (x *SessionInfo) GetVaultName() string

func (*SessionInfo) GetVaultPath

func (x *SessionInfo) GetVaultPath() string

func (*SessionInfo) ProtoMessage

func (*SessionInfo) ProtoMessage()

func (*SessionInfo) ProtoReflect

func (x *SessionInfo) ProtoReflect() protoreflect.Message

func (*SessionInfo) Reset

func (x *SessionInfo) Reset()

func (*SessionInfo) String

func (x *SessionInfo) String() string

type ShowRequest

type ShowRequest struct {
	Last int32 `protobuf:"varint,2,opt,name=last,proto3" json:"last,omitempty"` // optional limit; 0 = all
	// contains filtered or unexported fields
}

Session is identified by the Gpgsmith-Session header. Field 1 is reserved.

func (*ShowRequest) Descriptor deprecated

func (*ShowRequest) Descriptor() ([]byte, []int)

Deprecated: Use ShowRequest.ProtoReflect.Descriptor instead.

func (*ShowRequest) GetLast

func (x *ShowRequest) GetLast() int32

func (*ShowRequest) ProtoMessage

func (*ShowRequest) ProtoMessage()

func (*ShowRequest) ProtoReflect

func (x *ShowRequest) ProtoReflect() protoreflect.Message

func (*ShowRequest) Reset

func (x *ShowRequest) Reset()

func (*ShowRequest) String

func (x *ShowRequest) String() string

type ShowResponse

type ShowResponse struct {
	Entries []*AuditEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
	// contains filtered or unexported fields
}

func (*ShowResponse) Descriptor deprecated

func (*ShowResponse) Descriptor() ([]byte, []int)

Deprecated: Use ShowResponse.ProtoReflect.Descriptor instead.

func (*ShowResponse) GetEntries

func (x *ShowResponse) GetEntries() []*AuditEntry

func (*ShowResponse) ProtoMessage

func (*ShowResponse) ProtoMessage()

func (*ShowResponse) ProtoReflect

func (x *ShowResponse) ProtoReflect() protoreflect.Message

func (*ShowResponse) Reset

func (x *ShowResponse) Reset()

func (*ShowResponse) String

func (x *ShowResponse) String() string

type ShutdownRequest

type ShutdownRequest struct {

	// GracefulTimeoutSeconds caps how long the daemon will wait for graceful
	// session cleanup before forcing exit. Zero means use the daemon default.
	GracefulTimeoutSeconds int32 `` /* 130-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ShutdownRequest) Descriptor deprecated

func (*ShutdownRequest) Descriptor() ([]byte, []int)

Deprecated: Use ShutdownRequest.ProtoReflect.Descriptor instead.

func (*ShutdownRequest) GetGracefulTimeoutSeconds

func (x *ShutdownRequest) GetGracefulTimeoutSeconds() int32

func (*ShutdownRequest) ProtoMessage

func (*ShutdownRequest) ProtoMessage()

func (*ShutdownRequest) ProtoReflect

func (x *ShutdownRequest) ProtoReflect() protoreflect.Message

func (*ShutdownRequest) Reset

func (x *ShutdownRequest) Reset()

func (*ShutdownRequest) String

func (x *ShutdownRequest) String() string

type ShutdownResponse

type ShutdownResponse struct {
	// contains filtered or unexported fields
}

func (*ShutdownResponse) Descriptor deprecated

func (*ShutdownResponse) Descriptor() ([]byte, []int)

Deprecated: Use ShutdownResponse.ProtoReflect.Descriptor instead.

func (*ShutdownResponse) ProtoMessage

func (*ShutdownResponse) ProtoMessage()

func (*ShutdownResponse) ProtoReflect

func (x *ShutdownResponse) ProtoReflect() protoreflect.Message

func (*ShutdownResponse) Reset

func (x *ShutdownResponse) Reset()

func (*ShutdownResponse) String

func (x *ShutdownResponse) String() string

type Snapshot

type Snapshot struct {
	Path      string                 `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`         // absolute path to the .tar.age file
	Filename  string                 `protobuf:"bytes,2,opt,name=filename,proto3" json:"filename,omitempty"` // basename only
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Message   string                 `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` // human-supplied seal message
	// contains filtered or unexported fields
}

Snapshot is one canonical age-encrypted snapshot in a vault directory.

func (*Snapshot) Descriptor deprecated

func (*Snapshot) Descriptor() ([]byte, []int)

Deprecated: Use Snapshot.ProtoReflect.Descriptor instead.

func (*Snapshot) GetFilename

func (x *Snapshot) GetFilename() string

func (*Snapshot) GetMessage

func (x *Snapshot) GetMessage() string

func (*Snapshot) GetPath

func (x *Snapshot) GetPath() string

func (*Snapshot) GetTimestamp

func (x *Snapshot) GetTimestamp() *timestamppb.Timestamp

func (*Snapshot) ProtoMessage

func (*Snapshot) ProtoMessage()

func (*Snapshot) ProtoReflect

func (x *Snapshot) ProtoReflect() protoreflect.Message

func (*Snapshot) Reset

func (x *Snapshot) Reset()

func (*Snapshot) String

func (x *Snapshot) String() string

type SnapshotsRequest

type SnapshotsRequest struct {
	VaultName string `protobuf:"bytes,1,opt,name=vault_name,json=vaultName,proto3" json:"vault_name,omitempty"`
	// contains filtered or unexported fields
}

func (*SnapshotsRequest) Descriptor deprecated

func (*SnapshotsRequest) Descriptor() ([]byte, []int)

Deprecated: Use SnapshotsRequest.ProtoReflect.Descriptor instead.

func (*SnapshotsRequest) GetVaultName

func (x *SnapshotsRequest) GetVaultName() string

func (*SnapshotsRequest) ProtoMessage

func (*SnapshotsRequest) ProtoMessage()

func (*SnapshotsRequest) ProtoReflect

func (x *SnapshotsRequest) ProtoReflect() protoreflect.Message

func (*SnapshotsRequest) Reset

func (x *SnapshotsRequest) Reset()

func (*SnapshotsRequest) String

func (x *SnapshotsRequest) String() string

type SnapshotsResponse

type SnapshotsResponse struct {
	Snapshots []*Snapshot `protobuf:"bytes,1,rep,name=snapshots,proto3" json:"snapshots,omitempty"`
	// contains filtered or unexported fields
}

func (*SnapshotsResponse) Descriptor deprecated

func (*SnapshotsResponse) Descriptor() ([]byte, []int)

Deprecated: Use SnapshotsResponse.ProtoReflect.Descriptor instead.

func (*SnapshotsResponse) GetSnapshots

func (x *SnapshotsResponse) GetSnapshots() []*Snapshot

func (*SnapshotsResponse) ProtoMessage

func (*SnapshotsResponse) ProtoMessage()

func (*SnapshotsResponse) ProtoReflect

func (x *SnapshotsResponse) ProtoReflect() protoreflect.Message

func (*SnapshotsResponse) Reset

func (x *SnapshotsResponse) Reset()

func (*SnapshotsResponse) String

func (x *SnapshotsResponse) String() string

type StatusRequest

type StatusRequest struct {
	// contains filtered or unexported fields
}

func (*StatusRequest) Descriptor deprecated

func (*StatusRequest) Descriptor() ([]byte, []int)

Deprecated: Use StatusRequest.ProtoReflect.Descriptor instead.

func (*StatusRequest) ProtoMessage

func (*StatusRequest) ProtoMessage()

func (*StatusRequest) ProtoReflect

func (x *StatusRequest) ProtoReflect() protoreflect.Message

func (*StatusRequest) Reset

func (x *StatusRequest) Reset()

func (*StatusRequest) String

func (x *StatusRequest) String() string

type StatusResponse

type StatusResponse struct {
	Pid            int32                  `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"`
	Version        string                 `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	Commit         string                 `protobuf:"bytes,3,opt,name=commit,proto3" json:"commit,omitempty"`
	SocketPath     string                 `protobuf:"bytes,4,opt,name=socket_path,json=socketPath,proto3" json:"socket_path,omitempty"`
	StartedAt      *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	ActiveSessions int32                  `protobuf:"varint,6,opt,name=active_sessions,json=activeSessions,proto3" json:"active_sessions,omitempty"`
	// contains filtered or unexported fields
}

func (*StatusResponse) Descriptor deprecated

func (*StatusResponse) Descriptor() ([]byte, []int)

Deprecated: Use StatusResponse.ProtoReflect.Descriptor instead.

func (*StatusResponse) GetActiveSessions

func (x *StatusResponse) GetActiveSessions() int32

func (*StatusResponse) GetCommit

func (x *StatusResponse) GetCommit() string

func (*StatusResponse) GetPid

func (x *StatusResponse) GetPid() int32

func (*StatusResponse) GetSocketPath

func (x *StatusResponse) GetSocketPath() string

func (*StatusResponse) GetStartedAt

func (x *StatusResponse) GetStartedAt() *timestamppb.Timestamp

func (*StatusResponse) GetVersion

func (x *StatusResponse) GetVersion() string

func (*StatusResponse) ProtoMessage

func (*StatusResponse) ProtoMessage()

func (*StatusResponse) ProtoReflect

func (x *StatusResponse) ProtoReflect() protoreflect.Message

func (*StatusResponse) Reset

func (x *StatusResponse) Reset()

func (*StatusResponse) String

func (x *StatusResponse) String() string

type StatusVaultRequest

type StatusVaultRequest struct {
	// contains filtered or unexported fields
}

func (*StatusVaultRequest) Descriptor deprecated

func (*StatusVaultRequest) Descriptor() ([]byte, []int)

Deprecated: Use StatusVaultRequest.ProtoReflect.Descriptor instead.

func (*StatusVaultRequest) ProtoMessage

func (*StatusVaultRequest) ProtoMessage()

func (*StatusVaultRequest) ProtoReflect

func (x *StatusVaultRequest) ProtoReflect() protoreflect.Message

func (*StatusVaultRequest) Reset

func (x *StatusVaultRequest) Reset()

func (*StatusVaultRequest) String

func (x *StatusVaultRequest) String() string

type StatusVaultResponse

type StatusVaultResponse struct {

	// open lists the vaults the daemon currently has decrypted in memory.
	Open []*SessionInfo `protobuf:"bytes,1,rep,name=open,proto3" json:"open,omitempty"`
	// recoverable lists vaults that have a .session-<host> ephemeral on disk
	// ready to be resumed.
	Recoverable []*ResumeOption `protobuf:"bytes,2,rep,name=recoverable,proto3" json:"recoverable,omitempty"`
	// contains filtered or unexported fields
}

func (*StatusVaultResponse) Descriptor deprecated

func (*StatusVaultResponse) Descriptor() ([]byte, []int)

Deprecated: Use StatusVaultResponse.ProtoReflect.Descriptor instead.

func (*StatusVaultResponse) GetOpen

func (x *StatusVaultResponse) GetOpen() []*SessionInfo

func (*StatusVaultResponse) GetRecoverable

func (x *StatusVaultResponse) GetRecoverable() []*ResumeOption

func (*StatusVaultResponse) ProtoMessage

func (*StatusVaultResponse) ProtoMessage()

func (*StatusVaultResponse) ProtoReflect

func (x *StatusVaultResponse) ProtoReflect() protoreflect.Message

func (*StatusVaultResponse) Reset

func (x *StatusVaultResponse) Reset()

func (*StatusVaultResponse) String

func (x *StatusVaultResponse) String() string

type SubKey

type SubKey struct {
	KeyId       string                 `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` // 16 hex chars
	Fingerprint string                 `protobuf:"bytes,2,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`  // 40 hex chars
	Algorithm   string                 `protobuf:"bytes,3,opt,name=algorithm,proto3" json:"algorithm,omitempty"`      // "rsa", "ed25519", ...
	Usage       string                 `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"`              // "C" for primary, "S"/"E"/"A" for subkeys
	Created     *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created,proto3" json:"created,omitempty"`
	Expires     *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=expires,proto3" json:"expires,omitempty"`                         // optional; absent = no expiry
	CardSerial  string                 `protobuf:"bytes,7,opt,name=card_serial,json=cardSerial,proto3" json:"card_serial,omitempty"` // non-empty if the key is on a YubiKey
	Validity    string                 `protobuf:"bytes,8,opt,name=validity,proto3" json:"validity,omitempty"`                       // raw gpg validity letter ("u", "r", "e", ...)
	// contains filtered or unexported fields
}

SubKey describes a single GPG (sub)key — primary or secondary — as it appears in the master key's keyring.

func (*SubKey) Descriptor deprecated

func (*SubKey) Descriptor() ([]byte, []int)

Deprecated: Use SubKey.ProtoReflect.Descriptor instead.

func (*SubKey) GetAlgorithm

func (x *SubKey) GetAlgorithm() string

func (*SubKey) GetCardSerial

func (x *SubKey) GetCardSerial() string

func (*SubKey) GetCreated

func (x *SubKey) GetCreated() *timestamppb.Timestamp

func (*SubKey) GetExpires

func (x *SubKey) GetExpires() *timestamppb.Timestamp

func (*SubKey) GetFingerprint

func (x *SubKey) GetFingerprint() string

func (*SubKey) GetKeyId

func (x *SubKey) GetKeyId() string

func (*SubKey) GetUsage

func (x *SubKey) GetUsage() string

func (*SubKey) GetValidity

func (x *SubKey) GetValidity() string

func (*SubKey) ProtoMessage

func (*SubKey) ProtoMessage()

func (*SubKey) ProtoReflect

func (x *SubKey) ProtoReflect() protoreflect.Message

func (*SubKey) Reset

func (x *SubKey) Reset()

func (*SubKey) String

func (x *SubKey) String() string

type SubKeyRef

type SubKeyRef struct {
	KeyId   string                 `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	Usage   string                 `protobuf:"bytes,2,opt,name=usage,proto3" json:"usage,omitempty"` // "sign" / "encrypt" / "auth"
	Created *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created,proto3" json:"created,omitempty"`
	Expires *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=expires,proto3" json:"expires,omitempty"`
	// contains filtered or unexported fields
}

SubKeyRef is a lightweight reference to a subkey held on a YubiKey.

func (*SubKeyRef) Descriptor deprecated

func (*SubKeyRef) Descriptor() ([]byte, []int)

Deprecated: Use SubKeyRef.ProtoReflect.Descriptor instead.

func (*SubKeyRef) GetCreated

func (x *SubKeyRef) GetCreated() *timestamppb.Timestamp

func (*SubKeyRef) GetExpires

func (x *SubKeyRef) GetExpires() *timestamppb.Timestamp

func (*SubKeyRef) GetKeyId

func (x *SubKeyRef) GetKeyId() string

func (*SubKeyRef) GetUsage

func (x *SubKeyRef) GetUsage() string

func (*SubKeyRef) ProtoMessage

func (*SubKeyRef) ProtoMessage()

func (*SubKeyRef) ProtoReflect

func (x *SubKeyRef) ProtoReflect() protoreflect.Message

func (*SubKeyRef) Reset

func (x *SubKeyRef) Reset()

func (*SubKeyRef) String

func (x *SubKeyRef) String() string

type SubscribeRequest

type SubscribeRequest struct {
	// contains filtered or unexported fields
}

func (*SubscribeRequest) Descriptor deprecated

func (*SubscribeRequest) Descriptor() ([]byte, []int)

Deprecated: Use SubscribeRequest.ProtoReflect.Descriptor instead.

func (*SubscribeRequest) ProtoMessage

func (*SubscribeRequest) ProtoMessage()

func (*SubscribeRequest) ProtoReflect

func (x *SubscribeRequest) ProtoReflect() protoreflect.Message

func (*SubscribeRequest) Reset

func (x *SubscribeRequest) Reset()

func (*SubscribeRequest) String

func (x *SubscribeRequest) String() string

type TrustRequest

type TrustRequest struct {
	VaultName   string `protobuf:"bytes,1,opt,name=vault_name,json=vaultName,proto3" json:"vault_name,omitempty"`
	Fingerprint string `protobuf:"bytes,2,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` // 40 hex chars; replaces existing trust anchor
	// contains filtered or unexported fields
}

func (*TrustRequest) Descriptor deprecated

func (*TrustRequest) Descriptor() ([]byte, []int)

Deprecated: Use TrustRequest.ProtoReflect.Descriptor instead.

func (*TrustRequest) GetFingerprint

func (x *TrustRequest) GetFingerprint() string

func (*TrustRequest) GetVaultName

func (x *TrustRequest) GetVaultName() string

func (*TrustRequest) ProtoMessage

func (*TrustRequest) ProtoMessage()

func (*TrustRequest) ProtoReflect

func (x *TrustRequest) ProtoReflect() protoreflect.Message

func (*TrustRequest) Reset

func (x *TrustRequest) Reset()

func (*TrustRequest) String

func (x *TrustRequest) String() string

type TrustResponse

type TrustResponse struct {
	// contains filtered or unexported fields
}

func (*TrustResponse) Descriptor deprecated

func (*TrustResponse) Descriptor() ([]byte, []int)

Deprecated: Use TrustResponse.ProtoReflect.Descriptor instead.

func (*TrustResponse) ProtoMessage

func (*TrustResponse) ProtoMessage()

func (*TrustResponse) ProtoReflect

func (x *TrustResponse) ProtoReflect() protoreflect.Message

func (*TrustResponse) Reset

func (x *TrustResponse) Reset()

func (*TrustResponse) String

func (x *TrustResponse) String() string

type VaultRegistryEntry

type VaultRegistryEntry struct {
	Name            string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Path            string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	IdentityFile    string `protobuf:"bytes,3,opt,name=identity_file,json=identityFile,proto3" json:"identity_file,omitempty"`            // optional age key file path
	GpgBinary       string `protobuf:"bytes,4,opt,name=gpg_binary,json=gpgBinary,proto3" json:"gpg_binary,omitempty"`                     // optional gpg binary override
	TrustedMasterFp string `protobuf:"bytes,5,opt,name=trusted_master_fp,json=trustedMasterFp,proto3" json:"trusted_master_fp,omitempty"` // TOFU anchor; empty until first use
	// contains filtered or unexported fields
}

VaultRegistryEntry is one named vault from ~/.config/locksmith/config.yaml.

func (*VaultRegistryEntry) Descriptor deprecated

func (*VaultRegistryEntry) Descriptor() ([]byte, []int)

Deprecated: Use VaultRegistryEntry.ProtoReflect.Descriptor instead.

func (*VaultRegistryEntry) GetGpgBinary

func (x *VaultRegistryEntry) GetGpgBinary() string

func (*VaultRegistryEntry) GetIdentityFile

func (x *VaultRegistryEntry) GetIdentityFile() string

func (*VaultRegistryEntry) GetName

func (x *VaultRegistryEntry) GetName() string

func (*VaultRegistryEntry) GetPath

func (x *VaultRegistryEntry) GetPath() string

func (*VaultRegistryEntry) GetTrustedMasterFp

func (x *VaultRegistryEntry) GetTrustedMasterFp() string

func (*VaultRegistryEntry) ProtoMessage

func (*VaultRegistryEntry) ProtoMessage()

func (*VaultRegistryEntry) ProtoReflect

func (x *VaultRegistryEntry) ProtoReflect() protoreflect.Message

func (*VaultRegistryEntry) Reset

func (x *VaultRegistryEntry) Reset()

func (*VaultRegistryEntry) String

func (x *VaultRegistryEntry) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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