https://github.com/google/tink

sort by:
Revision Author Date Message Commit Date
693d0e1 Bump version to 1.4.0-rc2. PiperOrigin-RevId: 311681131 15 May 2020, 07:03:54 UTC
1a04d49 Remove transitive deps on protobuf-java. PiperOrigin-RevId: 311678040 15 May 2020, 06:28:32 UTC
1b1b414 Add a self-test to verify that Android Keystore is working prorperly. Also add a delete() convenient method to remove master keys. This should fix #339 and similar issues in Jetpack Security. PiperOrigin-RevId: 311676812 15 May 2020, 06:18:32 UTC
8d8606a Always use context version of assertRaises. PiperOrigin-RevId: 311550222 14 May 2020, 16:46:35 UTC
c8efa71 Refactor and type-check asymmetric key manager tests. PiperOrigin-RevId: 311525901 14 May 2020, 14:13:18 UTC
6bc2b34 Update README for Python. PiperOrigin-RevId: 311506069 14 May 2020, 11:07:52 UTC
356e11c Update MANIFEST to avoid issues with Bazel generated files. Uses graft instead of global includes to get source files in the relevant directories only. PiperOrigin-RevId: 311503868 14 May 2020, 10:44:16 UTC
f5934a6 Remove Shell-script tests that have been moved to Python. PiperOrigin-RevId: 311477629 14 May 2020, 06:32:35 UTC
fe0b5c9 Clean up go/go.mod file. PiperOrigin-RevId: 311466745 14 May 2020, 04:54:20 UTC
bcfa5ea Update the hcvault Go module to depend on the latest Tink version. PiperOrigin-RevId: 311464417 14 May 2020, 04:31:46 UTC
08f8a35 Remove unnecessary Go module definition for tink/tools. PiperOrigin-RevId: 311464372 14 May 2020, 04:31:15 UTC
99eb535 Update to Bazel 3.1.0 and newer version of Protobuf. PiperOrigin-RevId: 311341949 13 May 2020, 16:19:24 UTC
8c3ba04 Test that all Deterministic AEADs produce the same ciphertexts. PiperOrigin-RevId: 311322221 13 May 2020, 14:12:58 UTC
6a8dad0 Add Python library of supported key types, and use them in cross-language tests. PiperOrigin-RevId: 311297776 13 May 2020, 10:24:50 UTC
891b2be Include (shaded) com.google.protobuf in tink-android jar only. PiperOrigin-RevId: 311273446 13 May 2020, 06:32:55 UTC
18813a1 Adds MANIFEST for files needed for creating source and binary distribution for Python. PiperOrigin-RevId: 311100504 12 May 2020, 11:37:40 UTC
bfe82dc Enable cross-language tests for Python Envelope encryption. PiperOrigin-RevId: 311092679 12 May 2020, 10:14:38 UTC
a0b12f9 Add PrfSetWrapper implementation PiperOrigin-RevId: 310986735 11 May 2020, 20:58:14 UTC
7570ad9 Fix another typo in the Maven snapshot deployment script. PiperOrigin-RevId: 310960439 11 May 2020, 18:55:31 UTC
7bbeec2 Accept KMS keys in all AWS partitions. According to http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html, AWS has 3 partitions: aws, aws-us-gov and aws-cn. PiperOrigin-RevId: 310957346 11 May 2020, 18:40:25 UTC
2eae0f2 Fix incorrect handling of empty key URI in AWS KMS. PiperOrigin-RevId: 310899464 11 May 2020, 13:27:08 UTC
248a968 Add Python cross-language tests for signatures. PiperOrigin-RevId: 310893444 11 May 2020, 12:33:22 UTC
686c11f Add wrapper for registration of C++ AWS KMS client. PiperOrigin-RevId: 310889453 11 May 2020, 11:56:12 UTC
ce52426 Unify the bindings in tink_status_example and tink_bindings to a single tink_testonly_bindings. The test on MacOS fails, as some of these symbols are different now. We hence make a testonly bindings target which also has "status_example". We also rename "status_example" to "status_injector" which I hope makes the purpose of this file clearer. PiperOrigin-RevId: 310870401 11 May 2020, 09:12:12 UTC
ad4c4d6 Update generated Go protos. PiperOrigin-RevId: 310866354 11 May 2020, 08:31:04 UTC
8ab8d2d Adds examples for signature generation and verification in Python. Updates documentation to include signatures. PiperOrigin-RevId: 310862151 11 May 2020, 07:50:14 UTC
f3a076b Add RSA signatures key templates using the KeyTemplate POJO. Deprecate SignatureKeyTemplates. PiperOrigin-RevId: 310836262 11 May 2020, 02:41:11 UTC
ac444df Rolling back due to breakage pre-KitKat: Add RSA signatures key templates using the KeyTemplate POJO. Deprecate SignatureKeyTemplates. PiperOrigin-RevId: 310804224 10 May 2020, 17:28:20 UTC
cd3bf00 Add RSA signatures key templates using the KeyTemplate POJO. Deprecate SignatureKeyTemplates. PiperOrigin-RevId: 310763336 10 May 2020, 04:56:26 UTC
e29db2c Make Android example app depend on both Tink and protobuf-lite. I confirm that the app works fine on my phone. While I'm here, add an associated data field. PiperOrigin-RevId: 310727224 09 May 2020, 17:47:13 UTC
89621e4 Fix naming in Maven snapshot deployment script. PiperOrigin-RevId: 310648546 08 May 2020, 23:19:54 UTC
44e86c8 Add HKDF PRF key templates using the KeyTemplate POJO. Deprecate PrfKeyTemplates. Can't remove it because it is used by Tinkey. PiperOrigin-RevId: 310642470 08 May 2020, 22:40:45 UTC
ae24177 When building tink-android relocate com.google.protobuf classes to com.google.crypto.tink.shaded. tink-android now includes a shaded copy of protobuf-lite. Remove the explicit dependency in Maven POM. Shading is done by https://github.com/pantsbuild/jarjar and a custom Skylark rule. Total size of tink-android.jar after shading is 1.3MB (was ~700KB). PiperOrigin-RevId: 310639132 08 May 2020, 22:21:16 UTC
45af5bc Add hybrid encryption templates using the new KeyTemplate POJO. PiperOrigin-RevId: 310634932 08 May 2020, 21:57:58 UTC
36a7852 Replace KeyTemplate proto with KeyTemplate POJO in AndroidKeysetManager APIs. PiperOrigin-RevId: 310622139 08 May 2020, 20:49:58 UTC
427314d Add ECDSA/Ed25519 key templates using KeyTemplate POJO. PiperOrigin-RevId: 310618457 08 May 2020, 20:30:26 UTC
eea268d Add Prf implementation based on StreamingPrf PiperOrigin-RevId: 310612388 08 May 2020, 19:59:05 UTC
d1a4594 Add AES-CTR-HMAC-AEAD and (X)ChaCha20Poly1305 key templates using the new KeyTemplate POJO. Deprecate AeadKeyTemplates. PiperOrigin-RevId: 310600796 08 May 2020, 18:59:10 UTC
bfc109f Add MAC key templates using the KeyTemplate POJO. PiperOrigin-RevId: 310593741 08 May 2020, 18:23:27 UTC
b5cad57 Add a class KeyTypeManagerTestUtil which has a static method testKeyTemplateCompatible and use it in one examples. PiperOrigin-RevId: 310571419 08 May 2020, 16:32:24 UTC
84b526d Add wrapper for C++ kms clients to Python to enable registry of KMS clients. PiperOrigin-RevId: 310569463 08 May 2020, 16:20:53 UTC
65c5d71 Fix missing proto installation on MacOS test environment. PiperOrigin-RevId: 310564032 08 May 2020, 15:47:02 UTC
8690fc5 Add DeterministicAead templates using the new KeyTemplate POJO. PiperOrigin-RevId: 310559418 08 May 2020, 15:12:22 UTC
0f7ace7 Update copts and linkopts flags for pybind_extensions. This adds flags to hide symbols by default;for pybind_extensions to avoid unwanted interaction between generated shared objects. PiperOrigin-RevId: 310557045 08 May 2020, 14:55:05 UTC
2c85214 Split up testing Bazel and pip builds. PiperOrigin-RevId: 310549862 08 May 2020, 13:54:05 UTC
756de19 Add Python cross-language tests for hybrid encryption and extend cli_tinkey API. PiperOrigin-RevId: 310540079 08 May 2020, 12:13:36 UTC
7b1f902 Adds additional examples in PYTHON-HOWTO. Includes description for - AEAD - DAEAD - MAC - Hybrid Encryption PiperOrigin-RevId: 310526733 08 May 2020, 09:44:48 UTC
ee81fee Migrate to use a single shared library from C++ for the python build. This implies that all the c++ bindings are in a single module "tink_bindings". (I want a name which is used nowhere else, so if we want to undo this we can easily code search it). PiperOrigin-RevId: 310526075 08 May 2020, 09:38:03 UTC
128dc70 Clean-up Python cross-language tests code. PiperOrigin-RevId: 310522620 08 May 2020, 09:02:04 UTC
23c6df8 Replace KeyTemplate proto with KeyTemplate POJO in KeysetManager APIs. PiperOrigin-RevId: 310520338 08 May 2020, 08:30:43 UTC
d7030f3 Add AES-EAX key templates using the new KeyTemplate POJO. PiperOrigin-RevId: 310520099 08 May 2020, 08:27:30 UTC
f1c5c84 Add generateNew() that takes a KeyTemplate POJO. PiperOrigin-RevId: 310519172 08 May 2020, 08:16:53 UTC
090fe8a Add StreamingAead key templates using the new KeyTemplate POJO. Deprecate StreamingAeadKeyTemplates. PiperOrigin-RevId: 310518022 08 May 2020, 08:04:41 UTC
7a1973d Remove a transitive dependency to protobuf full in hybrid:android. PiperOrigin-RevId: 310513601 08 May 2020, 07:24:33 UTC
e974679 Add AES-GCM key templates using the new KeyTemplate POJO. PiperOrigin-RevId: 310386290 07 May 2020, 17:18:47 UTC
b396908 golang prf.Set: Adding cross language test for golang. PiperOrigin-RevId: 310378911 07 May 2020, 16:45:02 UTC
3ca1050 Add Python cross-language tests for MAC and DAEAD. PiperOrigin-RevId: 310355124 07 May 2020, 14:37:51 UTC
ff28ea5 Add AEAD Cross-language tests in Python. PiperOrigin-RevId: 310312205 07 May 2020, 08:12:08 UTC
0269554 Remove the guarded by annotations and the corresponding suppress warnings. PiperOrigin-RevId: 310309321 07 May 2020, 07:46:59 UTC
afe218f Golang prf.Set: Adding tests for prf_set_factory, with the same statistical tests as C++ has (now reviewed by a genuine statistician) PiperOrigin-RevId: 310190027 06 May 2020, 18:16:25 UTC
b5bd7a8 Adding keytemplates for PRF support in golang. PiperOrigin-RevId: 310181830 06 May 2020, 17:40:07 UTC
3494cc5 Adding the key managers HKDF for prf.Set and renaming prf.New into prf.NewPRFSet, so that we have a way to create both prf.Sets and StreamingPRFs in the future.. PiperOrigin-RevId: 310178525 06 May 2020, 17:25:54 UTC
c8b9a37 Extract memory zeroing utility functions PiperOrigin-RevId: 310169879 06 May 2020, 16:45:34 UTC
c39856e Add a KeyTemplate POJO. This class will replace the KeyTemplate proto class in public APIs. PiperOrigin-RevId: 310166717 06 May 2020, 16:27:57 UTC
7aa089c Fix typo in documentation. PiperOrigin-RevId: 310158274 06 May 2020, 15:41:15 UTC
8b829b2 Only register aead instead of tink_config in Python kms envelope aead tests. PiperOrigin-RevId: 310115037 06 May 2020, 09:32:25 UTC
89c97e8 Use sanitizing containers in aes_gcm_boringssl PiperOrigin-RevId: 310111225 06 May 2020, 08:58:44 UTC
fe3719e Adding the changes to prf/subtle required for prf set: Mostly adding wrappers for golang crypto's HMAC and HKDF implementations. PiperOrigin-RevId: 309962152 05 May 2020, 16:36:30 UTC
b91daa9 Install proto for python in the cross language MacOS test. PiperOrigin-RevId: 309902781 05 May 2020, 08:32:47 UTC
1515fa9 hkdf_streaming_prf: fix issue with empty ti_ Calling operator[](0) on an empty vector is UB. Drive-by: - Simplify initializtion PiperOrigin-RevId: 309740236 04 May 2020, 14:33:05 UTC
c688497 User BinaryIO and TextIO as input type for BinaryKeysetReader and JsonKeysetReader. PiperOrigin-RevId: 309737512 04 May 2020, 14:12:59 UTC
fc840ad Return without writing output in case of error in Python CLIs. PiperOrigin-RevId: 309377263 01 May 2020, 08:41:51 UTC
5015057 Fixing a typo in KMS Envelope AEAD. Updating list of primitives supported in each language. PiperOrigin-RevId: 309317968 30 April 2020, 23:05:38 UTC
e3c5fd0 Version bump to 1.4.0-rc1. PiperOrigin-RevId: 309303199 30 April 2020, 21:44:54 UTC
df019e9 Update the project README to reflect support for Python. Also, clean up the Python documentation a bit. PiperOrigin-RevId: 309299449 30 April 2020, 21:24:54 UTC
0e81d28 Update generated Go protos. PiperOrigin-RevId: 309286164 30 April 2020, 20:15:33 UTC
c0d40f1 Add HMAC PRF key manager PiperOrigin-RevId: 309277798 30 April 2020, 19:32:14 UTC
3dbfb13 Adding AES CMAC PRF keymanager for golang PiperOrigin-RevId: 309274889 30 April 2020, 19:17:25 UTC
cfb10b4 Adding the subtle changes required for AES-CMAC and HMAC PRFs PiperOrigin-RevId: 309270924 30 April 2020, 18:57:58 UTC
c7a3cad Update import statements in the compiled Go protos. PiperOrigin-RevId: 309264478 30 April 2020, 18:24:34 UTC
0550e60 Replace Python AWS KMS Client with a wrapper around the C++ implementation. PiperOrigin-RevId: 309246775 30 April 2020, 17:02:26 UTC
4accb62 Update generated Go protos. Compiled using golang/protobuf 1.3.5 for compatibility with our publishing pipeline. PiperOrigin-RevId: 309243256 30 April 2020, 16:44:35 UTC
450cc0e Remove over-aligned type testcases Not needed as MakeSecretUniquePtr is intended to be a drop-in replacement for std::make_unique. It is implementation-defined whether std::make_unique supports over-aligned types. PiperOrigin-RevId: 309227254 30 April 2020, 15:11:29 UTC
bf4bda5 Disable extended alignment test (might fail for C++11) PiperOrigin-RevId: 309195842 30 April 2020, 10:30:14 UTC
828c656 Return without writing output in case of error in Python AEAD CLI. PiperOrigin-RevId: 309190754 30 April 2020, 09:52:37 UTC
843d52d Use sanitizing containers in aes_gcm_siv_boringssl PiperOrigin-RevId: 309189574 30 April 2020, 09:42:49 UTC
e57f9e8 Use C++ allocation functions PiperOrigin-RevId: 309188895 30 April 2020, 09:36:42 UTC
bcc57f0 Update the generated Go protos. This adds the generated protos for AES-CMAC, which was introduced in: https://github.com/google/tink/commit/e5cac95768ec99c9cd06dbb55e9c6217d9e54759 PiperOrigin-RevId: 309181554 30 April 2020, 08:22:39 UTC
65f4f8c Update envelope encryption docs. PiperOrigin-RevId: 309084844 29 April 2020, 20:25:07 UTC
5adb0e8 Use C++ allocation functions PiperOrigin-RevId: 309027562 29 April 2020, 15:30:10 UTC
5e28306 Minor clean up of the documentation embedded in the example WORKSPACE files. PiperOrigin-RevId: 309023779 29 April 2020, 15:09:19 UTC
67cffab Allocate BoringSSL structs on heap in hkdf_streaming_prf PiperOrigin-RevId: 309009329 29 April 2020, 13:15:15 UTC
fb1cd76 Use C++ allocation functions PiperOrigin-RevId: 309008392 29 April 2020, 13:06:13 UTC
f927f23 Use custom type instead of alias for SecretUniquePtr This allows ensuring that non-empty SecretUniquePtr is always created with MakeSecretUniquePtr. Also sanitization cannot be broken with use of release() or reset(new_ptr). PiperOrigin-RevId: 309006178 29 April 2020, 12:45:34 UTC
0e333b9 Fix typo in GCP KMS Client comment. PiperOrigin-RevId: 308994723 29 April 2020, 10:50:47 UTC
f569639 Refine run_tests.sh to fix test execution in the Kokoro macos_external environment. run_tests.sh * Decouple protoc installation and Tink installation via pip. * Install protoc to a temporary directory, removing the need for superuser permissions to unzip an archive to a system folder with overwrite enabled. * During macos_external init, install the Python protobuf package via pip3. * Refactor to reduce code duplication and simplify Kokoro platform detection logic. * Provide a bit more environment context information in the logs. envelope_test.sh * Include the Google root certificates as a data dependency. On macos_external hosts, these aren't included on the system in a location where gRPC can find it. PiperOrigin-RevId: 308936419 29 April 2020, 01:13:59 UTC
986c872 Update PYTHON-HOWTO.md. PiperOrigin-RevId: 308875961 28 April 2020, 19:37:11 UTC
266cb6b Updating documentation now that golang supports AES-CMAC PiperOrigin-RevId: 308866407 28 April 2020, 18:50:37 UTC
e5cac95 Adding AES-CMAC to golang as a MAC. PiperOrigin-RevId: 308844332 28 April 2020, 17:05:20 UTC
8539012 Replace Python GCP KMS Client with a wrapper around the C++ implementation. PiperOrigin-RevId: 308832293 28 April 2020, 15:57:37 UTC
back to top