passforios-gopenpgp/crypto/testdata
wussler e65ed17b41
Refactor api (#6)
* Refactor library, remove duplicates

* Rebuild structure to use Messages and Signature models

* Use PGPSplitMessage

* Remove signature model

* Various fixes

* Add helpers with tests

* Fixes, add some docs, add tests

* Add attachment helpers

* Add helpers Symmetric encryption

* Edit docs + examples

* Rename kr to keyRing

* Various fixes for documentation

* Edit JSON handling functions, add decrypt keyring via token

* Add proposal changes doc

* Fix CI

* Drop *Message functions, join CleartextMessage and BinaryMessage

* Change canonicalization and trimming only to text signatures

* Add cleartextsignature, detach signature from message model, move helpers

* Documentation, remove optional parameters

* Move verification to separate model

* Don't return message in VerifyDetached

* Update table of contents in readme

* Appease golint

* Run go fmt

* Rename Encrypt/DecryptMessageWithPassword to ..WithToken

These functions shouldn't be used with user-provided passwords,
as they don't do any key-stretching.

* Change key generation usernames
2019-06-03 17:00:01 +02:00
..
attachment_keypacket Fix existing tests, move large constants to files 2019-05-09 18:19:14 +02:00
key_expiredKey refactor functions and merge in keyring 2019-05-14 08:07:49 +00:00
key_futureKey refactor functions and merge in keyring 2019-05-14 08:07:49 +00:00
keyring_jsonKeys Refactor api (#6) 2019-06-03 17:00:01 +02:00
keyring_newJSONKeys Refactor api (#6) 2019-06-03 17:00:01 +02:00
keyring_privateKey Fix existing tests, move large constants to files 2019-05-09 18:19:14 +02:00
keyring_privateKeyLegacy Fix existing tests, move large constants to files 2019-05-09 18:19:14 +02:00
keyring_publicKey Fix existing tests, move large constants to files 2019-05-09 18:19:14 +02:00
keyring_token Fix existing tests, move large constants to files 2019-05-09 18:19:14 +02:00
keyring_userKey Refactor api (#6) 2019-06-03 17:00:01 +02:00
message_expired Refactor api (#6) 2019-06-03 17:00:01 +02:00
mime_decodedBody Fix existing tests, move large constants to files 2019-05-09 18:19:14 +02:00
mime_decodedBodyHeaders Fix existing tests, move large constants to files 2019-05-09 18:19:14 +02:00
mime_decryptedBody Fix existing tests, move large constants to files 2019-05-09 18:19:14 +02:00
mime_pgpMessage Fix existing tests, move large constants to files 2019-05-09 18:19:14 +02:00
mime_privateKey Rename PmCrypto to GopenPGP 2019-05-14 18:12:35 +02:00
mime_publicKey Fix existing tests, move large constants to files 2019-05-09 18:19:14 +02:00
mime_testMessage Rename PmCrypto to GopenPGP 2019-05-14 18:12:35 +02:00