[kontact] [Bug 406946] New: Akonadi crashes when sending a large attachment

2019-04-26 Thread Aaron Williams
https://bugs.kde.org/show_bug.cgi?id=406946

Bug ID: 406946
   Summary: Akonadi crashes when sending a large attachment
   Product: kontact
   Version: 5.11.0
  Platform: Other
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: akregator
  Assignee: kdepim-bugs@kde.org
  Reporter: aar...@doofus.org
  Target Milestone: ---

SUMMARY

I tried to attach a file without realizing that the file was 829MB.  Every time
I attempt to attach it kontact crashes.

STEPS TO REPRODUCE
1. Attempt to attach 829MB file to email
2. Watch Kontact crash
3. 

OBSERVED RESULT
Crash

EXPECTED RESULT
Possibly a complaint but otherwise it should succeed.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma:  5.15.4
(available in About System)
KDE Plasma Version: 5.15.4 
KDE Frameworks Version: 19.04.0
Qt Version: 5.12.3

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 406856] Found 3734 items without RID.; Item "30024" has RID and is dirty.

2019-04-26 Thread Nick
https://bugs.kde.org/show_bug.cgi?id=406856

Nick  changed:

   What|Removed |Added

 CC||ndor...@gmail.com

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 406856] Found 3734 items without RID.; Item "30024" has RID and is dirty.

2019-04-26 Thread Nick
https://bugs.kde.org/show_bug.cgi?id=406856

--- Comment #1 from Nick  ---
I did a little bit of work with akonadi database and realized that all items
with remoteId null are in pimitemtable with references to parttable and
pimitemflagrelation ,
I got to akonadi database via sokket then issued the commands :

select "akonadi database status of NULL RemoteId  before clean up ";
 select count(*) from akonadi.pimitemtable where remoteId is NULL ;
 select count(*) from akonadi.parttable where pimItemId in ( select id from
pimitemtable where remoteId is null ) ;
 select count(*) from akonadi.pimitemflagrelation where PimItem_id  in ( select
id from pimitemtable where remoteId is null ) ;

 --  
 delete from akonadi.pimitemflagrelation where PimItem_id  in ( select id from
pimitemtable where remoteId is null ) ;
 delete from akonadi.parttable where pimItemId in ( select id from pimitemtable
where remoteId is null ) ;
 delete from akonadi.pimitemtable where remoteId is NULL ;
 --
 select "akonadi database status of NULL RemoteId  after clean up ";
 select count(*) from akonadi.pimitemtable where remoteId is NULL ;
 select count(*) from akonadi.parttable where pimItemId in ( select id from
pimitemtable where remoteId is null ) ;
 select count(*) from akonadi.pimitemflagrelation where PimItem_id  in ( select
id from pimitemtable where remoteId is null ) ;

After that the akonadictl fsck appears clean .

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 406917] Sync of webdav calendar stuck forever

2019-04-26 Thread Christophe Giboudeaux
https://bugs.kde.org/show_bug.cgi?id=406917

Christophe Giboudeaux  changed:

   What|Removed |Added

   Severity|major   |normal

--- Comment #1 from Christophe Giboudeaux  ---
I tested yesterday with demo.owncloud.com, I didn't get any issue.

I also have no issue with my regular caldav/carddav server

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 395724] Kmail doesn't add signatures to reply automatically

2019-04-26 Thread Raghavendra kamath
https://bugs.kde.org/show_bug.cgi?id=395724

Raghavendra kamath  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |FIXED

--- Comment #1 from Raghavendra kamath  ---
This is not reproducible now, so I am closing this.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 387061] Large messages don't display in the viewer pane (eg. New Tumbleweed snapshot 20171117 released!)

2019-04-26 Thread Sandro Knauß
https://bugs.kde.org/show_bug.cgi?id=387061

--- Comment #11 from Sandro Knauß  ---
(In reply to Rodney Baker from comment #10)
> Still a problem in version 5.10.3, Qt5.12.2, KDE Frameworks 5.57.0. Any
> target version for the fix?

No there is no target version for the fix. This is a limitation by the way we
load the mail into QtWebEngine.Someone needs to rewrite the code in messagelib,
that we don't use QWebEngineView::setHtml anymore and use QWebEngineView::load
instead. If anyone wants to dive into that. Feel free to ask.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 404698] Decryption Oracle based on replying to PGP or S/MIME encrypted emails

2019-04-26 Thread Sandro Knauß
https://bugs.kde.org/show_bug.cgi?id=404698

--- Comment #16 from Sandro Knauß  ---
(In reply to Jens Mueller from comment #15)
> @David: This would mean if you attach a non-encrypted image to an
> encrypted...
> 
> Absolutely, such an email could not be decrypted anymore if you follow our
> suggestions (or had to be manually decrypted on the command line). While
> this may seem a bit harsh, we have not seen any mail client that allows to
> send such "partially encrypted" emails (e.g., with unencrypted attachments),
> and I think handling such edge cases can become a security nightmare. Either
> the whole mail is encrypted or it's not, everything else gives a false sense
> of security, imho.

One client that supports sending encrypted mails with unencrypted attachment is
kmail (but you need to do it explicitly).

One common use case, of such partial encrypted mails are mails forwarded via
Mailman. Mailman adds a non encrypted footer to each email. So not supporting
these mails make would break my workflow. This was the reason, why I fixed a
several things, because I didn't wanted to see this footer in the reply ;D And
I see a big difference between displaying such broken mails and replying. 

> However, I see the developer's perspective and the and the fear of
> potentially breaking things, too. I guess a rule like "in case of an
> encrypted, multipart email, reply only with the first part" *should* be fine
> too.

I think so, too, that reply to only one part you be fine.

> @Sandro: We originally tested in version 5.2.3 on Debian 9.8 (stretch). This
> version is probably outdated by now.

yes! Did you tested any other version?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 404698] Decryption Oracle based on replying to PGP or S/MIME encrypted emails

2019-04-26 Thread Jens Mueller
https://bugs.kde.org/show_bug.cgi?id=404698

--- Comment #15 from Jens Mueller  ---
@David: This would mean if you attach a non-encrypted image to an encrypted...

Absolutely, such an email could not be decrypted anymore if you follow our
suggestions (or had to be manually decrypted on the command line). While this
may seem a bit harsh, we have not seen any mail client that allows to send such
"partially encrypted" emails (e.g., with unencrypted attachments), and I think
handling such edge cases can become a security nightmare. Either the whole mail
is encrypted or it's not, everything else gives a false sense of security,
imho.

However, I see the developer's perspective and the and the fear of potentially
breaking things, too. I guess a rule like "in case of an encrypted, multipart
email, reply only with the first part" *should* be fine too.

@Sandro: We originally tested in version 5.2.3 on Debian 9.8 (stretch). This
version is probably outdated by now.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 406917] New: Sync of webdav calendar stuck forever

2019-04-26 Thread MartinG
https://bugs.kde.org/show_bug.cgi?id=406917

Bug ID: 406917
   Summary: Sync of webdav calendar stuck forever
   Product: Akonadi
   Version: unspecified
  Platform: Other
OS: Linux
Status: REPORTED
  Severity: major
  Priority: NOR
 Component: DAV Resource
  Assignee: kdepim-bugs@kde.org
  Reporter: grons...@gmail.com
  Target Milestone: ---

SUMMARY

When akonadi fails to read a calendar event from eg. a Nextcloud/Owncloud
remote calendar (or any webdav resource I guess), it will enter a stale state
making all other calendar interactions impossible

STEPS TO REPRODUCE
1. Setup a webdav remote calendar in korganizer
2. Be unlucky and end up with an event that for some reason is expected to
exist, but it doesn't
3. Register state "Fetching collection (0 %)" or "Ready (0%)" forever. Not
possible to get out of that state with "akonadictl restart" or even restart of
computer.


OBSERVED RESULT

DAV resource becomes unusable.

EXPECTED RESULT

Akonadi should handle the bad state in some way, and move on, letting me use
the calendar resource.

SOFTWARE/OS VERSIONS
linux 5.0.9-200.fc29.x86_64
kdelibs-common-4.14.38-9.fc29.x86_64
kdelibs-4.14.38-9.fc29.x86_64
korganizer-libs-18.12.2-1.fc29.x86_64
kontact-18.12.2-1.fc29.x86_64
kontact-libs-18.12.2-1.fc29.x86_64
kdelibs-webkit-4.14.38-9.fc29.x86_64
kf5-kdelibs4support-5.55.0-1.fc29.x86_64
kf5-kdelibs4support-libs-5.55.0-1.fc29.x86_64
kdelibs-ktexteditor-4.14.38-9.fc29.x86_64
korganizer-18.12.2-1.fc29.x86_64

Linux/KDE Plasma: 5.14.5
KDE Plasma Version: 5.14.5
KDE Frameworks Version: 5.55.0
Qt Version: 5.11.3

ADDITIONAL INFORMATION

I'm running Nextcloud 15.0.7, and have set up the calendar as a webdav
resource. At some point, it stopped working, and in
Kontact->Settings->Configure korganizer->General->Calendars, the resource is
stuck at "Fetching collection (0 %)" or "Ready (0 %)" forever.

If I run "akonadictl restart" in the terminal, I get the following:

org.kde.pim.davresource: Error when uploading item: 420 "There was a problem
with the request. The item was not modified on the server.\nAn unexpected error
(412) occurred while attempting to upload
https://USERNAME@MYURL/NEXTCLOUNDNAME/remote.php/dav/calendars/USERNAME/CALENDARNAME/1551289068.R271.ics.
(412)."
parse error from icalcomponent_new_from_string. string= "\nhttp://sabredav.org/ns\;>\n 
Sabre\\DAV\\Exception\\NotFound\n 
Calendar object not found\n\n"
org.kde.pim.davresource: DavGroupwareResource::onItemFetched: Failed to parse
item data. 
"https://USERNAME@MYURL/NEXTCLOUNDNAME/remote.php/dav/calendars/USERNAME/CALENDARNAME/1551289068.R271.ics;


Here is the corresponding error on the nextcloud server (15.0.7,
nextcloud.log):

{"reqId":"BX7CkUh0Wd4i4Vl9crBA",
 "level":4,
 "time":"2019-04-26T09:49:21+00:00",
 "remoteAddr":"192.168.1.1",
 "user":"USERNAME",
 "app":"webdav",
 "method":"PUT",

"url":"\/NEXTCLOUDNAME\/remote.php\/dav\/calendars\/USERNAME\/CALENDARNAME\/1551289068.R271.ics",
 "message":{"Exception":"Sabre\\DAV\\Exception\\BadRequest",
"Message":"Calendar object with uid already exists in this calendar
collection.",
"Code":0,
   
"Trace":[{"file":"\/var\/www\/html\/NEXTCLOUDNAME\/3rdparty\/sabre\/dav\/lib\/CalDAV\/Calendar.php",
  "line":201,
  "function":"createCalendarObject",
  "class":"OCA\\DAV\\CalDAV\\CalDavBackend",
  "type":"->",
  "args":["3",
  "1551289068.R271.ics",
  "BEGIN:VCALENDAR\r\nPRODID:-\/\/K Desktop
Environment\/\/NONSGML libkcal
4.3\/\/EN\r\nVERSION:2.0\r\nX-KDE-ICAL-IMPLEMENTATION-VERSION:1.0\r\nBEGIN:VEVENT\r\nDTSTAMP:20190227T174129Z\r\nCREATED:20190227T173728Z\r\nUID:a151d2ad-e962-459f-a291-705071fe62ef\r\nSEQUENCE:2\r\nLAST-MODIFIED:20190227T174129Z\r\nDESCRIPTION:Test\\,
 with commas\r\nSUMMARY:Test comma\r\nLOCATION:Location\\,
 with
comma\r\nDTSTART;VALUE=DATE:20190227\r\nDTEND;VALUE=DATE:20190228\r\nTRANSP:OPAQUE\r\nEND:VEVENT\r\nEND:VCALENDAR\r\n"]},

{"file":"\/var\/www\/html\/NEXTCLOUDNAME\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php",
  "line":1096,
  "function":"createFile",
  "class":"Sabre\\CalDAV\\Calendar",
  "type":"->",
  "args":["1551289068.R271.ics",
  "BEGIN:VCALENDAR\r\nPRODID:-\/\/K Desktop
Environment\/\/NONSGML libkcal
4.3\/\/EN\r\nVERSION:2.0\r\nX-KDE-ICAL-IMPLEMENTATION-VERSION:1.0\r\nBEGIN:VEVENT\r\nDTSTAMP:20190227T174129Z\r\nCREATED:20190227T173728Z\r\nUID:a151d2ad-e962-459f-a291-705071fe62ef\r\nSEQUENCE:2\r\nLAST-MODIFIED:20190227T174129Z\r\nDESCRIPTION:Test\\,
 with commas\r\nSUMMARY:Test comma\r\nLOCATION:Location\\,
 with

[kmail2] [Bug 404698] Decryption Oracle based on replying to PGP or S/MIME encrypted emails

2019-04-26 Thread Jens Mueller
https://bugs.kde.org/show_bug.cgi?id=404698

Jens Mueller  changed:

   What|Removed |Added

Version|5.10.3  |unspecified

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 404700] Unable to select GPG key not matching identity email

2019-04-26 Thread aeris
https://bugs.kde.org/show_bug.cgi?id=404700

aeris  changed:

   What|Removed |Added

Version|unspecified |5.11.0

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 404700] Unable to select GPG key not matching identity email

2019-04-26 Thread aeris
https://bugs.kde.org/show_bug.cgi?id=404700

aeris  changed:

   What|Removed |Added

  Component|crypto  |config dialog

--- Comment #1 from aeris  ---
Perhaps this is related to https://bugs.kde.org/show_bug.cgi?id=406909

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 406909] Unable to select GPG key with a + in address

2019-04-26 Thread aeris
https://bugs.kde.org/show_bug.cgi?id=406909

--- Comment #3 from aeris  ---
Created attachment 119645
  --> https://bugs.kde.org/attachment.cgi?id=119645=edit
No GPG key available

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 406909] Unable to select GPG key with a + in address

2019-04-26 Thread aeris
https://bugs.kde.org/show_bug.cgi?id=406909

--- Comment #2 from aeris  ---
Created attachment 119644
  --> https://bugs.kde.org/attachment.cgi?id=119644=edit
Address configured on identity

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 406909] Unable to select GPG key with a + in address

2019-04-26 Thread aeris
https://bugs.kde.org/show_bug.cgi?id=406909

--- Comment #1 from aeris  ---
Created attachment 119643
  --> https://bugs.kde.org/attachment.cgi?id=119643=edit
GPG show the corresponding key

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 406909] New: Unable to select GPG key with a + in address

2019-04-26 Thread aeris
https://bugs.kde.org/show_bug.cgi?id=406909

Bug ID: 406909
   Summary: Unable to select GPG key with a + in address
   Product: kmail2
   Version: 5.11.0
  Platform: Archlinux Packages
OS: Linux
Status: REPORTED
  Severity: major
  Priority: NOR
 Component: config dialog
  Assignee: kdepim-bugs@kde.org
  Reporter: ae...@imirhil.fr
  Target Milestone: ---

SUMMARY

When using an email address with a "+" on it, kmail doesn't detect any GPG key
even if at least one has a matching UID

STEPS TO REPRODUCE
1. Create a GPG key with an UID containing an address containing a "+"
2. Create a Kmail identity using this address
3. Select a GPG key for this Kmail identity

OBSERVED RESULT

No GPG key show on dropdown list

EXPECTED RESULT

GPG key available on dropdown list

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 5.15.4-1
KDE Frameworks Version: KDE Frameworks 5.57.0
Qt Version: Qt 5.12.3 (built on 5.12.2)

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are the assignee for the bug.

[korganizer] [Bug 404275] Crash on startup

2019-04-26 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=404275

Christoph Feck  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |UPSTREAM

--- Comment #14 from Christoph Feck  ---
Thanks for the confirmation; changing status.

-- 
You are receiving this mail because:
You are the assignee for the bug.