aboutsummaryrefslogtreecommitdiffstats
path: root/identity/key.go
blob: cc948394aeddc438e1eb7961036b53259459fd92 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package identity

type Key struct {
	// The GPG fingerprint of the key
	Fingerprint string `json:"fingerprint"`
	PubKey      string `json:"pub_key"`
}

func (k *Key) Validate() error {
	// Todo

	return nil
}

func (k *Key) Clone() *Key {
	clone := *k
	return &clone
}