Comments (10)
I'll take a look at this tomorrow. Thanks for letting me know.
from imapcrypt.
Hideio, both of these are excellent bug finds. The first has to do when the message doesn't present a valid date and the second is caused by not being able to find a secret key ring. It will take time to fix both of these because I have to create a testing environment that will trigger both of these problems.
I think that I will split this issue into two issues. I'll work on the GUI-launch issue (which is really a GPG secret key issue) first.
from imapcrypt.
I couldn't reproduce this bug exactly, but I did find interesting ways to make my imap server crash... I added a "likely" patch to try to work around the missing date issue. Look to version 2.0.3.
from imapcrypt.
Thank you Command Line works now.
Edit: find some exceptions for some mails.
...
llegalWriteException: IMAPBodyPart is read-only
2015-09-14 18:37:46 INFO IMAPCrypt:316 - Message #69 on Tue Nov 11 12:32:35 CET 2014: Fw: Fwd: Info
2015-09-14 18:37:46 DEBUG IMAPCrypt:341 - Encrypting the MultiPartMime message
2015-09-14 18:37:47 ERROR IMAPCrypt:363 - The message failed to encrypt because of a IllegalWriteException: javax.mail.IllegalWriteException: IMAPBodyPart is read-only
2015-09-14 18:37:47 INFO IMAPCrypt:316 - Message #70 on Tue Nov 11 12:33:19 CET 2014: Fw: Fwd: Info
2015-09-14 18:37:47 DEBUG IMAPCrypt:341 - Encrypting the MultiPartMime message
2015-09-14 18:37:48 ERROR IMAPCrypt:363 - The message failed to encrypt because of a IllegalWriteException: javax.mail.IllegalWriteException: IMAPBodyPart is read-only
2015-09-14 18:37:48 INFO IMAPCrypt:316 - Message #71 on Tue Nov 11 12:33:57 CET 2014: Fw: Fwd: Part 2
2015-09-14 18:37:48 DEBUG IMAPCrypt:341 - Encrypting the MultiPartMime message
2015-09-14 18:37:49 ERROR IMAPCrypt:363 - The message failed to encrypt because of a IllegalWriteException: javax.mail.IllegalWriteException: IMAPBodyPart is read-only
2015-09-14 18:37:49 INFO IMAPCrypt:316 - Message #72 on Tue Nov 11 12:34:31 CET 2014: Fw: Fwd: Part 2
2015-09-14 18:37:49 DEBUG IMAPCrypt:341 - Encrypting the MultiPartMime message
2015-09-14 18:37:50 ERROR IMAPCrypt:363 - The message failed to encrypt because of a IllegalWriteException: javax.mail.IllegalWriteException: IMAPBodyPart is read-only
...
from imapcrypt.
An some second small thing, i need umlauts because Drafts=Entwürfe in german.
javax.mail.FolderNotFoundException: Entw?rfe not found
at com.sun.mail.imap.IMAPFolder.checkExists(IMAPFolder.java:430)
at com.sun.mail.imap.IMAPFolder.open(IMAPFolder.java:1018)
at com.sun.mail.imap.IMAPFolder.open(IMAPFolder.java:951)
at org.dhs.chrislee.IMAPCrypt.encrypt(IMAPCrypt.java:307)
at org.dhs.chrislee.IMAPCrypt.main(IMAPCrypt.java:590)
from imapcrypt.
Weird! I thought for sure that I had full UTF-8 support. This should be easy to test however. Thanks for finding the bug.
from imapcrypt.
This is strange. I created a folder called INBOX.imapcrypt.tëstüñç and it seemed to work just fine.
2015-09-15 21:46:42 INFO IMAPCrypt:353 - Appending the new, encrypted version of the message into the folder, INBOX.imapcrypt.tëstüñç
...
2015-09-15 21:46:44 INFO IMAPCrypt:316 - Message #14 on Thu Sep 10 16:33:44 JST 2015: Хотите что-то поменять в своем доме?
from imapcrypt.
In thunderbird the imap address folder "Entwürfe" looks like that "imap.gmx.net/Entw%26APw-rfe" maybe thats matter?
from imapcrypt.
So I used Thunderbird to create a subfolder named "Entw%26APw-rfe" and it showed up in my folder list as Entwürfe. Then I ran 2.0.3 on the folder and it encrypted just fine. I'm starting to suspect the IMAP server software on imap.gmx.net (my sleuthing indicates Cyrus). I'm using dovecot for my test server.
It could be how the java code indexes folders. Perhaps I'm not putting special folders in their proper place. I couldn't figure out how to register an account on gmx.net... I'll try again tomorrow.
2015-09-16 21:49:42 INFO IMAPCrypt:353 - Appending the new, encrypted version of the message into the folder, INBOX.imapcrypt.Entwürfe
from imapcrypt.
GMX have a English portal for *.com emails too https://www.gmx.com/ . But im not 100% sure they use the exact same setups for they servers in europe/america.
from imapcrypt.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imapcrypt.