We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ed52ed commit 47f46c4Copy full SHA for 47f46c4
routers/api/v1/convert/convert.go
@@ -78,14 +78,12 @@ func ToGPGKey(key *models.GPGKey) *api.GPGKey {
78
subkeys := make([]*api.GPGKey, len(key.SubsKey))
79
for id, k := range key.SubsKey {
80
subkeys[id] = &api.GPGKey{
81
- ID: k.ID,
82
- PrimaryKeyID: k.PrimaryKeyID,
83
- KeyID: k.KeyID,
84
- PublicKey: k.Content,
85
- Created: k.Created,
86
- Expires: k.Expired,
87
- //Emails: emails,
88
- //SubsKey: subkeys,
+ ID: k.ID,
+ PrimaryKeyID: k.PrimaryKeyID,
+ KeyID: k.KeyID,
+ PublicKey: k.Content,
+ Created: k.Created,
+ Expires: k.Expired,
89
CanSign: k.CanSign,
90
CanEncryptComms: k.CanEncryptComms,
91
CanEncryptStorage: k.CanEncryptStorage,
0 commit comments