Commit Graph

19 Commits

Author SHA1 Message Date
proletarius101 0df2e43d8d imports: change the crypto lib to new import path 2021-04-08 11:13:32 +02:00
Simon Ser 0e0fb0c38e
protonmail: introduce Timestamp 2020-09-14 12:09:50 +02:00
Simon Ser d97056a61a
protonmail: add Client.Debug
This prints HTTP requests and responses.
2020-03-07 18:12:53 +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 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
emersion 6bd8ce1b6e
go fmt 2018-10-21 12:15:20 +02:00
emersion 4de8f28cd6
Export RawAPIError so that encoding/json can set it, update AppVersion 2018-04-18 20:04:59 +01:00
emersion dea3ab3106
protonmail: export ApiError 2018-01-09 22:58:42 +01:00
emersion 9569e66ccb
smtp: fix sending message to plaintext and encrypted recipients 2017-12-12 13:46:22 +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 1978c7ced0
Add more contacts API endpoints 2017-08-22 13:22:27 +02:00
emersion 4785888590
Change Client.AuthRefresh to take an Auth 2017-08-22 12:23:58 +02:00
emersion 8baa4a62f6
Add Client.Logout 2017-08-22 11:19:21 +02:00
emersion 959603b0d9
Add Client.Unlock 2017-08-22 10:36:43 +02:00
emersion d964a951a0
go fmt 2017-08-22 10:16:20 +02:00
emersion 653a8a0dc0
Add Auth, add computeKeyPassword 2017-08-22 09:41:47 +02:00
emersion dac767c4bf
Add authentication support 2017-08-22 00:04:16 +02:00