Commit Graph

74 Commits

Author SHA1 Message Date
Simon Ser ff4f1f7876
protonmail: fix typo in filename 2019-04-14 19:05:58 +03:00
Simon Ser 139f3921e7
protonmail: make auth errors more verbose 2019-04-13 14:03:12 +03:00
Simon Ser 93c8007937
protonmail: make SRP modulus signature failures a warning
Temporarily make signature errors non-fatal because the Go OpenPGP library is
missing some features we need:

    openpgp: unsupported feature: public key algorithm 22

This doesn't really weaken our security since we weren't checking the signature
key anyway. To completely fix this issue, we need to upstream the required
key algorithm.

Fixes https://github.com/emersion/hydroxide/issues/46
2019-04-13 13:58:21 +03:00
emersion ee861e4175
Make it clear that failing to unlock a key isn't fatal 2018-11-24 16:51:23 +01:00
emersion 0b3c3ddde5
Address review comments 2018-10-28 16:52:57 +01:00
Brandon McDonnell 7b92deb6ac
protonmail: Do not duplicate primary account key in keyring.
Probably not worth the extra overhead the way I did it, but neater.
2018-10-28 16:19:30 +01:00
Brandon McDonnell c610c633a8
protonmail: Fetch and decrypt all account keys. 2018-10-28 16:19:26 +01:00
emersion 47ee090a70
go fmt 2018-10-21 14:07:46 +02:00
emersion 905b9e170b
protonmail: add cipherFunctionString 2018-10-21 14:05:26 +02:00
emersion 0248c4c722
protonmail: remove unused types for now 2018-10-21 12:27:04 +02:00
emersion d76f081114
protonmail: remove User.Addresses, add Client.ListAddresses 2018-10-21 12:24:56 +02:00
emersion 6bd8ce1b6e
go fmt 2018-10-21 12:15:20 +02:00
Brandon McDonnell 49160bcd3e protonmail: Fix typo in MessageBodyKey struct. 2018-10-20 22:31:53 +00:00
Brandon McDonnell 05ad63560f protonmail: Re-use local request variable in GetCurrentUser(). 2018-10-20 22:13:08 +00:00
Brandon McDonnell deb4662abb protonmail: Define struct MessageBodyKey. 2018-10-20 22:13:02 +00:00
Brandon McDonnell 71f1167182 protonmail: Change API endpoint for SendMessage. 2018-10-20 14:50:11 +00:00
Brandon McDonnell 9a6f7187a5 protonmail: Update MessagePackageSet BodyKey for new API. 2018-10-20 14:50:07 +00:00
Brandon McDonnell ba4caffa08 protonmail: Fetch user addresses using new API. 2018-10-20 14:49:56 +00:00
Adam Pioterek a4bd5e7dc9
PM API: read field in messages name changed to unread 2018-10-19 17:51:01 +02:00
emersion 853a879e51 protonmail: properly set action when creating draft 2018-07-11 11:57:41 +01:00
emersion b8a6d64e5c smtp: add support for In-Reply-To 2018-07-11 11:48:45 +01:00
emersion 4de8f28cd6
Export RawAPIError so that encoding/json can set it, update AppVersion 2018-04-18 20:04:59 +01:00
emersion 9c60924294
protonmail: always hash private key passphrase, fixes #25 2018-01-29 21:13:03 +01:00
emersion 7da6ef54da
smtp: don't sign plaintext messages by default 2018-01-15 11:53:16 +01:00
emersion b5969aaf83
imap: add STORE support 2018-01-12 19:28:54 +01:00
emersion f9cb9383e4
imap: listen for events 2018-01-12 13:20:17 +01:00
emersion f968ad6b9d
imap: update local DB from events 2018-01-11 14:40:05 +01:00
emersion 38af52e857
imap: add User.receiveEvents 2018-01-11 12:39:32 +01:00
emersion 60b4122c1d
Merge branch 'master' into imap 2018-01-11 00:13:59 +01:00
emersion 3c002e993d
protonmail: use symetricallyEncrypt in Attachment.Encrypt 2018-01-11 00:13:28 +01:00
emersion 6e891b2ae2
protonmail: fix MessagePackageSet.Encrypt docs 2018-01-11 00:05:13 +01:00
emersion 0ac8dda458
protonmail: sign message bodies, fixes #22 2018-01-11 00:01:49 +01:00
emersion fc7e906d1b
Merge branch 'master' into imap 2018-01-09 22:59:01 +01:00
emersion dea3ab3106
protonmail: export ApiError 2018-01-09 22:58:42 +01:00
emersion 44f2e11a69
protonmail: implement Attachment.Read 2018-01-08 11:46:49 +01:00
emersion 091387cdb7
imap: implement basic body section fetch 2018-01-08 11:40:24 +01:00
emersion ac788ac3e1
imap: implement fetch body structure 2018-01-08 10:30:45 +01:00
emersion cfc1b44824
imap: add local DB 2018-01-07 23:38:13 +01:00
emersion 789234bf17
Merge branch 'master' into imap 2017-12-12 13:47:00 +01:00
emersion 9569e66ccb
smtp: fix sending message to plaintext and encrypted recipients 2017-12-12 13:46:22 +01:00
emersion 7020ee3623
imap: implement basic User.ListMailboxes and User.GetMailbox 2017-12-03 16:05:24 +01:00
emersion 90d494b130
smtp: full attachments support 2017-12-03 12:27:31 +01:00
emersion 72b56494bc
smtp: upload attachments 2017-12-03 11:55:59 +01:00
emersion 0e1b866880
protonmail: add Client.GetAttachment and Client.CreateAttachment 2017-12-03 11:00:30 +01:00
emersion 5efc14fefb
Add support for internal sending 2017-12-03 10:20:45 +01:00
emersion a219374bdf
Sending plaintext messages works 2017-12-02 16:23:06 +01:00
emersion 480af1016a
Re-auth when access token expires 2017-09-26 18:29:13 +02:00
emersion 8066bcbad4
Update message send API from WebClient code 2017-09-23 19:20:47 +02:00
emersion 129b258ed7
protonmail: remove wrong comment 2017-09-21 20:03:55 +02:00
emersion 70186f326f
protonmail: Key -> PrivateKey 2017-09-21 20:02:54 +02:00