Commit graph

83 commits

Author SHA1 Message Date
Aron Wussler
8af460ba61 Create key.go unit tests 2019-05-13 14:06:54 +00:00
Daniel Huigens
9240e5d86a Merge branch 'fix/unused-code' into 'master'
Remove unused code + handle errors

See merge request ProtonMail/go-pm-crypto!12
2019-05-13 12:42:29 +00:00
William Gotti
b820c14c1a Remove unused code + handle errors 2019-05-13 12:42:29 +00:00
Daniel Huigens
e797299d64 Merge branch 'improve-doc' into 'master'
fix typo / improve documentatation

See merge request ProtonMail/go-pm-crypto!11
2019-05-13 12:33:01 +00:00
William Gotti
5cdec38a18 fix typo / improve documentatation 2019-05-13 12:33:01 +00:00
Daniel Huigens
701dc26ab5 Clean up README.md 2019-05-13 13:45:24 +02:00
Jakub
9b75197da8 fix rsa type 2019-05-10 12:53:48 +02:00
Jakub
532ce66247 found TODO while patching android 2019-05-10 08:08:03 +02:00
Aron Wussler
56a73b1532 Add new key tests 2019-05-09 20:13:30 +02:00
Aron Wussler
c9730189a7 Add code coverage to CI 2019-05-09 18:57:27 +02:00
Aron Wussler
fd27ec08fb Fix existing tests, move large constants to files 2019-05-09 18:19:14 +02:00
Jakub Cuth
5a5fe05f53 Merge branch 'fix/new-go-crypto' into 'master'
Fix for new go crypto

See merge request ProtonMail/go-pm-crypto!9
2019-05-01 15:47:17 +00:00
Jakub
388b564874 try ssh key for access 2019-05-01 17:35:39 +02:00
Jakub
2eea06b104 add glide 2019-05-01 16:53:29 +02:00
Jakub
8a907114c0 add ci 2019-05-01 16:39:04 +02:00
Jakub
21fe53fd5d update glide and add ci 2019-05-01 16:35:49 +02:00
Daniel Huigens
2091fc106c Use new KeyExpired function 2019-04-27 07:32:20 +02:00
Daniel Huigens
ea2fcb9438 Handle encrypt error in EncryptAttachment 2019-04-27 07:32:20 +02:00
Jakub
99c48c2e4e fix crash on missing keyring 2019-03-07 17:39:34 +01:00
Jakub
968888eb0e change error message pmapi -> pm-crypto 2019-03-07 17:03:16 +01:00
Jakub
36b497d591 fix compile 2019-03-07 16:56:12 +01:00
Jakub
35a4e32efb fix mime 2019-03-07 16:02:53 +01:00
Jakub
37459ffa7b first key id 2019-03-07 15:15:35 +01:00
Jakub
6cadeb5b28 update crypto and mime 2019-03-07 14:46:09 +01:00
Jakub
a92113e341 format and comment 2019-03-07 14:23:38 +01:00
Jakub
398de10777 changes 2019-03-07 14:11:41 +01:00
Jakub
8f4bbfc780 return decrypt error 2019-03-07 14:08:17 +01:00
Jakub
79a677eb2c rebase 2019-03-07 13:48:45 +01:00
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