bitmask-dev issueshttps://0xacab.org/leap/bitmask-dev/-/issues2018-04-17T01:39:50Zhttps://0xacab.org/leap/bitmask-dev/-/issues/9243Bitmask Mail Issue (OSX Only)2018-04-17T01:39:50ZGhost UserBitmask Mail Issue (OSX Only)Bitmask is not listening on the ports. Mail.app cannot send/receive mail via Bitmask.
![Screen_Shot_2018-02-11_at_3.42.03_PM](/uploads/1b417dd1020eaeff081356cc538859f0/Screen_Shot_2018-02-11_at_3.42.03_PM.png)Bitmask is not listening on the ports. Mail.app cannot send/receive mail via Bitmask.
![Screen_Shot_2018-02-11_at_3.42.03_PM](/uploads/1b417dd1020eaeff081356cc538859f0/Screen_Shot_2018-02-11_at_3.42.03_PM.png)0.19.5https://0xacab.org/leap/bitmask-dev/-/issues/9231delete message errors2018-02-13T20:03:28Zkwadronautdelete message errorsBitmask 0.10.3rc1-11-g87531f40 provider leap.se.
Trying to delete a message "the current operation on 'Inbox' did not succeed. The mail LocalSoledadIMAPServer instance has no attribute '_parseMbox'.
```
2018-01-31T19:20:26+0100 [leap.b...Bitmask 0.10.3rc1-11-g87531f40 provider leap.se.
Trying to delete a message "the current operation on 'Inbox' did not succeed. The mail LocalSoledadIMAPServer instance has no attribute '_parseMbox'.
```
2018-01-31T19:20:26+0100 [leap.bitmask.mail.imap.service.LocalSoledadIMAPServer#debug] rcv (select): 727 uid copy 552 "Trash"
2018-01-31T19:20:26+0100 [LocalSoledadIMAPServer,5,127.0.0.1] Unhandled Error
Traceback (most recent call last):
File "site-packages/twisted/mail/imap4.py", line 804, in __cbDispatch
File "site-packages/twisted/mail/imap4.py", line 786, in __doCommand
File "site-packages/twisted/internet/defer.py", line 321, in addCallback
File "site-packages/twisted/internet/defer.py", line 310, in addCallbacks
--- <exception caught here> ---
File "site-packages/twisted/internet/defer.py", line 653, in _runCallbacks
File "site-packages/twisted/mail/imap4.py", line 804, in __cbDispatch
File "site-packages/twisted/mail/imap4.py", line 796, in __doCommand
File "site-packages/twisted/mail/imap4.py", line 2407, in do_COPY
exceptions.AttributeError: LocalSoledadIMAPServer instance has no attribute '_parseMbox'
2018-01-31T19:20:26+0100 [leap.bitmask.mail.imap.service.LocalSoledadIMAPServer#debug] rcv (select): 728 noop
2018-01-31T19:20:26+0100 [leap.bitmask.mail.imap.service.LocalSoledadIMAPServer#debug] rcv (select): 729 UID fetch 1056:* (FLAGS)
2018-01-31T19:20:26+0100 [leap.bitmask.mail.imap.service.LocalSoledadIMAPServer#debug] rcv (select): 730 UID fetch 81:112,114,114:118,121,120:122,126,124:126,135,134,132:137,147:148,140:141,151,143:259,552,259 (UID RFC822.SIZE FLAGS BODY.PEEK[HEADER.FIELDS (From To Cc Bcc Subject Date Message-ID Priority X-Priority References Newsgroups In-Reply-To Content-Type Reply-To)])
2018-01-31T19:20:26+0100 [leap.bitmask.mail.adaptors.soledad.SoledadMailAdaptor#debug] BUG ------------------------------------------
2018-01-31T19:20:26+0100 [leap.bitmask.mail.adaptors.soledad.SoledadMailAdaptor#debug] BUG: Error while retrieving part docs for mdoc id M-1f957516_4b2b_4999_bd48_b67e313a4250-02396BBEC89CE38DBBDA0EBCFCEB477644962AE8DBFDE8C7B236A222F26E74EA
2018-01-31T19:20:26+0100 [leap.bitmask.mail.adaptors.soledad.SoledadMailAdaptor#debug] BUG (please report above info) ---------------
2018-01-31T19:20:26+0100 [leap.bitmask.mail.adaptors.soledad.SoledadMailAdaptor#error] BUG: Error while getting msg (uid=144)
2018-01-31T19:20:26+0100 [leap.bitmask.mail.adaptors.soledad.SoledadMailAdaptor#debug] BUG ------------------------------------------
2018-01-31T19:20:26+0100 [leap.bitmask.mail.adaptors.soledad.SoledadMailAdaptor#debug] BUG: Error while retrieving part docs for mdoc id M-1f957516_4b2b_4999_bd48_b67e313a4250-6B56818F49537230D330207C44B71F30C8D3E39BFBE4FA5D4761FEA3E539301D
2018-01-31T19:20:26+0100 [leap.bitmask.mail.adaptors.soledad.SoledadMailAdaptor#debug] BUG (please report above info) ---------------
2018-01-31T19:20:26+0100 [leap.bitmask.mail.adaptors.soledad.SoledadMailAdaptor#error] BUG: Error while getting msg (uid=145)
2018-01-31T19:20:26+0100 [leap.bitmask.mail.incoming.service.IncomingMail#debug] Fetching mail for: b5500b39ecc2a7a6fd6a1b38ab9e5155 kwadronaut@leap.se
2018-01-31T19:20:26+0100 [leap.bitmask.mail.incoming.service.IncomingMail#info] Starting sync...
2018-01-31T19:20:26+0100 [leap.bitmask.mail.adaptors.soledad.SoledadMailAdaptor#debug] BUG ------------------------------------------
2018-01-31T19:20:26+0100 [leap.bitmask.mail.adaptors.soledad.SoledadMailAdaptor#debug] BUG: Error while retrieving part docs for mdoc id M-1f957516_4b2b_4999_bd48_b67e313a4250-F06FC7B11BAE549D5A3D83EB15C5933F5533495908FD90E75372FCD695C09C59
2018-01-31T19:20:26+0100 [leap.bitmask.mail.adaptors.soledad.SoledadMailAdaptor#debug] BUG (please report above info) ---------------
2018-01-31T19:20:26+0100 [leap.bitmask.mail.adaptors.soledad.SoledadMailAdaptor#error] BUG: Error while getting msg (uid=200)
2018-01-31T19:20:26+0100 [twisted.web.client._HTTP11ClientFactory#info] Starting factory _HTTP11ClientFactory(<function quiescentCallback at 0x7fe49e980a28>, <twisted.internet.endpoints._WrapperEndpoint object at 0x7fe4b8332a50>)
```
"the current operation on 'Inbox' did not succeed. The mail LocalSoledadIMAPServer instance has no attribute '_parseMbox'Dogfoodinghttps://0xacab.org/leap/bitmask-dev/-/issues/9053Bitmask IMAP interface should return folders with spaces in their name as quo...2018-01-25T13:59:37ZsimonftBitmask IMAP interface should return folders with spaces in their name as quoted stringsAccording to my reading of the RFC, if a folder name has a space in it the STATUS command should return it with quotes around the name. Bitmask is not doing this.
```
C: 'A14 STATUS "TEST FOLDER" (MESSAGES RECENT UNSEEN UIDVALIDITY UIDN...According to my reading of the RFC, if a folder name has a space in it the STATUS command should return it with quotes around the name. Bitmask is not doing this.
```
C: 'A14 STATUS "TEST FOLDER" (MESSAGES RECENT UNSEEN UIDVALIDITY UIDNEXT)'
S: '* STATUS TEST FOLDER (UIDNEXT 1 UIDVALIDITY 1505327703137 MESSAGES 0 UNSEEN 0 RECENT 0)'
S: 'A14 OK STATUS complete'
```
In the example, `TEST FOLDER` is the folder name.0.19.5Kali KanekoKali Kanekohttps://0xacab.org/leap/bitmask-dev/-/issues/9032create standard mailboxes and add proper special flags to them2017-11-08T18:07:04ZKali Kanekocreate standard mailboxes and add proper special flags to themright now we're only creating an Inbox by default.
We could create Drafts, Sent at least, and give them proper special flags.right now we're only creating an Inbox by default.
We could create Drafts, Sent at least, and give them proper special flags.0.19.5https://0xacab.org/leap/bitmask-dev/-/issues/9019bitmaskd runs out of memory when client requests a range of a billion UIDs2017-08-23T04:00:33Zsimonftbitmaskd runs out of memory when client requests a range of a billion UIDsThe program mbsync, which is the binary for isync, requests messages by running `UID FETCH 1:1000000000`. It seems like bitmask tries to create a data structure with a billion elements to respond to this, and runs out of memory.The program mbsync, which is the binary for isync, requests messages by running `UID FETCH 1:1000000000`. It seems like bitmask tries to create a data structure with a billion elements to respond to this, and runs out of memory.0.19.5https://0xacab.org/leap/bitmask-dev/-/issues/9002Slowness2017-08-16T22:00:34ZkwadronautSlownessWhile using Pixelated, bundle dffaee85810a92b642d7cda0eb9adfdcaa4cf27a
Launching Pixelated, waiting for (30?) seconds before I see in the UI that there are new mails. When trying to actually read any, I get timeouts.
```
2017-08-08T23...While using Pixelated, bundle dffaee85810a92b642d7cda0eb9adfdcaa4cf27a
Launching Pixelated, waiting for (30?) seconds before I see in the UI that there are new mails. When trying to actually read any, I get timeouts.
```
2017-08-08T23:20:47+0200 [leap.common.http._HTTP11ClientFactory#info] Stopping factory <leap.common.http._HTTP11ClientFactory instance at 0x7fcfa54575f0>
2017-08-08T23:20:47+0200 [twisted.python.log#info] "127.0.0.1" - - [08/Aug/2017:21:20:47 +0000] "GET /mails?q=tag%3A%22inbox%22&p=1&w=25 HTTP/1.1" 200 96196 "http://localhost:9090/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) Qt/5.5.1 Safari/538.1"
2017-08-08T23:21:26+0200 [-] Timing out client: IPv4Address(TCP, '127.0.0.1', 51324)
2017-08-08T23:21:26+0200 [leap.common.http._HTTP11ClientFactory#info] Stopping factory <leap.common.http._HTTP11ClientFactory instance at 0x7fcfa50c5830>
2017-08-08T23:22:12+0200 [-] Timing out client: IPv4Address(TCP, '127.0.0.1', 51318)
2017-08-08T23:23:06+0200 [leap.bitmask.mail.incoming.service.IncomingMail#info] Deleting Incoming message: 41478140-5990-43ed-8c79-735fbf5d1e9b
2017-08-08T23:23:08+0200 [leap.bitmask.mail.incoming.service.IncomingMail#info] Deleting Incoming message: 8a35c532-4671-4eda-b056-44b8260a7528
2017-08-08T23:25:20+0200 [twisted.python.log#info] "127.0.0.1" - - [08/Aug/2017:21:23:06 +0000] "GET /tags HTTP/1.1" 200 414 "http://localhost:9090/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) Qt/5.5.1 Safari/538.1"
2017-08-08T23:25:20+0200 [leap.bitmask.mail.incoming.service.IncomingMail#info] Deleting Incoming message: 99d73b51-3948-4da5-823c-a1362b26e6d1
2017-08-08T23:25:21+0200 [leap.bitmask.mail.incoming.service.IncomingMail#info] Deleting Incoming message: afca1dc8-fdc3-4dbc-852a-898097daafee
2017-08-08T23:26:37+0200 [twisted.python.log#info] "127.0.0.1" - - [08/Aug/2017:21:25:20 +0000] "GET /mails?q=tag%3A%22inbox%22&p=1&w=25 HTTP/1.1" 200 96617 "http://localhost:9090/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) Qt/5.5.1 Safari/538.1"
2017-08-08T23:26:37+0200 [-] Timing out client: IPv4Address(TCP, '127.0.0.1', 51746)
2017-08-08T23:26:37+0200 [leap.bitmask.mail.incoming.service.IncomingMail#info] Deleting Incoming message: ce7064e3-a9df-4004-a0e0-9ac2ca847fab
2017-08-08T23:26:38+0200 [leap.bitmask.mail.incoming.service.IncomingMail#info] Deleting Incoming message: edc64d53-95b3-480f-8676-d9e6df633591
2017-08-08T23:28:02+0200 [-] Timing out client: IPv4Address(TCP, '127.0.0.1', 51748)
2017-08-08T23:29:33+0200 [leap.bitmask.mail.incoming.service.IncomingMail#info] There are 51 mails
2017-08-08T23:29:33+0200 [-] Timing out client: IPv4Address(TCP, '127.0.0.1', 51758)
```
Have to hit the (x) button to close Pixelated, the logout button doesn't seem to work. When relaunching Pixelated: white screen.0.19.5https://0xacab.org/leap/bitmask-dev/-/issues/8955Register a bonafide callable with Soledad Incoming Loop2017-07-06T23:06:51ZKali KanekoRegister a bonafide callable with Soledad Incoming Loopafter the IncomingMail refactor is finished to accomodate the new incoming loop in Soledad,
we can finally register a callback with soledad, so that the incoming loop is able to get a new authentication token.
```
2017-06-29T10:02:55+02...after the IncomingMail refactor is finished to accomodate the new incoming loop in Soledad,
we can finally register a callback with soledad, so that the incoming loop is able to get a new authentication token.
```
2017-06-29T10:02:55+0200 [leap.bitmask.mail.incoming.service.IncomingMail#info] Starting sync...
2017-06-29T10:03:05+0200 [twisted.web.client._HTTP11ClientFactory#info] Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x7f71ed325560>
2017-06-29T10:03:06+0200 [leap.soledad.client.api#error] got exception when syncing!
*--- Failure #910 ---
site-packages/twisted/internet/defer.py:500: errback(...)
site-packages/twisted/internet/defer.py:567: _startRunCallbacks(...)
site-packages/twisted/internet/defer.py:653: _runCallbacks(...)
site-packages/twisted/internet/defer.py:1442: gotResult(...)
[Capture of Locals and Globals disabled (use captureVars=True)]
--- <exception caught here> ---
site-packages/twisted/internet/defer.py:1384: _inlineCallbacks(...)
site-packages/twisted/python/failure.py:393: throwExceptionIntoGenerator(...)
site-packages/leap/soledad/client/_db/sqlcipher.py:471: sync(...)
site-packages/twisted/internet/defer.py:1384: _inlineCallbacks(...)
site-packages/twisted/python/failure.py:393: throwExceptionIntoGenerator(...)
site-packages/leap/soledad/client/sync.py:83: sync(...)
site-packages/twisted/internet/defer.py:1384: _inlineCallbacks(...)
site-packages/twisted/python/failure.py:393: throwExceptionIntoGenerator(...)
site-packages/leap/soledad/client/http_target/api.py:102: get_sync_info(...)
site-packages/twisted/internet/defer.py:653: _runCallbacks(...)
site-packages/leap/soledad/client/http_target/api.py:247: _unauth_to_invalid_token_error(...)
[Capture of Locals and Globals disabled (use captureVars=True)]
leap.soledad.common.errors.InvalidAuthTokenError:
*--- End of Failure #910 ---
2017-06-29T10:03:06+0200 [leap.bitmask.mail.incoming.service.IncomingMail#warn] Sync failed because token is invalid: <twisted.python.failure.Failure leap.soledad.common.errors.InvalidAuthTokenError: >
2017-06-29T10:03:06+0200 [leap.bitmask.mail.incoming.service.IncomingMail#info] Processing incoming mail
2017-06-29T10:03:06+0200 [leap.bitmask.mail.incoming.service.IncomingMail#debug] no incoming messages found
```Nexthttps://0xacab.org/leap/bitmask-dev/-/issues/8934osx: cannot use symlinked gpg installed by homebrew2017-07-19T16:15:35ZKali Kanekoosx: cannot use symlinked gpg installed by homebrewas a first step, we're experimenting with distributing the bitmask bundle with homebrew.
this, however, has a problem when finding the opengpg binary, since keymanager has removed the code that avoided the symlinks.as a first step, we're experimenting with distributing the bitmask bundle with homebrew.
this, however, has a problem when finding the opengpg binary, since keymanager has removed the code that avoided the symlinks.0.19.5https://0xacab.org/leap/bitmask-dev/-/issues/8927Bitmask TB addon: TypeError: incoming.username.contains is not a function2017-07-06T20:46:09ZVaracBitmask TB addon: TypeError: incoming.username.contains is not a functionI tried to create a TB account using the TB addon, but I got this error:
```
TypeError: incoming.username.contains is not a function
```
see this screenshot: ![Screenshot_from_2017-06-09_13-11-58](/uploads/8f7f671da0e6265a5f9e7ed...I tried to create a TB account using the TB addon, but I got this error:
```
TypeError: incoming.username.contains is not a function
```
see this screenshot: ![Screenshot_from_2017-06-09_13-11-58](/uploads/8f7f671da0e6265a5f9e7ed4ed59071e/Screenshot_from_2017-06-09_13-11-58.png)0.19.5https://0xacab.org/leap/bitmask-dev/-/issues/8899Key imported through webapp isn't taken into account2017-07-06T20:46:28ZkwadronautKey imported through webapp isn't taken into account* create user, add public key through webapp
* test with curl -k -i --silent --max-time 10 -X GET -d address=MYUSERNAME@provider https://unstable.bitmask.net I get the correct key.
* start bitmask (Bitmask Desktop Client, Version 0.9.4+2...* create user, add public key through webapp
* test with curl -k -i --silent --max-time 10 -X GET -d address=MYUSERNAME@provider https://unstable.bitmask.net I get the correct key.
* start bitmask (Bitmask Desktop Client, Version 0.9.4+209.g3e18344), login.
```
* 2017-05-18T17:16:54+0200 [leap.soledad.client.sync#warn] Database isn't ready on server. Will be created.
2017-05-18T17:16:54+0200 [leap.soledad.client.sync#warn] Reason: <class 'leap.soledad.common.l2db.errors.DatabaseDoesNotExist'>
2017-05-18T17:16:54+0200 [leap.soledad.client.sync#debug] target replica uid: None
2017-05-18T17:16:54+0200 [leap.soledad.client.sync#debug] target generation: 0
2017-05-18T17:16:54+0200 [leap.soledad.client.sync#debug] target trans id:
2017-05-18T17:16:54+0200 [leap.soledad.client.sync#debug] target my gen: 0
2017-05-18T17:16:54+0200 [leap.soledad.client.sync#debug] target my trans_id:
2017-05-18T17:16:54+0200 [leap.soledad.client.sync#debug] source replica_uid: 8f3365815a9a41c7be02d7f5193012a3
2017-05-18T17:16:54+0200 [leap.soledad.client.sync#debug] there are 0 documents to send
2017-05-18T17:16:54+0200 [leap.bitmask.core.mail_services.KeymanagerContainer#info] Looking up private key for kwadronaut@leap.se
2017-05-18T17:16:54+0200 [leap.bitmask.keymanager.KeyManager#debug] Getting key for kwadronaut@leap.se
2017-05-18T17:16:54+0200 [leap.bitmask.core.mail_services.KeymanagerContainer#info] Key not found, generating key for kwadronaut@leap.se
2017-05-18T17:16:54+0200 [twisted.python.log#info] "127.0.0.1" - - [18/May/2017:15:16:54 +0000] "POST /API/events/poll HTTP/1.1" 200 74 "http://localhost:7070/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) Qt/5.5.1 Safari/538.1"
2017-05-18T17:16:54+0200 [leap.bitmask.keymanager.openpgp.OpenPGPScheme#info] About to generate keys... This might take SOME time.
```
When now requesting the key, I get a new public key.
Expected result: start using the pubkey that was imported through the webapp.
I understand that this is a non-default setup (importing existing pubkey), still this is something where people can shoot themselves in the foot accidently. Can we discuss different scenarios that we want to cater for?0.19.5https://0xacab.org/leap/bitmask-dev/-/issues/8892Error copying emails to folder2017-07-12T15:55:24ZSune MølgaardError copying emails to folderAfter the logging cleanup in #8849, I have successfully moved some emails, but with latest bundle, I ran into the following:
```
2017-05-13T11:06:35+0200 [leap.bitmask.mail.imap.service.LocalSoledadIMAPServer#debug] rcv (select): DON...After the logging cleanup in #8849, I have successfully moved some emails, but with latest bundle, I ran into the following:
```
2017-05-13T11:06:35+0200 [leap.bitmask.mail.imap.service.LocalSoledadIMAPServer#debug] rcv (select): DONE
2017-05-13T11:06:35+0200 [leap.bitmask.mail.imap.service.LocalSoledadIMAPServer#debug] Unable to format event {'log_namespace': 'leap.bitmask.mail.imap.service.LocalSoledadIMAPServer', 'log_level': <LogLevel=debug>, 'log_logger': <Logger 'leap.bitmask.mail.imap.service.LocalSoledadIMAPServer'>, 'log_time': 1494666395.58233, 'log_source': <leap.bitmask.mail.imap.service.LocalSoledadIMAPServer instance at 0x7feb6ee09950>, 'log_format': 'rcv (select): 16 append "INBOX/BLFS Hints/2005/2005Q4" (\\Seen) "02-Oct-2005 16:44:53 +0200" {4973+}'}: u'4973+'
2017-05-13T11:06:35+0200 [leap.bitmask.mail.imap.service.LocalSoledadIMAPServer#debug] rcv (select):
2017-05-13T11:06:35+0200 [leap.bitmask.mail.adaptors.soledad.HeaderDocWrapper#debug] Got conflict while putting H-24E439C5573253993C98468F304A25386718B7D5DBA0465E8B7DF2C56C639FFB
2017-05-13T11:06:35+0200 [leap.bitmask.mail.adaptors.soledad.FlagsDocWrapper#debug] Got conflict while putting F-bf05dbf2_581d_48ed_847a_a3450636550a-24E439C5573253993C98468F304A25386718B7D5DBA0465E8B7DF2C56C639FFB
2017-05-13T11:06:35+0200 [leap.bitmask.mail.adaptors.soledad.MetaMsgDocWrapper#debug] Got conflict while putting M-bf05dbf2_581d_48ed_847a_a3450636550a-24E439C5573253993C98468F304A25386718B7D5DBA0465E8B7DF2C56C639FFB
2017-05-13T11:06:35+0200 [leap.bitmask.mail.mail.MessageCollection#error] Unable to format event {'log_namespace': 'leap.bitmask.mail.mail.MessageCollection', 'log_level': <LogLevel=error>, 'log_logger': <Logger 'leap.bitmask.mail.mail.MessageCollection'>, 'log_time': 1494666395.604982, 'log_source': <leap.bitmask.mail.mail.MessageCollection object at 0x7feb6c07f810>, 'log_format': "BUG: (please report) Null doc_id for document {'fdoc': 'F-bf05dbf2_581d_48ed_847a_a3450636550a-24E439C5573253993C98468F304A25386718B7D5DBA0465E8B7DF2C56C639FFB', 'type': 'meta', 'hdoc': 'H-24E439C5573253993C98468F304A25386718B7D5DBA0465E8B7DF2C56C639FFB', 'cdocs': ['C-F63BEE211836FE8C7E87004B860FCE345E7EB8C96A9C2FD7554478034FF7DD41', 'C-54F9F9B7F0612D0D5BDB1A862B6BAB67D857D23524CD607FFEC49A261431391E']}"}: u"'fdoc'"
2017-05-13T11:06:35+0200 [leap.bitmask.mail.mail.MessageCollection#error] Error adding msg!
2017-05-13T11:06:35+0200 [leap.bitmask.mail.adaptors.soledad.ContentDocWrapper#debug] Got conflict while putting C-F63BEE211836FE8C7E87004B860FCE345E7EB8C96A9C2FD7554478034FF7DD41
2017-05-13T11:06:35+0200 [leap.bitmask.mail.adaptors.soledad.ContentDocWrapper#debug] Got conflict while putting C-54F9F9B7F0612D0D5BDB1A862B6BAB67D857D23524CD607FFEC49A261431391E
2017-05-13T11:06:35+0200 [leap.bitmask.mail.adaptors.soledad.MessageWrapper#debug] All parts inserted for msg!
2017-05-13T11:06:35+0200 [leap.bitmask.mail.imap.service.LocalSoledadIMAPServer#debug] Unable to format event {'log_namespace': 'leap.bitmask.mail.imap.service.LocalSoledadIMAPServer', 'log_level': <LogLevel=debug>, 'log_logger': <Logger 'leap.bitmask.mail.imap.service.LocalSoledadIMAPServer'>, 'log_time': 1494666395.61418, 'log_source': <leap.bitmask.mail.imap.service.LocalSoledadIMAPServer instance at 0x7feb6ee09950>, 'log_format': 'rcv (select): 17 append "INBOX/BLFS Hints/2005/2005Q4" (\\Seen) {4740+}'}: u'4740+'
2017-05-13T11:06:35+0200 [leap.bitmask.mail.imap.service.LocalSoledadIMAPServer#debug] rcv (select):
2017-05-13T11:06:35+0200 [leap.bitmask.mail.imap.service.LocalSoledadIMAPServer#critical] Error appending
Traceback (most recent call last):
File "site-packages/twisted/internet/base.py", line 1252, in mainLoop
File "site-packages/twisted/internet/base.py", line 851, in runUntilCurrent
File "site-packages/twisted/internet/defer.py", line 459, in callback
File "site-packages/twisted/internet/defer.py", line 567, in _startRunCallbacks
--- <exception caught here> ---
File "site-packages/twisted/internet/defer.py", line 653, in _runCallbacks
File "site-packages/leap/bitmask/mail/imap/server.py", line 599, in _cbAppendGotMailbox
File "site-packages/leap/bitmask/mail/imap/mailbox.py", line 384, in addMessage
File "site-packages/leap/bitmask/mail/mail.py", line 616, in add_msg
File "site-packages/leap/bitmask/mail/adaptors/soledad.py", line 876, in get_msg_from_string
File "site-packages/leap/bitmask/mail/adaptors/soledad.py", line 1192, in _split_into_parts
File "email/message.py", line 137, in as_string
File "email/generator.py", line 83, in flatten
File "email/generator.py", line 115, in _write
File "email/generator.py", line 164, in _write_headers
File "email/header.py", line 183, in __init__
File "email/header.py", line 272, in append
exceptions.UnicodeEncodeError: 'ascii' codec can't encode character u'\ufffd' in position 8: ordinal not in range(128)
```0.19.5meskiomeskiohttps://0xacab.org/leap/bitmask-dev/-/issues/8872Decryption Error2017-07-06T20:38:46ZSune MølgaardDecryption ErrorI also get the following frequently:
`2017-05-02T09:03:17+0200 [leap.bitmask.mail.incoming.service.IncomingMail#info] Processing incoming mail
2017-05-02T09:03:17+0200 [leap.bitmask.mail.incoming.service.IncomingMail#info] decrypting ms...I also get the following frequently:
`2017-05-02T09:03:17+0200 [leap.bitmask.mail.incoming.service.IncomingMail#info] Processing incoming mail
2017-05-02T09:03:17+0200 [leap.bitmask.mail.incoming.service.IncomingMail#info] decrypting msg: f7428731-c173-491c-bd16-0f10369dc4f0
2017-05-02T09:03:17+0200 [leap.bitmask.mail.incoming.service.IncomingMail#error] _decrypt_doc: Error decrypting document with ID f7428731-c173-491c-bd16-0f10369dc4f0
2017-05-02T09:03:17+0200 [leap.bitmask.mail.incoming.service.IncomingMail#info] Processing decrypted doc
2017-05-02T09:03:17+0200 [leap.bitmask.mail.incoming.service.IncomingMail#error] Error while decrypting f7428731-c173-491c-bd16-0f10369dc4f0
2017-05-02T09:03:17+0200 [leap.bitmask.mail.incoming.service.IncomingMail#error] No JSON object could be decoded
2017-05-02T09:03:17+0200 [leap.bitmask.mail.incoming.service.IncomingMail#info] Adding message f7428731-c173-491c-bd16-0f10369dc4f0 to local db
2017-05-02T09:03:17+0200 [leap.bitmask.mail.incoming.service.IncomingMail#error] Error while fetching incoming mail <twisted.python.failure.Failure twisted.internet.defer.FirstError: FirstError[#0, [Failure instance: Traceback: <type 'exceptions.TypeError'>: StringIO() argument 1 must be string or buffer, not list
/home/sune/src/pixelated/bitmask-dev/venv/local/lib/python2.7/site-packages/twisted/internet/defer.py:653:_runCallbacks
/home/sune/src/pixelated/bitmask-dev/venv/local/lib/python2.7/site-packages/twisted/internet/defer.py:1032:_cbDeferred
/home/sune/src/pixelated/bitmask-dev/venv/local/lib/python2.7/site-packages/twisted/internet/defer.py:459:callback
/home/sune/src/pixelated/bitmask-dev/venv/local/lib/python2.7/site-packages/twisted/internet/defer.py:567:_startRunCallbacks
--- <exception caught here> ---
/home/sune/src/pixelated/bitmask-dev/venv/local/lib/python2.7/site-packages/twisted/internet/defer.py:653:_runCallbacks
/home/sune/src/pixelated/bitmask-dev/src/leap/bitmask/mail/incoming/service.py:864:_add_message_locally
/home/sune/src/pixelated/bitmask-dev/src/leap/bitmask/mail/mail.py:616:add_msg
/home/sune/src/pixelated/bitmask-dev/src/leap/bitmask/mail/adaptors/soledad.py:876:get_msg_from_string
/home/sune/src/pixelated/bitmask-dev/src/leap/bitmask/mail/adaptors/soledad.py:1191:_split_into_parts
/home/sune/src/pixelated/bitmask-dev/src/leap/bitmask/mail/adaptors/soledad.py:1210:_parse_msg
/usr/lib/python2.7/email/__init__.py:57:message_from_string
/usr/lib/python2.7/email/parser.py:82:parsestr
]]>
2017-05-02T09:03:17+0200 [leap.bitmask.mail.incoming.service.IncomingMail#info] Updating Incoming MSG: SoledadDoc f7428731-c173-491c-bd16-0f10369dc4f0
`0.19.5https://0xacab.org/leap/bitmask-dev/-/issues/8863Keyring has wrong number of keys: 0 when logging into mail.bitmask.net2017-10-23T11:27:14ZVaracKeyring has wrong number of keys: 0 when logging into mail.bitmask.netI'm using the latest bitmask-dev from source and try to login to my mail.bitmask.net account (probably quite old):
```
--- ~ » cat .config/leap/bitmaskd.log | sed 's/varac/USERNAME/g'
2017-04-25T13:27:34+0200 [-] Loading /home/USERNAME/...I'm using the latest bitmask-dev from source and try to login to my mail.bitmask.net account (probably quite old):
```
--- ~ » cat .config/leap/bitmaskd.log | sed 's/varac/USERNAME/g'
2017-04-25T13:27:34+0200 [-] Loading /home/USERNAME/dev/projects/leap/git/bitmask-dev/src/leap/bitmask/core/bitmaskd.tac...
2017-04-25T13:27:34+0200 [leap.bitmask.core.service#info] Global token: 5c982e766ca04f469ba568a13181f545
2017-04-25T13:27:34+0200 [-] Loaded.
2017-04-25T13:27:34+0200 [twisted.scripts._twistd_unix.UnixAppLogger#info] twistd 17.1.0 (/home/USERNAME/dev/projects/leap/git/bitmask-dev/venv-gui/bin/python2 2.7.13) starting up.
2017-04-25T13:27:34+0200 [twisted.scripts._twistd_unix.UnixAppLogger#info] reactor class: twisted.internet.epollreactor.EPollReactor.
2017-04-25T13:27:34+0200 [leap.bitmask.core._session#info] starting Session Service
2017-04-25T13:27:34+0200 [leap.bitmask.core.mail_services#info] starting Soledad Service
2017-04-25T13:27:34+0200 [leap.bitmask.core.mail_services#info] starting mail service
2017-04-25T13:27:34+0200 [leap.bitmask.core.mail_services#info] starting imap service
2017-04-25T13:27:34+0200 [-] LeapIMAPFactory starting on 1984
2017-04-25T13:27:34+0200 [leap.bitmask.mail.imap.service.LeapIMAPFactory#info] Starting factory <leap.bitmask.mail.imap.service.LeapIMAPFactory instance at 0x7fa5992e2f38>
2017-04-25T13:27:34+0200 [leap.bitmask.core.mail_services#info] starting smtp service
2017-04-25T13:27:34+0200 [-] SMTPFactory starting on 2013
2017-04-25T13:27:34+0200 [leap.bitmask.mail.smtp.gateway.SMTPFactory#info] Starting factory <leap.bitmask.mail.smtp.gateway.SMTPFactory instance at 0x7fa5982855f0>
2017-04-25T13:27:34+0200 [leap.bitmask.core.mail_services#info] starting incoming mail service
2017-04-25T13:27:34+0200 [leap.bitmask.core._zmq#info] starting ZMQ dispatcher
2017-04-25T13:27:34+0200 [-] Site starting on 7070
2017-04-25T13:27:34+0200 [twisted.web.server.Site#info] Starting factory <twisted.web.server.Site instance at 0x7fa598285e18>
2017-04-25T13:27:34+0200 [twisted.python.log#info] "127.0.0.1" - - [25/Apr/2017:11:27:34 +0000] "GET / HTTP/1.1" 200 255 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) Qt/5.7.1 Safari/538.1"
2017-04-25T13:27:34+0200 [twisted.python.log#info] "127.0.0.1" - - [25/Apr/2017:11:27:34 +0000] "GET /app.bundle.js HTTP/1.1" 200 2038435 "http://localhost:7070/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) Qt/5.7.1 Safari/538.1"
2017-04-25T13:27:34+0200 [twisted.python.log#info] "127.0.0.1" - - [25/Apr/2017:11:27:34 +0000] "POST /API/bonafide/provider/list HTTP/1.1" 200 29 "http://localhost:7070/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) Qt/5.7.1 Safari/538.1"
2017-04-25T13:27:34+0200 [twisted.python.log#info] "127.0.0.1" - - [25/Apr/2017:11:27:34 +0000] "POST /API/bonafide/user/list HTTP/1.1" 200 29 "http://localhost:7070/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) Qt/5.7.1 Safari/538.1"
2017-04-25T13:27:34+0200 [twisted.python.log#info] "127.0.0.1" - - [25/Apr/2017:11:27:34 +0000] "POST /API/bonafide/provider/list HTTP/1.1" 200 29 "http://localhost:7070/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) Qt/5.7.1 Safari/538.1"
2017-04-25T13:27:34+0200 [twisted.python.log#info] "127.0.0.1" - - [25/Apr/2017:11:27:34 +0000] "GET /js/zxcvbn.js HTTP/1.1" 200 821792 "http://localhost:7070/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) Qt/5.7.1 Safari/538.1"
2017-04-25T13:27:34+0200 [twisted.python.log#info] "127.0.0.1" - - [25/Apr/2017:11:27:34 +0000] "GET /fa2772327f55d8198301fdb8bcfc8158.woff HTTP/1.1" 200 23424 "http://localhost:7070/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) Qt/5.7.1 Safari/538.1"
2017-04-25T13:27:48+0200 [twisted.web.client.HTTPDownloader#info] Starting factory <HTTPDownloader: https://mail.bitmask.net/provider.json>
2017-04-25T13:27:48+0200 [leap.bitmask.core.dispatcher#critical] [DISPATCHER] Unexpected error:
Traceback (most recent call last):
File "/home/USERNAME/dev/projects/leap/git/bitmask-dev/venv-gui/bin/bitmask", line 11, in <module>
load_entry_point('leap.bitmask', 'console_scripts', 'bitmask')()
--- <exception caught here> ---
File "/home/USERNAME/dev/projects/leap/git/bitmask-dev/src/leap/bitmask/gui/app.py", line 252, in start_app
os.remove(prev_auth)
exceptions.OSError: [Errno 2] No such file or directory: '/home/USERNAME/.config/leap/authtoken'
2017-04-25T13:27:48+0200 [twisted.python.log#info] "127.0.0.1" - - [25/Apr/2017:11:27:47 +0000] "POST /API/bonafide/user/authenticate HTTP/1.1" 200 72 "http://localhost:7070/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) Qt/5.7.1 Safari/538.1"
2017-04-25T13:27:48+0200 [twisted.web.client.HTTPDownloader#info] Starting factory <HTTPDownloader: https://mail.bitmask.net/ca.crt>
2017-04-25T13:27:48+0200 [twisted.web.client.HTTPDownloader#info] Stopping factory <HTTPDownloader: https://mail.bitmask.net/provider.json>
2017-04-25T13:27:49+0200 [stdout#info] EXPECTED FINGERPRINT: SHA256: 0f17c033115f6b76ff67871872303ff65034efe7dd1b910062ca323eb4da5c7e
2017-04-25T13:27:49+0200 [twisted.web.client.HTTPDownloader#info] Starting factory <HTTPDownloader: https://api.mail.bitmask.net:4430/1/configs.json>
2017-04-25T13:27:49+0200 [twisted.web.client.HTTPDownloader#info] Stopping factory <HTTPDownloader: https://mail.bitmask.net/ca.crt>
2017-04-25T13:27:49+0200 [leap.bitmask.bonafide.config#warn] cannot download services config yet, need auth
2017-04-25T13:27:49+0200 [twisted.web.client.HTTPDownloader#info] Stopping factory <HTTPDownloader: https://api.mail.bitmask.net:4430/1/configs.json>
2017-04-25T13:28:48+0200 [-] Timing out client: IPv4Address(TCP, '127.0.0.1', 35104)
2017-04-25T13:30:52+0200 [twisted.python.log#info] "127.0.0.1" - - [25/Apr/2017:11:30:51 +0000] "POST /API/bonafide/provider/list HTTP/1.1" 200 59 "http://localhost:7070/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) Qt/5.7.1 Safari/538.1"
2017-04-25T13:30:52+0200 [twisted.python.log#info] "127.0.0.1" - - [25/Apr/2017:11:30:51 +0000] "POST /API/bonafide/provider/read HTTP/1.1" 200 2624 "http://localhost:7070/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) Qt/5.7.1 Safari/538.1"
2017-04-25T13:30:55+0200 [twisted.python.log#info] "127.0.0.1" - - [25/Apr/2017:11:30:54 +0000] "POST /API/bonafide/provider/read HTTP/1.1" 200 2624 "http://localhost:7070/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) Qt/5.7.1 Safari/538.1"
2017-04-25T13:31:09+0200 [twisted.web.client._HTTP11ClientFactory#info] Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x7fa5925563f8>
2017-04-25T13:31:09+0200 [twisted.web.client._HTTP11ClientFactory#info] Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x7fa5925563f8>
2017-04-25T13:31:09+0200 [twisted.web.client._HTTP11ClientFactory#info] Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x7fa592577ef0>
2017-04-25T13:31:10+0200 [twisted.web.client._HTTP11ClientFactory#info] Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x7fa592577ef0>
2017-04-25T13:31:10+0200 [twisted.web.client._HTTP11ClientFactory#info] Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x7fa5982ac758>
2017-04-25T13:31:10+0200 [leap.bitmask.bonafide.config#error] Unable to format event {'log_namespace': 'leap.bitmask.bonafide.config', 'log_level': <LogLevel=error>, 'log_logger': <Logger 'leap.bitmask.bonafide.config'>, 'log_time': 1493119870.972486, 'log_source': None, 'log_format': <twisted.python.failure.Failure exceptions.ValueError: No JSON object could be decoded>}: Log format must be unicode or bytes, not <twisted.python.failure.Failure exceptions.ValueError: No JSON object could be decoded>
2017-04-25T13:31:10+0200 [leap.bitmask.bonafide.config#info] downloading config for https://api.mail.bitmask.net:4430/1/config/soledad-service.json...
2017-04-25T13:31:10+0200 [twisted.web.client.HTTPDownloader#info] Starting factory <HTTPDownloader: https://api.mail.bitmask.net:4430/1/config/soledad-service.json>
2017-04-25T13:31:10+0200 [leap.bitmask.bonafide.config#info] downloading config for https://api.mail.bitmask.net:4430/1/config/smtp-service.json...
2017-04-25T13:31:10+0200 [twisted.web.client.HTTPDownloader#info] Starting factory <HTTPDownloader: https://api.mail.bitmask.net:4430/1/config/smtp-service.json>
2017-04-25T13:31:10+0200 [twisted.web.client._HTTP11ClientFactory#info] Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x7fa5982ac758>
2017-04-25T13:31:11+0200 [twisted.web.client.HTTPDownloader#info] Stopping factory <HTTPDownloader: https://api.mail.bitmask.net:4430/1/config/soledad-service.json>
2017-04-25T13:31:11+0200 [leap.soledad.client.api#info] creating directory: /home/USERNAME/.config/leap/soledad.
2017-04-25T13:31:11+0200 [leap.soledad.client._secrets.storage#info] trying to load secrets from disk: /home/USERNAME/.config/leap/soledad/abdbcc1fa267dd0a935404380caffac5.secret
2017-04-25T13:31:11+0200 [leap.soledad.client._secrets.storage#warn] secrets not found in disk
2017-04-25T13:31:11+0200 [leap.soledad.client._secrets.storage#info] trying to load secrets from server...
2017-04-25T13:31:12+0200 [leap.soledad.client._secrets.storage#info] secrets loaded successfully from server
2017-04-25T13:31:12+0200 [stdout#info] POST to https://api.mail.bitmask.net:4430/1/smtp_cert
2017-04-25T13:31:12+0200 [twisted.python.log#info] "127.0.0.1" - - [25/Apr/2017:11:31:10 +0000] "POST /API/bonafide/user/authenticate HTTP/1.1" 200 168 "http://localhost:7070/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) Qt/5.7.1 Safari/538.1"
2017-04-25T13:31:12+0200 [twisted.web.client.HTTPDownloader#info] Stopping factory <HTTPDownloader: https://api.mail.bitmask.net:4430/1/config/smtp-service.json>
2017-04-25T13:31:12+0200 [twisted.web.client._HTTP11ClientFactory#info] Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x7fa5982ac758>
2017-04-25T13:31:12+0200 [twisted.web.client._HTTP11ClientFactory#info] Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x7fa59252cf38>
2017-04-25T13:31:12+0200 [twisted.python.log#info] "127.0.0.1" - - [25/Apr/2017:11:31:12 +0000] "POST /API/bonafide/provider/read HTTP/1.1" 200 2624 "http://localhost:7070/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) Qt/5.7.1 Safari/538.1"
2017-04-25T13:31:12+0200 [twisted.python.log#info] "127.0.0.1" - - [25/Apr/2017:11:31:12 +0000] "GET /img/user.svg HTTP/1.1" 200 3814 "http://localhost:7070/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) Qt/5.7.1 Safari/538.1"
2017-04-25T13:31:12+0200 [twisted.python.log#info] "127.0.0.1" - - [25/Apr/2017:11:31:12 +0000] "GET /img/on.svg HTTP/1.1" 200 3386 "http://localhost:7070/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) Qt/5.7.1 Safari/538.1"
2017-04-25T13:31:12+0200 [twisted.python.log#info] "127.0.0.1" - - [25/Apr/2017:11:31:12 +0000] "POST /API/mail/status/USERNAME@mail.bitmask.net HTTP/1.1" 200 329 "http://localhost:7070/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) Qt/5.7.1 Safari/538.1"
2017-04-25T13:31:12+0200 [twisted.python.log#info] "127.0.0.1" - - [25/Apr/2017:11:31:12 +0000] "GET /img/envelope.svg HTTP/1.1" 200 3189 "http://localhost:7070/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) Qt/5.7.1 Safari/538.1"
2017-04-25T13:31:12+0200 [twisted.python.log#info] "127.0.0.1" - - [25/Apr/2017:11:31:12 +0000] "GET /img/unknown.svg HTTP/1.1" 200 6407 "http://localhost:7070/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) Qt/5.7.1 Safari/538.1"
2017-04-25T13:31:12+0200 [twisted.python.log#info] "127.0.0.1" - - [25/Apr/2017:11:31:12 +0000] "GET /img/wait.svg HTTP/1.1" 200 5619 "http://localhost:7070/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) Qt/5.7.1 Safari/538.1"
2017-04-25T13:31:12+0200 [twisted.python.log#info] "127.0.0.1" - - [25/Apr/2017:11:31:12 +0000] "POST /API/events/register/MAIL_STATUS_CHANGED HTTP/1.1" 200 31 "http://localhost:7070/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) Qt/5.7.1 Safari/538.1"
2017-04-25T13:31:13+0200 [leap.soledad.client.sync#warn] Database isn't ready on server. Will be created.
2017-04-25T13:31:13+0200 [leap.soledad.client.sync#warn] Reason: <class 'leap.soledad.common.l2db.errors.DatabaseDoesNotExist'>
2017-04-25T13:31:13+0200 [leap.bitmask.core.mail_services#info] looking up private key for USERNAME@mail.bitmask.net
2017-04-25T13:31:13+0200 [leap.bitmask.core.mail_services#info] key not found, generating key for USERNAME@mail.bitmask.net
2017-04-25T13:31:13+0200 [twisted.python.log#info] "127.0.0.1" - - [25/Apr/2017:11:31:12 +0000] "POST /API/events/poll HTTP/1.1" 200 78 "http://localhost:7070/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) Qt/5.7.1 Safari/538.1"
2017-04-25T13:31:13+0200 [leap.bitmask.keymanager.openpgp#info] About to generate keys... This might take SOME time.
2017-04-25T13:31:13+0200 [twisted.python.log#info] "127.0.0.1" - - [25/Apr/2017:11:31:12 +0000] "POST /API/mail/status/USERNAME@mail.bitmask.net HTTP/1.1" 200 341 "http://localhost:7070/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) Qt/5.7.1 Safari/538.1"
2017-04-25T13:31:13+0200 [twisted.web.client._HTTP11ClientFactory#info] Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x7fa59252cf38>
2017-04-25T13:31:13+0200 [twisted.web.client._HTTP11ClientFactory#info] Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x7fa5982ac758>
2017-04-25T13:31:14+0200 [stderr#error] Exception in thread Thread-16:
2017-04-25T13:31:14+0200 [stderr#error] Traceback (most recent call last):
2017-04-25T13:31:14+0200 [stderr#error] File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
2017-04-25T13:31:14+0200 [stderr#error] self.run()
2017-04-25T13:31:14+0200 [stderr#error] File "/usr/lib/python2.7/threading.py", line 754, in run
2017-04-25T13:31:14+0200 [stderr#error] self.__target(*self.__args, **self.__kwargs)
2017-04-25T13:31:14+0200 [stderr#error] File "/home/USERNAME/dev/projects/leap/git/bitmask-dev/venv-gui/local/lib/python2.7/site-packages/gnupg/_meta.py", line 648, in _read_response
2017-04-25T13:31:14+0200 [stderr#error] result._handle_status(keyword, value)
2017-04-25T13:31:14+0200 [stderr#error] File "/home/USERNAME/dev/projects/leap/git/bitmask-dev/venv-gui/local/lib/python2.7/site-packages/gnupg/_parsers.py", line 905, in _handle_status
2017-04-25T13:31:14+0200 [stderr#error] raise ValueError("Unknown status message: %r" % key)
2017-04-25T13:31:14+0200 [stderr#error] ValueError: Unknown status message: u'ERROR'
2017-04-25T13:31:14+0200 [leap.bitmask.keymanager.openpgp#info] Keys for USERNAME@mail.bitmask.net have been successfully generated.
2017-04-25T13:31:14+0200 [leap.bitmask.core.mail_services#error] Error while generating key!
2017-04-25T13:31:14+0200 [leap.bitmask.core.mail_services#error] Unable to format event {'log_namespace': 'leap.bitmask.core.mail_services', 'log_level': <LogLevel=error>, 'log_logger': <Logger 'leap.bitmask.core.mail_services'>, 'log_time': 1493119874.355207, 'log_source': None, 'log_format': <twisted.python.failure.Failure exceptions.AssertionError: Keyring has wrong number of keys: 0.>}: Log format must be unicode or bytes, not <twisted.python.failure.Failure exceptions.AssertionError: Keyring has wrong number of keys: 0.>
2017-04-25T13:31:14+0200 [twisted.internet.defer#critical] Unhandled error in Deferred:
2017-04-25T13:31:14+0200 [twisted.internet.defer#critical]
Traceback (most recent call last):
File "/home/USERNAME/dev/projects/leap/git/bitmask-dev/venv-gui/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 459, in callback
self._startRunCallbacks(result)
File "/home/USERNAME/dev/projects/leap/git/bitmask-dev/venv-gui/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 567, in _startRunCallbacks
self._runCallbacks()
File "/home/USERNAME/dev/projects/leap/git/bitmask-dev/venv-gui/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 653, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "/home/USERNAME/dev/projects/leap/git/bitmask-dev/venv-gui/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1357, in gotResult
_inlineCallbacks(r, g, deferred)
--- <exception caught here> ---
File "/home/USERNAME/dev/projects/leap/git/bitmask-dev/venv-gui/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1301, in _inlineCallbacks
result = g.send(result)
File "/home/USERNAME/dev/projects/leap/git/bitmask-dev/src/leap/bitmask/keymanager/openpgp.py", line 199, in _gen_key
'Keyring has wrong number of keys: %d.' % len(pubkeys))
File "/home/USERNAME/dev/projects/leap/git/bitmask-dev/venv-gui/local/lib/python2.7/site-packages/leap/common/check.py", line 48, in leap_assert
assert condition, message
exceptions.AssertionError: Keyring has wrong number of keys: 0.
2017-04-25T13:31:14+0200 [twisted.python.log#info] "127.0.0.1" - - [25/Apr/2017:11:31:13 +0000] "POST /API/events/poll HTTP/1.1" 200 78 "http://localhost:7070/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) Qt/5.7.1 Safari/538.1"
2017-04-25T13:31:14+0200 [twisted.python.log#info] "127.0.0.1" - - [25/Apr/2017:11:31:13 +0000] "POST /API/mail/status/USERNAME@mail.bitmask.net HTTP/1.1" 200 435 "http://localhost:7070/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) Qt/5.7.1 Safari/538.1"
2017-04-25T13:31:14+0200 [twisted.python.log#info] "127.0.0.1" - - [25/Apr/2017:11:31:13 +0000] "GET /img/error.svg HTTP/1.1" 200 4858 "http://localhost:7070/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) Qt/5.7.1 Safari/538.1"
2017-04-25T13:32:12+0200 [-] Timing out client: IPv4Address(TCP, '127.0.0.1', 35212)
2017-04-25T13:32:12+0200 [-] Timing out client: IPv4Address(TCP, '127.0.0.1', 35208)
2017-04-25T13:32:12+0200 [-] Timing out client: IPv4Address(TCP, '127.0.0.1', 35210)
2017-04-25T13:32:12+0200 [-] Timing out client: IPv4Address(TCP, '127.0.0.1', 35206)
2017-04-25T13:32:14+0200 [-] Timing out client: IPv4Address(TCP, '127.0.0.1', 35102)
```0.19.5https://0xacab.org/leap/bitmask-dev/-/issues/8858Signed message doesn't appear as signed in Pixelated2017-07-06T20:01:01ZKali KanekoSigned message doesn't appear as signed in PixelatedI'm not sure if this is an issue with the Bitmask Keymanager or with Pixelated itself.
I'm using alot and gpg2.I'm not sure if this is an issue with the Bitmask Keymanager or with Pixelated itself.
I'm using alot and gpg2.