wussler
681ceb0546
Release v2.1.4 ( #110 )
...
* Release v2.1.4
* Loosen linter
2021-01-08 18:37:56 +01:00
marinthiercelin
e0deea82a3
add signcryption methods to the keyrings ( #109 )
...
* add signcryption methods to the keyrings
* added signing and verifying keyrings
* added nil checks
* added unit test for signcrypt
* updated changelog
* switched the keyrings in the api
* update the error messages
* changed the names of the keyRing variable
2020-12-17 12:58:25 +01:00
wussler
a42d48a203
Release 2.1.3 ( #108 )
2020-12-09 15:57:44 +01:00
Daniel Huigens
71d595a366
Update changelog
2020-12-08 19:18:53 +01:00
wussler
6105a3bcc0
Improve attachment memory allocation ( #105 )
...
* Improve attachment memory allocation
* added explicit garbage collection
* redundant GC
* added GCs in attachment processor and a FreeOSMemory helper
* added changelog
* linting
* Remove commented call to debug.FreeOSMemory
Co-authored-by: marin thiercelin <marin.thiercelin@pm.me>
Co-authored-by: marinthiercelin <marin.thiercelin@epfl.ch>
2020-12-08 17:52:50 +01:00
wussler
75f27fd1df
Add key generation offset ( #104 )
...
* Add key generation offset
* Bump version to 2.1.2
2020-12-01 19:44:49 +01:00
wussler
385e6d21d2
Drop regex for canonicalization ( #102 )
...
* Drop regex for canonicalization
* Fix CI
2020-12-01 18:09:25 +01:00
wussler
5b1a42c2cd
Release v2.1.1 ( #100 )
2020-11-16 09:51:51 +01:00
wussler
4166d25a63
Allow multiple keypackets in session key decryption ( #99 )
...
* Fix session key decryption
* Break on all data packets
Co-authored-by: Daniel Huigens <d.huigens@protonmail.com>
2020-11-13 14:13:11 +01:00
wussler
8a9f9f8fa9
Release version 2.1.0 ( #96 )
2020-11-04 17:49:30 +01:00
wussler
371d429001
WIP: Add compression to API ( #91 )
...
* Add compression to API
* Add docs
* Use defaults for a simpler interface
* Update x/crypto
* Fix ecdsa key types for lib update
2020-11-04 17:40:45 +01:00
marinthiercelin
9503b68f0c
Update the changelog with new helpers description ( #93 )
...
Co-authored-by: marin thiercelin <marin.thiercelin@pm.me>
2020-10-29 17:00:34 +01:00
wussler
53a85837e0
Improve error handling, fix linter ( #92 )
...
* Improve error handling, fix linter
2020-10-29 12:42:32 +01:00
wussler
ac353fcbef
Make Time and Filename public ( #87 )
2020-10-13 13:14:09 +02:00
wussler
a4d89bce32
Add filename and time properties to message ( #85 )
...
* Add filename and time properties to message
* Message time defaults to current time
2020-10-12 18:45:57 +02:00
wussler
64b3b45404
Fix mixed symmetric/asymmetric decryption ( #77 )
2020-09-01 11:07:30 +02:00
wussler
2f89b9fa0e
Add KeyIDs public API functionality ( #76 )
...
* Add public KeyIDs functions
* Add signature keyIDs functions
* Lint code
2020-09-01 10:02:13 +02:00
Ilya Chesnokov
1f4d966115
use aes256 for password encryption ( #75 )
2020-08-31 13:42:06 +03:00
wussler
979fdb3f4b
Add ToPublic method to get a public key object from a private key ( #65 )
2020-07-22 17:13:23 +02:00
wussler
e6a863de49
Update documentation ( #63 )
2020-07-20 16:49:54 +02:00
Ilya Chesnokov
b38f993c25
Encrypt session key to multiple keys in keyring. ( #59 )
...
`EncryptSessionKey` now creates encrypted key packet for each valid key
in keyring.
Co-authored-by: Aron Wussler <aron@wussler.it>
2020-07-10 00:31:57 +07:00
wussler
a232124b70
Improve changelog descriptions ( #56 )
2020-07-02 11:22:36 +02:00
Ilya Chesnokov
8d42a53775
Add getEntity and getEcryptionKeyIDs functions to key and message types respectively ( #55 )
...
* add getEntity function to key struct
* add getEncryptionKeyIDs
* add chengelog + bool return in getEncryptionKeyIDs
* fix description
2020-07-02 15:55:11 +07:00
zugzwang
dcc82c9fc3
Implement GetArmoredWithCustomHeaders ( #48 )
...
* Implement GetArmoredWithCustomHeaders
ArmorWithTypeAndCustomHeaders can be reused by other PGP armoured
objects.
* Update linting, and lint accordingly
`godot` has been improved and `goerr113` has been added (and ignored
here).
* Add custom headers for keys
* Minor comment changes
Co-authored-by: Aron Wussler <aron@wussler.it>
2020-05-06 18:50:18 +02:00
Aron Wussler
b1e005fec3
Release version 2.0.1
2020-05-01 16:53:50 +02:00
zugzwang
ac8a49c114
Update lint ( #44 )
...
* Reduce complexity of SignatureCollector.Accept
* Add stylecheck linter, and lint accordingly
* Rephrase some comments
* godot - Top level comments should end with a dot.
* nestif - Reduce nested complexity of code
* Review changes
Co-authored-by: Aron Wussler <aron@wussler.it>
2020-04-28 13:55:36 +02:00
wussler
222decb919
Fix various minor issues ( #45 )
...
* Update header version to 2.0.0
* Add space to cleartext message armouring
* Fix password encrypted binary files
* Clear key private params in helpers
* Do not unlock key if private key is nil
* Document changes
* Use defer for ClearPrivateKeyParams
2020-04-27 21:01:23 +02:00
zugzwang
0f35072bc4
Documentation fixes ( #43 )
...
* Fix Comment - NewKeyFromReader
* Trailing whitespace, correct function name
* Update CHANGELOG
* update README
Co-authored-by: zugzwang <talbotvinnik@pm.me>
Co-authored-by: Aron Wussler <aron@wussler.it>
2020-04-25 16:28:07 +02:00
Aron Wussler
9caf737bc7
Add documentation for SHA256 fingerprints
2020-04-07 15:19:48 +02:00
wussler
c8b7e87135
Fix test encryption test ( #37 )
...
* Fix TestMultipleKeyMessageEncryption
* Fix TestMultipleKeyMessageEncryption - simplify code
* Add diffs to changelog
* Simplify test code further
2020-03-05 22:16:38 +01:00
Yanfeng Zhang
5c496d0505
Add build script and fix helper for mobile ( #32 )
...
* update build and fix helper for mobile
* Update readme, changelog and script cleanup
Co-authored-by: wussler <aron@wussler.it>
2020-01-06 13:21:44 +01:00
wussler
54f45d0471
Openpgp security update (V2) ( #31 )
...
* Change keyring unlock functionalities
* Add keyring#Lock, keyring#CheckIntegrity, tests
* Update helpers, fix bugs
* Update go.mod with ProtonMail/crypto commit
* Change key management system
* Clear keys from memory + tests
* Create SessionKey with direct encryption for datapackets. Move symmetrickey to password.
* Fix upstream dependencies
* Update module to V2, documentation
* Add linter
* Add v2 folder to .gitignore
* Minor changes to KeyID getters
* Remove old changelog
* Improve docs, remove compilation script
2019-12-27 19:35:43 +01:00