[Savannah-hackers-public] long GPG keys

2019-02-02 Thread Ineiev
Hello, Currently the 'gpg_key' colunm of the 'user' table has the 'text' type, this means 64k character limit. Some users attempted to register longer GPG keys, and they were truncated. GnuPG 1.4 manages to import it, while complaining; GnuPG 2.2 tends to reject such keys completely. I think thi

Re: [Savannah-hackers-public] long GPG keys

2019-02-02 Thread Bob Proulx
Hi Ineive, Ineiev wrote: > Currently the 'gpg_key' colunm of the 'user' table has the 'text' > type, this means 64k character limit. Some users attempted > to register longer GPG keys, and they were truncated. Longer than 64K! That seems very long to me. This feels to me (without looking) that

Re: [Savannah-hackers-public] long GPG keys

2019-02-02 Thread Karl Berry
Longer than 64K! That seems very long to me. Maybe they included a big image. (Knowingly or not.) Maybe it would be better to consistently report an error and reject the upload, for the reasons Bob gave ... -k

Re: [Savannah-hackers-public] long GPG keys

2019-02-02 Thread Ineiev
Hello, Bob, Karl; On Sat, Feb 02, 2019 at 12:48:55PM -0700, Bob Proulx wrote: > > Ineiev wrote: > > Currently the 'gpg_key' colunm of the 'user' table has the 'text' > > type, this means 64k character limit. Some users attempted > > to register longer GPG keys, and they were truncated. > > Long