Commit graph

405 commits

Author SHA1 Message Date
Jakub
f1bd6f0fa1 Merge branch 'master' of gitlab.protontech.ch:ProtonMail/go-pm-crypto 2019-03-07 13:41:57 +01:00
Sunny
96eb15dc68 Merge branch 'sessionkey-error-handling' into 'master'
Fix error handling in GetSessionFromKeyPacket*

See merge request ProtonMail/go-pm-crypto!7
2019-02-05 16:18:31 +00:00
Daniel Huigens
ffa2d06073 Fix error handling in GetSessionFromKeyPacket* 2019-02-05 17:11:30 +01:00
Jakub Lehotsky
b218f523af Methods use + unit tests update 2019-01-11 00:23:00 +01:00
Jakub
09d519e51e force memory release in golang/crypto 2019-01-07 13:51:48 +01:00
Jakub Cuth
ec2deeb892 Merge branch 'feat/scrypt-cost-param' into 'feat/pmapi-crypto-refactoring'
Parameterize cost factor N of scrypt

See merge request ProtonMail/go-pm-crypto!6
2019-01-07 12:42:14 +00:00
Jakub Lehotsky
1ac42ecce1 Merge branch 'feat/pmapi-crypto-refactoring' of https://gitlab.protontech.ch/ProtonMail/go-pm-crypto into feat/pmapi-crypto-refactoring 2019-01-07 12:39:02 +01:00
Jakub Lehotsky
39f5b3af18 Method from go-pmapi merge 2019-01-07 12:36:57 +01:00
Daniel Huigens
102d7c2d5f Parameterize cost factor N of scrypt 2018-12-19 11:52:52 -05:00
Jakub Lehotsky
9567fb840d Merge branch 'feat/symmetric-aes-encryption' into 'feat/pmapi-crypto-refactoring'
Add symmetric AES encryption functions

See merge request ProtonMail/go-pm-crypto!4
2018-12-05 13:08:17 +00:00
Daniel Huigens
9c0a78e7e2 Add symmetric AES encryption functions 2018-12-03 15:08:04 +01:00
Jakub Lehotsky
ffa226acbd Minor: iOS building target name 2018-11-22 10:56:56 +01:00
Jakub Lehotsky
d7f0550a4b Low-memory garbage collector 2018-11-22 10:53:14 +01:00
Jakub Lehotsky
686d4f1b7d Medning wrong commit 2018-11-22 00:01:18 +01:00
Jakub Lehotsky
8cf5054ff2 Readded deleted sym.encryption methods 2018-11-21 23:44:33 +01:00
Jakub Lehotsky
fc706ffa3e Signing/unlocking entities simplification 2018-11-21 21:11:30 +01:00
Jakub Lehotsky
d57b71e5ec Android-side KeyRing reuse refactoring support 2018-11-09 13:03:46 +01:00
Jakub Lehotsky
984f8eb391 Android stable version 2018-11-09 02:08:39 +01:00
Jakub Lehotsky
3fe6899fbb Android stable version 2018-11-09 02:03:19 +01:00
Jakub Lehotsky
36f8e2d437 Issue #3 - forgotten added new files 2018-11-05 23:01:53 +01:00
Jakub Lehotsky
fdd1a727cb Issue #3: mobile client fallback version 2018-11-05 22:55:45 +01:00
Jakub Lehotsky
0bf075d49d Minor build fixes 2018-11-01 17:03:43 +01:00
Kay Lukas
00ac3e0e2d Merge branch 'rfr' into 'master'
Refactor setup

See merge request ProtonMail/go-pm-crypto!2
2018-10-30 09:57:15 +00:00
Kay Lukas
491f111e6b Add lowmemory functions 2018-10-30 10:47:31 +01:00
Kay Lukas
9dfb46fe45 Optimize encrypt attachment 2018-10-26 16:39:03 +02:00
Kay Lukas
0456595f68 Refactor setup 2018-10-24 18:44:50 +02:00
Kay Lukas
94b317f135 Merge branch 'feat/mime-parsing' into 'master'
Feat/mime parsing

See merge request ProtonMail/go-pm-crypto!1
2018-10-23 12:28:44 +00:00
Jakub Lehotsky
b3e6e67cac Refactor: Moved relevant parts of Key and KeyRing objs from go-pmapi 2018-09-20 15:20:45 +02:00
Jakub Lehotsky
d1c55119c0 Libraries imports 2018-09-20 13:36:56 +02:00
Jakub Lehotsky
f172cef2e1 Moved mime parsing helper method to go-pm-mime 2018-09-19 12:57:56 +02:00
Jakub Lehotsky
e22a4910e6 Refactor: Reused pm-mime method 2018-09-19 12:51:44 +02:00
Jakub Lehotsky
d005dca0a4 Minor: spelling and typos 2018-09-19 11:52:14 +02:00
Kay Lukas
97e70855b8 Add decryptMime and refactor package structure 2018-09-11 11:09:28 +02:00
Kay Lukas
07b3a2c739 Handle CRLF 2018-09-05 19:53:27 +02:00
Kay Lukas
81e4a3cb2c Bugfixes 2018-09-05 14:56:06 +02:00
Kay Lukas
34babb3b90 WIP extract mime body and check signature 2018-09-04 23:40:35 +02:00
Kay Lukas
dccb3ba50b Implement first version of signature collector 2018-09-04 20:27:29 +02:00
Kay Lukas
2d45c99a89 WIP: parse mime 2018-09-02 15:02:26 +02:00
zhj4478
7ccc3545ab update glide file 2018-07-30 16:35:14 -07:00
feng
9661b33390 Merge branch 'fix/creation-time-offset' into 'master'
Add a 2 day offset for signature creation time checking

See merge request ProtonMail/go-crypto-wrapper!2
2018-07-30 23:16:45 +00:00
Kay Lukas
35953c17f6 bugfix 2018-07-31 01:13:00 +02:00
Kay Lukas
6f16ba8ca3 fix build script 2018-07-31 01:09:44 +02:00
Kay Lukas
914fc679a6 Add a 2 day offset for signature creation time checking 2018-07-31 01:06:03 +02:00
Kay Lukas
dcd96f512c Merge branch 'fix/server-time' into 'master'
Use server time as a default everywhere

See merge request ProtonMail/go-crypto-wrapper!1
2018-07-30 23:01:32 +00:00
KAYLukas
c515ef8dc5 Use server time as a default everywhere 2018-06-22 16:04:20 +02:00
KAYLukas
fd6579114c Add generate key with primes and x25519 2018-06-19 11:28:37 +02:00
zhj4478
60d877f35d add config to key generation 2018-06-06 14:05:57 -07:00
zhj4478
edf3da1573 add a session error check 2018-06-05 17:56:01 -07:00
zhj4478
701f1bc60a add trim leading function 2018-06-05 15:26:55 -07:00
zhj4478
efc003288c check if signedkey match with input verifiers 2018-06-05 14:50:54 -07:00