diff options
author | Steve Moyer <smoyer1@selesy.com> | 2023-01-02 08:08:03 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-02 08:08:03 -0500 |
commit | a4cee7539b2fcddcdd717b784be366f67e358b09 (patch) | |
tree | 4290490163dc41e2abb8440f0569936f0d4dd6da /entity | |
parent | e6517006fa61f16269762a3dacad9c154848e369 (diff) | |
parent | de6f5404e403bff0124d76124964a6c6d05b2332 (diff) | |
download | git-bug-a4cee7539b2fcddcdd717b784be366f67e358b09.tar.gz |
Merge pull request #963 from MichaelMure/feat/upgrade-go-git-v5.1.1
feat: upgrade go-git to v5.5.1
Diffstat (limited to 'entity')
-rw-r--r-- | entity/dag/operation_pack.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/entity/dag/operation_pack.go b/entity/dag/operation_pack.go index 08907623..cc6c81f4 100644 --- a/entity/dag/operation_pack.go +++ b/entity/dag/operation_pack.go @@ -373,6 +373,13 @@ func (pk PGPKeyring) KeysById(id uint64) []openpgp.Key { result = append(result, openpgp.Key{ PublicKey: key.Public(), PrivateKey: key.Private(), + Entity: &openpgp.Entity{ + PrimaryKey: key.Public(), + PrivateKey: key.Private(), + Identities: map[string]*openpgp.Identity{ + "": {}, + }, + }, SelfSignature: &packet.Signature{ IsPrimaryId: func() *bool { b := true; return &b }(), }, |