mirror of
https://github.com/MichaelMure/git-bug.git
synced 2024-12-16 02:33:26 +03:00
19 lines
269 B
Go
19 lines
269 B
Go
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
|
|
}
|