Simon Ser
897ec17f53
go fmt
2019-12-09 12:27:16 +01:00
Simon Ser
135281c48a
Update dependencies
2019-12-08 12:25:26 +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
1edc88fd5a
imports: check protonmail.ImportResult.Err
2019-11-14 09:38:30 +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
Dmitry Valter
d5a7cf4e0a
auth/auth: add refresh error 2000 hotfix
...
References: https://github.com/emersion/hydroxide/issues/70
2019-11-14 08:36:09 +01:00
Simon Ser
40cadc850f
Update dependencies
2019-11-14 08:35:11 +01:00
Trevor Richards
9e57e014dd
Update webapp version to 3.16.6
2019-10-27 08:46:00 +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
2de4f13dc4
cmd/hydroxide: switch to stable API endpoint
2019-08-31 17:36:15 +03:00
Simon Ser
4c2066d28f
protonmail: log failed requests
2019-08-31 17:35:27 +03:00
Simon Ser
4b6614ca26
Update dependencies
2019-08-31 16:22:08 +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
10cb8dbf40
Update dependencies
2019-08-14 23:05:09 +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
6fe47ba219
cmd/hydroxide: beautify help message
2019-07-30 19:25:01 +03:00
xcffl
a46986a871
Make hostname and ports configurable
...
Signed-off-by: xcffl <xcffl@outlook.com>
2019-07-29 08:49:20 +03:00
Anirudh
f8ed15f423
cmd/hydroxide: remove newline before usage
...
Signed-off-by: Anirudh <icyph0x@pm.me>
2019-07-28 12:43:46 +03:00
Anirudh
061cd42d4e
cmd/hydroxide: better usage info
...
Signed-off-by: Anirudh <icyph0x@pm.me>
2019-07-28 12:43:46 +03:00
Simon Ser
d179ba123f
imap: if unspecified, type is text/html
2019-07-24 22:38:49 +03:00
Simon Ser
161569708a
imap: fix FETCH BODY[N]
2019-07-24 22:27:35 +03:00
Simon Ser
6dfa094227
Update dependencies
2019-07-24 22:08:03 +03:00
Anirudh
f2bf11d8f9
Update AppVersion to match web client's version
...
Closes #62 .
Signed-off-by: Anirudh <icyph0x@pm.me>
2019-07-24 21:47:07 +03:00
Simon Ser
8e883dbf26
Fix log formatting
2019-07-19 00:35:58 +03:00
Simon Ser
07e765345c
Update dependencies
2019-07-19 00:34:52 +03:00
Stick
2d19a74881
[README] `hydroxide serve`, not `hydroxide server`
2019-07-18 19:22:42 +03:00
Simon Ser
f96cf313a8
smtp: add more logging
2019-07-13 11:48:15 +03:00
Simon Ser
6e41a22e6e
readme: advise against starting multiple instances
2019-06-29 18:11:42 +03:00
Simon Ser
7b8713cce4
Update dependencies
2019-06-22 13:15:41 +03:00
Simon Ser
8fa4089d5b
cmd/hydroxide: add serve subcommand
...
Closes: https://github.com/emersion/hydroxide/issues/21
2019-06-22 13:10:35 +03:00
Simon Ser
4ff61deefd
cmd/hydroxide: extract listenAndServe into functions
2019-06-22 13:06:30 +03:00
Simon Ser
f0d0d64b4f
events: don't enter a busy loop on error
...
Closes: https://github.com/emersion/hydroxide/issues/56
2019-06-22 12:56:43 +03:00
Simon Ser
6d69d5ef72
cmd/hydroxide: remove unused receiveEvents
2019-06-22 12:50:09 +03:00
Simon Ser
2a1811205f
cmd/hdyroxide: less confusing messages when starting servers
...
In theory it's a lie to say servers are listening, but it's less confusing.
2019-06-09 19:28:15 +03:00
Simon Ser
902ce42853
readme: enable go modules
2019-06-06 11:10:24 +03:00
Simon Ser
d3039e4738
Update dependencies
2019-05-18 19:31:20 +03:00
Simon Ser
090d9231c6
Upgrade to go-message 0.10
...
Fixes #54
2019-05-15 18:51:58 +03:00
Simon Ser
20ec639f3e
Update dependencies
2019-05-12 22:30:14 +03:00
DirectorX
5827116ec1
cmd/hydroxide: bump AppVersion
2019-05-12 21:52:59 +03:00
Simon Ser
4062014d2e
readme: add IRC channel
2019-05-12 11:21:30 +03:00
Simon Ser
69324d19cd
cmd: improve usage string
2019-04-23 00:06:49 +03:00
Simon Ser
605e2a5f9c
cmd: add export-secret-keys
2019-04-23 00:03:20 +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
8f167410be
Update go-smtp to latest version
2019-04-03 19:40:00 +03:00