https://github.com/google/tink

sort by:
Revision Author Date Message Commit Date
65d034e Revert "feat: Go: Add signature key templates WithoutPrefix (#326)" This reverts commit 0e86c4e2ffcff39ddd5655bfb932a930091479a5. 20 March 2020, 21:55:32 UTC
d47b27c Fix typo in documentation (#318) Fix misspelling of CHACHA20-POLY1305 Co-authored-by: Thai Duong <thaidn@users.noreply.github.com> 20 March 2020, 21:34:25 UTC
0e86c4e feat: Go: Add signature key templates WithoutPrefix (#326) To support using imported keys from raw key bytes, Tink users must use signing key templates without prefix to both sign and verify signatures. closes #325 Signed-off-by: Baha Shaaban <baha.shaaban@securekey.com> Co-authored-by: Thai Duong <thaidn@users.noreply.github.com> 20 March 2020, 21:34:04 UTC
4fae95d updated golang signature example in doc comment (#293) Signed-off-by: Baha Shaaban <baha.shaaban@securekey.com> Co-authored-by: Thai Duong <thaidn@users.noreply.github.com> 20 March 2020, 21:12:11 UTC
0fbff9d Update Tinkey build documentation (#320) Co-authored-by: Thai Duong <thaidn@users.noreply.github.com> 20 March 2020, 21:02:07 UTC
a00c6f8 Create new TypeScript public API Currently, the API is just wrappers for underlying code implemented in Closure; follow-up changes will port it to TypeScript all the way down. This is also the first preview of the new directory layout, which will be used for the underlying code following the TypeScript migration. If the layout works well, it may be used for other languages in the future. PiperOrigin-RevId: 302060962 20 March 2020, 18:03:31 UTC
c50006a Replace unneeded ToStatusF PiperOrigin-RevId: 302048957 20 March 2020, 17:05:58 UTC
2ad40e0 Report an error when Android Keystore returns a null key. PiperOrigin-RevId: 301968959 20 March 2020, 06:15:39 UTC
ecff171 Use sanitizing containers in aes_gcm_hkdf_streaming PiperOrigin-RevId: 301808760 19 March 2020, 14:22:20 UTC
b256b93 Cleanups after restructuring of example folder. PiperOrigin-RevId: 301796158 19 March 2020, 12:51:54 UTC
5242ba2 Use :rootpath to get the path to the binary and data some tests. Also, we remove an obsolete TODO. PiperOrigin-RevId: 301765768 19 March 2020, 08:58:37 UTC
6d4ea7d Clean up run_tests.sh. PiperOrigin-RevId: 301610755 18 March 2020, 17:03:33 UTC
9882bd3 Use sanitizing containers in aes_ctr_hmac_streaming PiperOrigin-RevId: 301580762 18 March 2020, 13:56:50 UTC
57a9ec0 Fix the CMake continuous test. PiperOrigin-RevId: 301579752 18 March 2020, 13:48:43 UTC
b08453e Move the remaining examples from helloworld/language to language/helloworld and from file_mac/python to python/file_mac PiperOrigin-RevId: 301576217 18 March 2020, 13:21:44 UTC
99ceb18 Move examples/helloworld/cc to examples/cc/helloworld. PiperOrigin-RevId: 301564774 18 March 2020, 11:39:12 UTC
64bc788 Add missing absl dependencies and headers to pybind files. PiperOrigin-RevId: 301562122 18 March 2020, 11:13:30 UTC
0456d66 Move the example from examples/helloworld/java to examples/java_src/hello_world. PiperOrigin-RevId: 301552650 18 March 2020, 09:52:00 UTC
78941b7 Add a .bazelignore file applicable to tink/examples/WORKSPACE. This allows building and testing all targets within tink/examples/... while facilitating the exclusion of nested workspaces (i.e. tink/examples/cc/WORKSPACE). PiperOrigin-RevId: 301544203 18 March 2020, 08:38:40 UTC
1c719a3 Do not test all subdirectories in the examples workspace -- only test those which don't have a WORKSPACE themselves. Apparently I broke the BUILD in my previous change :/ Sorry about that. PiperOrigin-RevId: 301466645 17 March 2020, 22:32:15 UTC
c8810a5 Adding one missing if err != nil check to the Golang Howto. PiperOrigin-RevId: 301439788 17 March 2020, 20:23:30 UTC
203fd78 Move the example from examples/digital_signatures/cc to examples/cc/digital_signatures. Optimally, we want to separate these workspaces too. Furthermore, examples are more useful if we can show users how to create the WORKSPACE without /all/ the dependencies. PiperOrigin-RevId: 301394563 17 March 2020, 16:56:47 UTC
14a91f1 Replace use of std::make_unique with absl::make_unique for C++11 compatibility. PiperOrigin-RevId: 301362820 17 March 2020, 13:41:51 UTC
5a7aa1f Remove include for tink.pb.h. PiperOrigin-RevId: 300863389 14 March 2020, 01:21:53 UTC
c700854 Resolve circular dependency between Python and C++ Workspace. This moves the primitive pybind11 bindings from the C++ workspace to the Python workspace, in order to have them in one place. PiperOrigin-RevId: 300727860 13 March 2020, 10:55:27 UTC
cc1f865 Fix outdated references to CLIF. Python bindings are using pybind11 now and in many places it was still referred to as CLIF bindings. This corrects the naming issues and moves the bindings to a new pybind folder. PiperOrigin-RevId: 300566026 12 March 2020, 16:42:19 UTC
e5f4fbd Remove dependency on pybind11_protobuf. PiperOrigin-RevId: 300539542 12 March 2020, 13:55:49 UTC
44756ff Make sure the race in Provider$Service.supportsKeyFormatRace cannot happen in our TSan Signature test. See bugs.openjdk.java.net/browse/JDK-8238566. PiperOrigin-RevId: 300515938 12 March 2020, 10:41:55 UTC
add5d6d Rename 1.3.0-rc4 to 1.3.0. PiperOrigin-RevId: 300457785 12 March 2020, 02:17:31 UTC
d63622f Adding info about KEM and DEM being concatenated. PiperOrigin-RevId: 300416977 11 March 2020, 22:12:58 UTC
693a0e1 Use correct buffer length in EcPointEncode PiperOrigin-RevId: 300281211 11 March 2020, 09:31:08 UTC
0d90bdd Internal change PiperOrigin-RevId: 300179147 10 March 2020, 21:33:42 UTC
744b117 Remove dependency on pybind11_abseil. PiperOrigin-RevId: 300077773 10 March 2020, 13:34:44 UTC
6e2a917 Use sanitizing containers in aes_eax_aesni Drive-by: - Constant naming - Use absl::Span extensively PiperOrigin-RevId: 300066555 10 March 2020, 12:14:02 UTC
94fada1 Change the module "subtle_mac" to "subtle::mac". PiperOrigin-RevId: 299824283 09 March 2020, 13:10:09 UTC
50adfb3 Implement util::SecretData variants of HKDF functions PiperOrigin-RevId: 299808996 09 March 2020, 11:17:46 UTC
c6e4196 Adding support for converting RSA keys from Keymaster to Tink PiperOrigin-RevId: 299399498 06 March 2020, 19:35:41 UTC
f5469c4 Remove unnecessary lines PiperOrigin-RevId: 299338389 06 March 2020, 14:03:10 UTC
fc53229 Remove absl::base::config from the CMakeLists.txt and change absl::algorithm::container to absl::container. PiperOrigin-RevId: 299326520 06 March 2020, 12:25:32 UTC
f8d124a Use sanitizing containers in aes_eax_boringssl Drive-by: - Constant naming - Use absl::Span extensively PiperOrigin-RevId: 299317437 06 March 2020, 11:16:45 UTC
0ac4c2f Move proto.ts into new internal directory This is part of reorganizing the package layout, and is in its own CL to avoid having to do things that aren't pure moves elsewhere. PiperOrigin-RevId: 299263577 06 March 2020, 04:39:53 UTC
e846e05 Remove register_status_not_ok_type. Just using a try catch is simpler and more readable. PiperOrigin-RevId: 298863080 04 March 2020, 17:02:38 UTC
0836a2d Update folder structure for C++ Tink. PiperOrigin-RevId: 298842730 04 March 2020, 15:08:15 UTC
7c85e1a Add the capability of making submodules to Tink CMake and use it in one place. PiperOrigin-RevId: 298831408 04 March 2020, 13:53:16 UTC
0419c0b Use InvalidArgumentError more consistently PiperOrigin-RevId: 298816695 04 March 2020, 12:00:17 UTC
efcd84d Fix CMake build - Abseil does not use subfolders for CMake PiperOrigin-RevId: 298802023 04 March 2020, 10:08:41 UTC
23d6772 Use sanitizing containers in aes_siv_boringssl Drive-by: - Constant naming - Use absl::Span extensively PiperOrigin-RevId: 298793169 04 March 2020, 09:05:52 UTC
41c024a Check AWS KMS call error before checking response. PiperOrigin-RevId: 298670838 03 March 2020, 20:51:38 UTC
c610885 Fixed bug in PEM parser unit test. The test `PemParserTest::ReadRsaPublicKey` was giving a wrong size when building the `absl::string_view` passed to the `PemParser::ParseRsaPublicKey` function. PiperOrigin-RevId: 298629438 03 March 2020, 17:58:08 UTC
04a373f Use sanitizing containers in hmac_boringssl PiperOrigin-RevId: 298591191 03 March 2020, 14:22:41 UTC
71cdf56 Update AWS KMS and GCP KMS for new WORKSPACE. PiperOrigin-RevId: 298580099 03 March 2020, 13:05:53 UTC
d4e4664 ROLLFORWARD: Use sanitizing containers in xchacha20_poly1305_boringssl PiperOrigin-RevId: 298575183 03 March 2020, 12:26:03 UTC
fdbdb89 Update to bazel 2.1.0. PiperOrigin-RevId: 298549565 03 March 2020, 09:13:42 UTC
b23408d Add separate WORKSPACE for Python. PiperOrigin-RevId: 298547627 03 March 2020, 09:01:23 UTC
e700964 Update to bazel 1.0.1. PiperOrigin-RevId: 298537752 03 March 2020, 07:45:57 UTC
87338f7 Reexport jspb.Message from proto.ts I forgot about this; it needs to be routed through proto.ts for the same reason the Tink-specific protos do. PiperOrigin-RevId: 298456786 02 March 2020, 23:06:26 UTC
ce3cfdd Delete catalogue.js I don't know what this is for, but it's not currently depended on by anything. PiperOrigin-RevId: 298455380 02 March 2020, 23:01:25 UTC
970e654 Add some tests for GetRandomKeyBytes(). PiperOrigin-RevId: 298355807 02 March 2020, 16:14:24 UTC
20817ec Use absl::WrapUnique instead of direct std::unique_ptr ctor PiperOrigin-RevId: 298337975 02 March 2020, 14:21:01 UTC
fc9a056 Use sanitizing containers in hmac_boringssl PiperOrigin-RevId: 298328196 02 March 2020, 13:10:09 UTC
c160547 Remove support for building C++ outside of Bazel and CMake. This means we remove the target libtink.so from the BUILD.bazel file. The reason is that this fails when updating to Bazel 1.0 -- though it never really worked reliably. PiperOrigin-RevId: 298327662 02 March 2020, 13:06:41 UTC
eef8f9c Use sanitizing containers in hmac_boringssl PiperOrigin-RevId: 298317462 02 March 2020, 11:50:58 UTC
92e35f0 Add a new interface to support AEAD using Abseil Cords as input/output parameters. PiperOrigin-RevId: 298312394 02 March 2020, 11:12:52 UTC
017b27e Use sanitizing containers in aes_ctr_boringssl Drive-by: - Constant naming - Default to plain 'int' unless necessary PiperOrigin-RevId: 298311396 02 March 2020, 11:05:35 UTC
508bf5e Remove dependency on the test_matchers in python. PiperOrigin-RevId: 298307833 02 March 2020, 10:42:27 UTC
c822d7e Add a safe interface for generating random SecretData PiperOrigin-RevId: 298304885 02 March 2020, 10:19:22 UTC
7326934 Use sanitizing containers in ed25519_sign_boringssl PiperOrigin-RevId: 298300371 02 March 2020, 09:48:48 UTC
40bdc1c Roll forward of fba40f2bbbcfb3fe212c387c115dccb5d310d9c9: Inherit from native Error instead of goog.debug.Error We're now using the techniques specified in https://javascript.info/custom-errors. Most of the changed lines are in tests that check for particular error messages. This is a very non-robust pattern that we should really do something about at some point, but that can wait for a future change. This is part of the effort to get rid of Closure Library dependencies. This change was previously rolled back in 25b696e0a52e3278acc6060379d070f992517b6b. NEW: Fix Google-internal clients that had been broken by this change as a result of depending on error messages. Also resolve many, many merge conflicts. PiperOrigin-RevId: 297955343 29 February 2020, 00:01:18 UTC
b2b5e7d Remove exports files from Tink for JavaScript Nobody is using them, ng_package uses a different mechanism for exposing entry points, and they're a dependency on the Closure Library which we don't want. PiperOrigin-RevId: 297954185 28 February 2020, 23:55:56 UTC
2f266e5 Route all proto dependencies through a generated file The file doesn't exist yet but will be added later. PiperOrigin-RevId: 297946733 28 February 2020, 23:21:27 UTC
124734a Replace goog.asserts with Jasmine-based test assertions Another Closure dep bites the dust. The big scary-looking TTL expression will be replaced with a simple call to NonNullable when this code moves to TypeScript. PiperOrigin-RevId: 297926283 28 February 2020, 22:06:02 UTC
af12cf4 Add PEM (RFC7468) decoder as a wrapper around BoringSSL. - Added class `PemParser` in `cc/subtle` that parses PEM-encoded keys (currently only RSA). - Added test that verifies parsing of keys generated using openssl CLI. - Added `nullptr` check in `SubtleUtilBoringSSL::bn2str`. PiperOrigin-RevId: 297921425 28 February 2020, 21:46:34 UTC
4c70212 Convert unit tests from Closure to Jasmine This removes one of the largest Closure dependencies and prepares us for a rules_nodejs future. This change was mostly generated with recast, with a bit of manual cleanup. PiperOrigin-RevId: 297903604 28 February 2020, 20:30:21 UTC
8c4ef52 ROLLBACK OF: Use sanitizing containers in xchacha20_poly1305_boringssl PiperOrigin-RevId: 297855159 28 February 2020, 17:01:15 UTC
a70d3ab Remove the dependency on //third_party/tink/cc/util:errors" from python. This should anyhow be removed completely. PiperOrigin-RevId: 297843229 28 February 2020, 15:56:08 UTC
71c2134 free symbol ::pb for use as the future namespace for protobufs. PiperOrigin-RevId: 297841674 28 February 2020, 15:45:50 UTC
2080801 Remove broken BUILD.bazel files. PiperOrigin-RevId: 297836290 28 February 2020, 15:07:08 UTC
589f656 Use sanitizing containers in xchacha20_poly1305_boringssl PiperOrigin-RevId: 297806450 28 February 2020, 11:15:21 UTC
340da55 Internal change PiperOrigin-RevId: 297565396 27 February 2020, 12:31:04 UTC
2bdd4b3 Move the java BUILD file for the tests two directories deeper. As trying to move tink/java to tink/java_src there are failures, which apparently come from the fact that these BUILD files should be closer to the actual java directory. PiperOrigin-RevId: 297552870 27 February 2020, 11:01:40 UTC
cfdf4b0 Use sanitizing containers in aes_cmac_boringssl PiperOrigin-RevId: 297352680 26 February 2020, 15:06:20 UTC
9f037dc Manually copy the ints from the buffer to the int. Also, fix the CMake build. PiperOrigin-RevId: 297310776 26 February 2020, 09:56:29 UTC
d65a1f7 Add GetRandomUInt{8,16,32} to ::crypto::tink::subtle::Random. PiperOrigin-RevId: 297298286 26 February 2020, 08:21:06 UTC
2f4b53b Moving from generally discouraged exit() to _Exit(). PiperOrigin-RevId: 297201390 25 February 2020, 22:19:02 UTC
4b35330 Move go/subtle/mac to go/mac/subtle. PiperOrigin-RevId: 297133236 25 February 2020, 17:24:17 UTC
16eb6e9 Implement sanitizing containers for sensitive data For now just make sure sensitive data is zeroed after use. Use std::vector<uint_8> instead of std::string to avoid issues with small string optimization. PiperOrigin-RevId: 297104211 25 February 2020, 14:31:31 UTC
931dd08 Add test to AEAD wrapper for decrypting when the wrong primary key is set. PiperOrigin-RevId: 297102691 25 February 2020, 14:20:30 UTC
db190fc Implement Streaming MAC instances of CMAC and HMAC using BoringSSL. PiperOrigin-RevId: 297046646 25 February 2020, 06:40:08 UTC
ceab0b7 Remove unnecessary interface assertions. PiperOrigin-RevId: 296999464 25 February 2020, 00:32:38 UTC
3cf0fef Fix Type annotation of hybrid_decrypt_key_manager. The return type must be PrivateKeyManager, since the user should be able to use the public_key_data method. PiperOrigin-RevId: 296894785 24 February 2020, 16:15:44 UTC
8b52ac2 Make sure the race in Provider$Service.supportsKeyFormatRace cannot happen in our TSan test. See bugs.openjdk.java.net/browse/JDK-8238566. PiperOrigin-RevId: 296420692 21 February 2020, 14:06:47 UTC
663aed3 Add signature key template RSASSA-PSS 4096 with SHA384. PiperOrigin-RevId: 296248947 20 February 2020, 18:54:27 UTC
446aa12 Update absl version. PiperOrigin-RevId: 296164489 20 February 2020, 10:41:36 UTC
9a04413 Drop support for IE and legacy Edge from Tink.js This change reduces code size, reduces risk of security vulnerabilities stemming from pure-JavaScript crypto, and unblocks open-source packaging by eliminating much of our dependency on the Closure Library. PiperOrigin-RevId: 296140102 20 February 2020, 07:29:08 UTC
a61aaee Version bump to 1.3.0-rc4. PiperOrigin-RevId: 296131806 20 February 2020, 06:18:30 UTC
ed36097 Remove closure from tink_base dependencies. PiperOrigin-RevId: 295919906 19 February 2020, 09:41:41 UTC
25b696e Inherit from native Error instead of goog.debug.Error We're now using the techniques specified in https://javascript.info/custom-errors. Most of the changed lines are in tests that check for particular error messages. This is a very non-robust pattern that we should really do something about at some point, but that can wait for a future change. This is part of the effort to get rid of Closure Library dependencies. PiperOrigin-RevId: 295875087 19 February 2020, 03:07:33 UTC
3f3a0bf Add AES256_GCM_HKDF_1MB key template PiperOrigin-RevId: 295862108 19 February 2020, 01:34:00 UTC
fba40f2 Inherit from native Error instead of goog.debug.Error We're now using the techniques specified in https://javascript.info/custom-errors. Most of the changed lines are in tests that check for particular error messages. This is a very non-robust pattern that we should really do something about at some point, but that can wait for a future change. This is part of the effort to get rid of Closure Library dependencies. PiperOrigin-RevId: 295859636 19 February 2020, 01:18:38 UTC
92fe8b6 Remove python dependencies in tink_base. The dependencies seemed to somehow have pulled in a second version of java error_prone, which is why I need to fix some BUILD targets. PiperOrigin-RevId: 295560508 17 February 2020, 12:29:28 UTC
back to top