diff options
Diffstat (limited to '_plugins/wkd.rb')
-rw-r--r-- | _plugins/wkd.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/_plugins/wkd.rb b/_plugins/wkd.rb index fff1e37..7ac9f7a 100644 --- a/_plugins/wkd.rb +++ b/_plugins/wkd.rb @@ -20,6 +20,15 @@ module Gentoo '--preserve-permissions', '--quiet', '--with-colon', + # Some dev keys exceed the 256K buffer of MAX_WKD_RESULT_LENGTH + # https://github.com/gpg/gnupg/blob/master/g10/call-dirmngr.c#L44-L47 + # This causes an error: + # gpg: error retrieving '...@gentoo.org' via WKD: Provided object is too large + # + # To mitigate it: + # export-clean: removes non-usable userIDs, signatures. + # no-export-attributes turns off Photo UIDs, which can easily get large. + '--export-options', 'export-clean,no-export-attributes', ].freeze def generate_each_nick(site, keyring, nick, fps, email_domain) |