6.0.0-beta1
7/15/25

[#12961] Import huge pgp public key fiile
Summary Import huge pgp public key fiile
Queue IMP
Queue Version 6.1.6
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester forum (at) cybert (dot) de
Created 02/08/2014 (4175 days ago)
Due 02/08/2014 (4175 days ago)
Updated 02/25/2014 (4158 days ago)
Assigned 02/10/2014 (4173 days ago)
Resolved 02/25/2014 (4158 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
02/25/2014 06:46:43 AM Michael Slusarz Comment #4
State ⇒ Not A Bug
Reply to this comment
FWIW, as of Horde 5.2 we now default to a maxsize of 64kb for ANY preference.
02/15/2014 08:15:42 AM forum (at) cybert (dot) de Comment #3 Reply to this comment
To solve my problem i have to change locally the mysql database schema 
and/or add some php code to throw error exceptions if a given input 
size is exceeded. I assume this breaks the horde online update function.
02/10/2014 06:39:12 AM Michael Slusarz Comment #2
State ⇒ Feedback
Reply to this comment
An obvious reason for at least Variant2 is the limited size (type 
'text', 64k) of object_pgppublickey.
Nope - we aren't limiting to 64k.  By default, we use the 'text' SQL 
type.  That's unlimited on, for example, postgresql.   
(http://www.postgresql.org/docs/9.3/static/datatype-character.html)

If you use a DB that imposes a limit that you feel is too small, 
change it to a more appropriate data type locally.  We provide default 
SQL schemas that should work with most systems, but due to the 
variability in DB implementations we can't guarantee the schemas will 
fit everybodys needs perfectly.
02/08/2014 01:34:39 PM forum (at) cybert (dot) de Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Import huge pgp public key fiile
Due ⇒ 02/08/2014
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
To start with imp/pgp functions i used the autoresponder 
adele@gnupp.de. Due to lots of signatures the public key file 
(0x92AB3FF7) has about 96k size.

Two problems are detected with this input:
(1) Importing directly from a response mail with attached keyfile 
causes the import of another public keyfile from the same sender 
(0x346D74D5) but not from the mail attached file.
(2) An Import via copy/paste or file import stores a truncated keyfile.

Both variants import successfully ! Variant1 encrypts but fails on 
reception, Variant2 fails on encryption.

An obvious reason for at least Variant2 is the limited size (type 
'text', 64k) of object_pgppublickey.

Saved Queries