[Bug 249959] New: Signing emails with OpenPGP hangs Kmail-mobile

Sabine Faure sabine at kdab.net
Fri Sep 3 00:45:26 BST 2010


https://bugs.kde.org/show_bug.cgi?id=249959

           Summary: Signing emails with OpenPGP hangs Kmail-mobile
           Product: KMail Mobile
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: sabine at kdab.net


Version:           unspecified (using Devel) 
OS:                Linux

Signing an email and sending it to a signature known recipient hangs
Kmail-mobile.


Reproducible: Always

Steps to Reproduce:
Prerequisite: set up an OpenPGP signature for the user and the recipient

- Launch Kmail-mobile
- Click on 'Write New email'
- Enter a subject and a few words in the Composer text editor
- Open the 'Recipients' tab and enter the recipient's email
- Open the 'Actions' tab and click on 'Sign'
- Click on 'Send'

Actual Results:  
Kmail hangs indefinitely and two error messages appear in a yellow background.

Here is what I get in the terminal after I click on 'send':
kmail-mobile(11655) ComposerView::send:
kmail-mobile(11655) Message::ComposerViewBase::send: Plain text
kmail-mobile(11655) Message::ComposerViewBase::readyForSending: Entering
readyForSending
void Nepomuk::Search::QueryServiceClient::close() 
void Nepomuk::Search::QueryServiceClient::close() 
void Nepomuk::Search::QueryServiceClient::close() 
void Nepomuk::Search::QueryServiceClient::close() 
kmail-mobile(11655) Message::ComposerViewBase::generateCryptoMessages: filling
crypto info
kmail-mobile(11655) Kleo::KeyResolver::lookup: ( "
"29BCD9DFD0931485794B5109FAD230F76BADBFA6",
"08AB4539D2B8B72D80478669EEF12F1803458739" ", true )
"KConfigIni: In file /opt/maemo/usr/share/kde4/config/libkleopatrarc, line 42:
" Invalid entry (missing '=') 
kmail-mobile(11655) Kleo::KeyResolver::lookup:  returned 2 keys
kmail-mobile(11655) Kleo::KeyResolver::checkKeyNearExpiry: Key 0x 03458739
expires in less than 626 days
kmail-mobile(11655) Kleo::KeyResolver::lookup: ( "
"0CBB157CBE5ACD8F343DBA0AEAE22FA0BD659BB2" ", false )
kmail-mobile(11655) Kleo::KeyResolver::lookup:  returned 1 keys
kmail-mobile(11655) Kleo::KeyResolver::checkKeyNearExpiry: Key 0x BD659BB2
expires in less than 1019 days
kmail-mobile(11655) Kleo::KeyResolver::lookup: ( "
"A6935DD34EF3087973C706FC311AA2CCF733765B" ", false )
kmail-mobile(11655) Kleo::KeyResolver::lookup:  returned 1 keys
kmail-mobile(11655) Kleo::KeyResolver::checkKeyNearExpiry: Key 0x F733765B
expires in less than 1029 days
void Nepomuk::Search::QueryServiceClient::close() 
kmail-mobile(11655) Message::ComposerViewBase::generateCryptoMessages: done
resolving keys:
kmail-mobile(11655) Message::Util::selectCharset: Chosen charset "utf-8"
kmail-mobile(11655) Message::MainTextJobPrivate::encodeTexts: Done.
kmail-mobile(11655) Message::MainTextJob::doStart: Making text/plain
kmail-mobile(11655) Message::ContentJobBasePrivate::doNextSubjob: Calling
process.
kmail-mobile(11655) Message::SinglepartJobPrivate::chooseCTE: Settled on
encoding "7bit"
kmail-mobile(11655) Message::ContentJobBase::slotResult: A subjob finished. 0
more to go.
kmail-mobile(11655) Message::ContentJobBasePrivate::doNextSubjob: Calling
process.
kmail-mobile(11655) Message::ContentJobBasePrivate::doNextSubjob: Calling
process.
kmail-mobile(11655) Message::SignJob::process: creating signJob from: "OpenPGP"
"gpg"
kmail-mobile(11655) Message::SignJob::process: signing content before LFtoCRLF:
"Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="utf-8"

testing openpgp signing on n900 "
kmail-mobile(11655) Message::SignJob::process: signing content:
"Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="utf-8"

testing openpgp signing on n900 "
kmail-mobile(11655) Message::SignJob::process: signing failed: Bad passphrase
kmail-mobile(11655) Message::Util::composeHeadersAndBody: making MIME message,
format: 2
kmail-mobile(11655) Message::Util::composeHeadersAndBody: processed header:
"Content-Type: multipart/signed; boundary="nextPart4289891.2IPixoubrR";
micalg="pgp-"; protocol="application/pgp-signature"
Content-Transfer-Encoding: 7Bit
"
kmail-mobile(11655) Message::ComposerViewBase::slotSendComposeResult: compose
job might have error error 11 errorString "Bad passphrase"
kmail-mobile(11655) Message::ComposerViewBase::slotSendComposeResult: other
Error.
kmail-mobile(11655) Message::ComposerViewBase::slotSendComposeResult: compose
job might have error error 11 errorString "Bad passphrase"
kmail-mobile(11655) Message::ComposerViewBase::slotSendComposeResult: other
Error.
kmail-mobile(11655) Message::ComposerViewBase::slotEmailAddressResolved:
Started a composer for sending!
kmail-mobile(11655) Message::ComposerViewBase::autoSaveMessage: Autosaving
message
kmail-mobile(11655) Message::Util::selectCharset: Chosen charset "utf-8"
kmail-mobile(11655) Message::MainTextJobPrivate::encodeTexts: Done.
kmail-mobile(11655) Message::MainTextJob::doStart: Making text/plain
kmail-mobile(11655) Message::ContentJobBasePrivate::doNextSubjob: Calling
process.
kmail-mobile(11655) Message::SinglepartJobPrivate::chooseCTE: Settled on
encoding "7bit"
kmail-mobile(11655) Message::ContentJobBase::slotResult: A subjob finished. 0
more to go.
kmail-mobile(11655) Message::ContentJobBasePrivate::doNextSubjob: Calling
process.
kmail-mobile(11655) Message::ComposerPrivate::contentJobFinished: composing
final message
kmail-mobile(11655) Message::ComposerViewBase::writeAutoSaveToDisk: Writing
message to disk as
"/home/user/.kde/share/apps/kmail2/autosave/{cb8840a3-f1a4-41b2-8a35-c5933a132d85}"
kmail-mobile(11655) Message::ComposerViewBase::autoSaveMessage: Autosaving
message
kmail-mobile(11655) Message::Util::selectCharset: Chosen charset "utf-8"
kmail-mobile(11655) Message::MainTextJobPrivate::encodeTexts: Done.
kmail-mobile(11655) Message::MainTextJob::doStart: Making text/plain
kmail-mobile(11655) Message::ContentJobBasePrivate::doNextSubjob: Calling
process.
kmail-mobile(11655) Message::SinglepartJobPrivate::chooseCTE: Settled on
encoding "7bit"
kmail-mobile(11655) Message::ContentJobBase::slotResult: A subjob finished. 0
more to go.
kmail-mobile(11655) Message::ContentJobBasePrivate::doNextSubjob: Calling
process.
kmail-mobile(11655) Message::ComposerPrivate::contentJobFinished: composing
final message
kmail-mobile(11655) Message::ComposerViewBase::writeAutoSaveToDisk: Writing
message to disk as
"/home/user/.kde/share/apps/kmail2/autosave/{cb8840a3-f1a4-41b2-8a35-c5933a132d85}"
kmail-mobile(11655) Message::ComposerViewBase::autoSaveMessage: Autosaving
message
kmail-mobile(11655) Message::Util::selectCharset: Chosen charset "utf-8"
kmail-mobile(11655) Message::MainTextJobPrivate::encodeTexts: Done.
kmail-mobile(11655) Message::MainTextJob::doStart: Making text/plain
kmail-mobile(11655) Message::ContentJobBasePrivate::doNextSubjob: Calling
process.
kmail-mobile(11655) Message::SinglepartJobPrivate::chooseCTE: Settled on
encoding "7bit"
kmail-mobile(11655) Message::ContentJobBase::slotResult: A subjob finished. 0
more to go.
kmail-mobile(11655) Message::ContentJobBasePrivate::doNextSubjob: Calling
process.
kmail-mobile(11655) Message::ComposerPrivate::contentJobFinished: composing
final message
kmail-mobile(11655) Message::ComposerViewBase::writeAutoSaveToDisk: Writing
message to disk as
"/home/user/.kde/share/apps/kmail2/autosave/{cb8840a3-f1a4-41b2-8a35-c5933a132d85}"
kmail-mobile(11655) Message::ComposerViewBase::autoSaveMessage: Autosaving
message
kmail-mobile(11655) Message::Util::selectCharset: Chosen charset "utf-8"
kmail-mobile(11655) Message::MainTextJobPrivate::encodeTexts: Done.
kmail-mobile(11655) Message::MainTextJob::doStart: Making text/plain
kmail-mobile(11655) Message::ContentJobBasePrivate::doNextSubjob: Calling
process.
kmail-mobile(11655) Message::SinglepartJobPrivate::chooseCTE: Settled on
encoding "7bit"
kmail-mobile(11655) Message::ContentJobBase::slotResult: A subjob finished. 0
more to go.
kmail-mobile(11655) Message::ContentJobBasePrivate::doNextSubjob: Calling
process.
kmail-mobile(11655) Message::ComposerPrivate::contentJobFinished: composing
final message
kmail-mobile(11655) Message::ComposerViewBase::writeAutoSaveToDisk: Writing
message to disk as
"/home/user/.kde/share/apps/kmail2/autosave/{cb8840a3-f1a4-41b2-8a35-c5933a132d85}"
kmail-mobile(11655) Message::ComposerViewBase::autoSaveMessage: Autosaving
message
kmail-mobile(11655) Message::Util::selectCharset: Chosen charset "utf-8"
kmail-mobile(11655) Message::MainTextJobPrivate::encodeTexts: Done.
kmail-mobile(11655) Message::MainTextJob::doStart: Making text/plain
kmail-mobile(11655) Message::ContentJobBasePrivate::doNextSubjob: Calling
process.
kmail-mobile(11655) Message::SinglepartJobPrivate::chooseCTE: Settled on
encoding "7bit"
kmail-mobile(11655) Message::ContentJobBase::slotResult: A subjob finished. 0
more to go.
kmail-mobile(11655) Message::ContentJobBasePrivate::doNextSubjob: Calling
process.
kmail-mobile(11655) Message::ComposerPrivate::contentJobFinished: composing
final message
kmail-mobile(11655) Message::ComposerViewBase::writeAutoSaveToDisk: Writing
message to disk as
"/home/user/.kde/share/apps/kmail2/autosave/{cb8840a3-f1a4-41b2-8a35-c5933a132d85}"


Expected Results:  
The email should be properly sent and signed

I did manage to send from the n900 and receive the signed email once but when I
opened it from another computer it was not signed at all.

Also, I was never asked to enter my password for the signature to be valid as
it is the case in the desktop version.

atm the only way to stop kmail-mobile from hanging is to stop it from a
terminal.

N900, 4:4.5~20100902.1171086-1maemo1.1170522

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list