Simon Ser
cffd3cd13a
protonmail: add Client.ListLabels
2020-01-29 14:39:30 +01:00
Harley Lang
f7b1ac9d6e
Increased MaxSpace int size ( #80 )
...
* Increased MaxSpace int size
This change prevents errors when python smtplib calls hydroxide.
* Updated UsedSpace to int64
To prevent errors when numbers exceed 32 bit capacity.
2020-01-04 18:33:23 +01:00
Simon Ser
897ec17f53
go fmt
2019-12-09 12:27:16 +01:00
Simon Ser
80e0fa6f3e
Fix 2FA support
...
The 2FA information is now returned after the /auth request instead of
the /auth/info one.
Closes: https://github.com/emersion/hydroxide/issues/76
2019-12-08 12:14:41 +01:00
Simon Ser
db983eed89
protonmail: fix "invalid input" error on /auth/refresh
...
It seems like we were just missing a valid RedirectURI.
References: https://github.com/emersion/hydroxide/issues/70
2019-11-14 09:12:34 +01:00
Simon Ser
cc03e059b9
Save key salts after auth
...
The key salts endpoint can only be accessed right after authentication, it's
blocked after auth refresh.
Closes: https://github.com/emersion/hydroxide/issues/68
2019-08-31 17:43:49 +03:00
Simon Ser
4c2066d28f
protonmail: log failed requests
2019-08-31 17:35:27 +03:00
Simon Ser
75984c4ff4
protonmail: fix /auth/refresh, remove Client{ID,Secret}
...
ClientID and ClientSecret are no longer used.
Closes: https://github.com/emersion/hydroxide/issues/68
2019-08-31 16:19:54 +03:00
Simon Ser
41b720f09f
protonmail: AccessToken isn't encrypted anymore
...
Closes: https://github.com/emersion/hydroxide/issues/67
2019-08-14 23:01:39 +03:00
Simon Ser
fef10d24fd
protonmail: update AuthInfo struct
2019-08-14 22:33:31 +03:00
Simon Ser
fbf85fecaa
Add preliminary support for imports
2019-07-30 20:51:46 +03:00
Simon Ser
ba96d886d8
protonmail: skip keys we can't read
...
Updates https://github.com/emersion/hydroxide/issues/46
2019-04-14 21:10:06 +03:00
Simon Ser
fc1618d086
protonmail: improve errors
2019-04-14 19:07:03 +03:00
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