- Sep 11, 2017
-
-
Walter Cacau authored
Change-Id: I58353b7988841c5ad5ad3fe75b62dcb370ad36ce ORIGINAL_AUTHOR=Walter Cacau <waltercacau@google.com> GitOrigin-RevId: 9adf977ba2c22374eeff43ac9f38bdaa7f799e93
-
- Sep 09, 2017
-
-
Walter Cacau authored
Change-Id: I55111700f38679313315b3471c4e553c6107ffd2 ORIGINAL_AUTHOR=Walter Cacau <waltercacau@google.com> GitOrigin-RevId: 4ec099722a4e3e9ea80931241100eda4017b3db0
-
- Sep 08, 2017
-
-
Thai Duong authored
Change-Id: Ibaee1b6d8481795f45f9243aa10e70bface2d006 ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com> GitOrigin-RevId: e7fdc72bf55044b291859986100b1929368a3983
-
Thai Duong authored
Change-Id: I1b800f07b058bd3bf03d0a7952b7ffbe00f627d4 ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com> GitOrigin-RevId: b7ee74914bea8020fff7f1b938b66147d89efa8e
-
Thai Duong authored
Change-Id: I4c2b0462f79949c6e42d19854efa2d16e3c95dad ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com> GitOrigin-RevId: 2a4094adf71abdc11a76e03729b035ba1513bec7
-
Walter Cacau authored
Change-Id: I858bc5cb3fa47d8e8e5d07b939db8842b9a46033 ORIGINAL_AUTHOR=Walter Cacau <waltercacau@google.com> GitOrigin-RevId: b734d84673724b104e2da7f438d8d388e0f63de0
-
Walter Cacau authored
Change-Id: I8eb4dde9358c2bfdfc90ba4e25882e74403b032f ORIGINAL_AUTHOR=Walter Cacau <waltercacau@google.com> GitOrigin-RevId: 41170db3e2ed29b9b2b0012b820d5f9a3ca14302
-
Thai Duong authored
Change-Id: I3179f70e3eddd73cfc74f545af75dee98c7b3a9a ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com> GitOrigin-RevId: 47d11610c787a4235c88d73884e0e6a867563e8d
-
Quan Nguyen authored
Format Java Test files according to Google Java Style Guide. Leave out a few files to preserve intentional alignment. Add <ul> tag to a few files to preserve list structure comments. Change-Id: I50548390a0db95d0c321a5bacf006a3abadbeaec ORIGINAL_AUTHOR=Quan Nguyen <quannguyen@google.com> GitOrigin-RevId: 297a52685a929c9d0d1edeb76ea07275585f9454
-
Quan Nguyen authored
Format Java files according to Google Java Style Guide. Leave out a few files to preserve intentional alignment comments. Add <pre> tag to a few files that have Usage section. Change-Id: Ica4000147fb7a802c37791ffe460951cad2e5197 ORIGINAL_AUTHOR=Quan Nguyen <quannguyen@google.com> GitOrigin-RevId: aa17b53edad4bcb16392aa4db563ec2eeb39f982
-
Quan Nguyen authored
The test mimics Wycheproof/JsonAeadTest.java Exclude AesGcmJceTest.java from Maven because we haven't built Maven for Wycheproof yet. Change-Id: I90e9e3113317ba5879c709afbe60add47ec33cee ORIGINAL_AUTHOR=Quan Nguyen <quannguyen@google.com> GitOrigin-RevId: 264a9ab0a8de483fe294a30f58a1d80f61715c71
-
Walter Cacau authored
You should now be able to just specify the public key manager when contructing it instead of fetching the key yourself at construction time. This way if a developer ends up reusing the same recipient for multiple messages the PaymentMethodTokenRecipient will take care of fetching fresh verification public keys every single time. Also clarifying in the docs what the typical expected usage should be. Change-Id: Id7b5f88880e216f2a0624587284cf967b4e2353b ORIGINAL_AUTHOR=Walter Cacau <waltercacau@google.com> GitOrigin-RevId: 588337998e1525f4162124387449effe8f74a651
-
Walter Cacau authored
Before this change, when using any non android target from maven you would get this error an error like: [ERROR] 'dependencyManagement.dependencies.dependency.systemPath' for com.google.android:android:jar must specify an absolute path but is ${env.ANDROID_HOME}/platforms/android-23/android.jar @ Now we moved the reference to env.ANDROID_HOME to only the android target which fixes the issue. Change-Id: I09c4e08de48948f81b313d66f74f4afc6a3af478 ORIGINAL_AUTHOR=Walter Cacau <waltercacau@google.com> GitOrigin-RevId: fc28438f6174ea54a64f7f6706ded46f1f0d72bd
-
- Sep 06, 2017
-
-
Walter Cacau authored
This utility takes care of caching results in memory and proactively refreshing the keys before we get to the expiration. This utility is also thread safe. For best performance results, this utility should be kept in a singleton. For convenience two singleton instances are provided already and should suffice for most use cases. Change-Id: Ic07941f2d5cb5672ed9df36379d08fbe5ebb1dae ORIGINAL_AUTHOR=Walter Cacau <waltercacau@google.com> GitOrigin-RevId: 8212d3b6cb557063ef586ee61ad0252ffcce56ad
-
Walter Cacau authored
Based on gerrit's script. https://gerrit.googlesource.com/gerrit/+/master/tools/coverage.sh Change-Id: I0094a18618b40ffb87ebb4f8cc8a1fa1286024a4 ORIGINAL_AUTHOR=Walter Cacau <waltercacau@google.com> GitOrigin-RevId: 7e6ab2b5590dacd8a514c4d917186fb62e9813f8
-
Thai Duong authored
We can always make them public later, if needed. For now, making them package-private makes it easier for us to change them, shall we need to do that. Change-Id: Icdbd84514bc4b7608ef8558968d79b0e523e9ed9 ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com> GitOrigin-RevId: 0675b56f791d880bbae227cc7653277f0fb3505c
-
Thai Duong authored
Unfortunately there is no test, as Bazel has not supported testing with android_test yet, see https://github.com/bazelbuild/bazel/issues/903. I'll add tests once we sync this to Google internal. Also move AWS KMS integration code to integration.awskws and GCP KMS to integration.gcpkms. Change-Id: Idb715310f870a975ca6bcd2a314618680ab91fb9 ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com> GitOrigin-RevId: dc397b0d2ad53deb6d98ce739626fce39a94e656
-
Thai Duong authored
Exception: key templates are still text because they have comments which are not supported in JSON. Change-Id: Ifb00c32d0159beaf0391fa6a324e563254f8059a ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com> GitOrigin-RevId: ec95e3fa65912e89426a49129d9fd19cc108276f
-
Bartosz Przydatek authored
Change-Id: I9d172a416d89c1159155823304d9977447f7fb71 ORIGINAL_AUTHOR=Bartosz Przydatek <przydatek@google.com> GitOrigin-RevId: a004f09da80b6ad1ffc39d113c4c0f6167841c6b
-
Thai Duong authored
This is needed to ensure that the Maven artifacts of this app can be managed by Tink team. Also moving apps/googlepayments to apps/paymentmethodtoken, fixing Javadoc errors, and adding pom.xml. Change-Id: I2804d6cac5f4462d991e3b4b2f1974f091e965e2 ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com> GitOrigin-RevId: bd6c0896199ff18ccc93cd35385ab9edaa7bcf9f
-
Haris Andrianakis authored
Change-Id: If142d76a200e13ca7ac91a38a2f2e958b2b62b92 ORIGINAL_AUTHOR=Haris Andrianakis <candrian@google.com> GitOrigin-RevId: 4c2d343d902663fa3e67824df417643c9ec1713a
-
Thai Duong authored
Change-Id: I8ae127ab0766ccb22343cec77d4f1f5212789620 ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com> GitOrigin-RevId: 077164429d1694dc65e43432d16275eb6171143c
-
- Sep 01, 2017
-
-
Thai Duong authored
Change-Id: Ia165a22dd2261dd31e6a373d5951da1d2dbfdcbc ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com> GitOrigin-RevId: e5fb1e8eb6de60312eeedf88227e75e04735d2c5
-
Thai Duong authored
Also fixing Javadoc issues in XyzConfig classes and temporarily removing registry/config logging. Change-Id: I1032d7c3e9409ab2bbcb126fc2d99e1651e0959d ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com> GitOrigin-RevId: f50e21a56939e97b8ce1d87029386a8d02ed7c73
-
Bartosz Przydatek authored
Change-Id: Ic497392503b9e6ffb129b039895fc5a2fc5a02ac ORIGINAL_AUTHOR=Bartosz Przydatek <przydatek@google.com> GitOrigin-RevId: 19648fdb4d66c4d93db5e85125cacc87ea3b9485
-
Bartosz Przydatek authored
Change-Id: I4f928caa6fbd877d2169fee572ae5c0381460e0b ORIGINAL_AUTHOR=Bartosz Przydatek <przydatek@google.com> GitOrigin-RevId: cbcaf65319ea010372050ac9ddd6bbc8d7f82c91
-
Haris Andrianakis authored
Change-Id: Id21248b58980281e215d89c41d5cac5bb8054aa9 ORIGINAL_AUTHOR=Haris Andrianakis <candrian@google.com> GitOrigin-RevId: 0766c349904b00f32db19a6dfb4978cbdef02772
-
Thai Duong authored
Change-Id: I2e628298c31e26da0067196634b5dc4d3bd5ed84 ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com> GitOrigin-RevId: 9b88cb7f7aad68ff16094ab7ff6a3a1620f58cd5
-
Haris Andrianakis authored
TINKHybridDecrypt: Public protocol that describes the functions implemented by the crypto primitives returned by TINKHybridDecryptFactory. The developer will use TINKHybridDecryptFactory to get a primitive that conforms to this protocol. TINKHybridDecryptConfig: Public configuration interface. The user creates an instance and uses it to configure the TINKHybridDecryptFactory. TINKHybridDecryptFactory: Public Factory that returns the crypto primitives. This is the only way to get a crypto primitive (TINKHybridDecrypt). TINKHybridDecryptInternal: Internal-only class that's used to implement the crypto primitives. The user is not allowed to use this class to create a crypto primitive. Instead he should use the TINKHybridDecryptFactory. This class conforms to the public protocol TINKHybridDecrypt. TINKHybridDecryptKeyManager: Parent class of all HybridDecrypt key managers. Doesn't contain any functionality we just use it to restrict the type of customKeyManagers that can be accepted by TINKHybridDecryptConfig. TINKPBEciesAeadHkdfPrivateKeyManager: TINKPBEciesAeadHkdfPublicKeyManager: These are both custom key managers that can be used with the TINKHyrbidDecryptConfig. After syncing with Thai these might not be needed as the user will have to implement and supply his own custom key managers. Change-Id: I006ab7ea705bb913e068baf892981c1dc4f7cfb5 ORIGINAL_AUTHOR=Haris Andrianakis <candrian@google.com> GitOrigin-RevId: 4a03068d668054fb314264c3e137bdec5a06b07b
-
Thai Duong authored
Change-Id: Icb2327285c65bc656e35d37183cc42af3eb72138 ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com> GitOrigin-RevId: b37b6c3013ada55d92666b303fa109842a60bda9
-
Thai Duong authored
Some refactoring: - Moving the registration of catalogue to Registry. Does NOT allow overwriting catalogues. - Deprecating registerStandardKeyTypes. - Ensuring that primitive-specific tests register only the corresponding key types. - com.google.crypto.tink.config.Config becomes com.google.crypto.tink.Config and does not depend on any primitives. - com.google.crypto.tink.proto.TinkConfig is renamed to com.google.crypto.tink.proto.RegistryConfig. - Add com.google.crypto.tink.crypto.config.TinkConfig that depends on all primitives. Examples: - To register all Aead primitives in Tink 1.0.0: Config.register(AeadConfig.TINK_1_0_0); - To register all primitives: Config.register(TinkConfig.TINK_1_0_0); - To use custom catalogues and configs: Register.addCatalogue("name", MyCatalogue()); RegistryConfig customConfig = ...; TinkConfig.init(); Config.register(customConfig); Change-Id: I7e593e1c3f1f404555e02672c0d0a3a214b660d9 ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com> GitOrigin-RevId: 0c99b04cf280f6b30e315521860315c8d65e27c7
-
Bartosz Przydatek authored
Change-Id: Iaba9492fd29e067b729a13f0a7f747dafd333c8a ORIGINAL_AUTHOR=Bartosz Przydatek <przydatek@google.com> GitOrigin-RevId: 34518c31e45494478fc3eb1f3d0a7c5b6073c1af
-
Thai Duong authored
Change-Id: I4a86ffe9fc11d1f22e92dc88c81f9418f6d643d7 ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com> GitOrigin-RevId: 4d2dc50e5e3725c7df048d015746680cc13dc433
-
- Aug 23, 2017
-
-
Thai Duong authored
Change-Id: Ic9742cd59ccbfb02ff7b6ed177f5c3749be64281 ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com> GitOrigin-RevId: fbb44dcb49f28fc38684644088b6fa1f5ce25f6e
-
Thai Duong authored
Change-Id: If26f2f79ec36416b63f1e776894aeb5a8fd5fcbb ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com> GitOrigin-RevId: 65db81ba4da5f3a74df647de798ee6f5b3acf888
-
Thai Duong authored
This finally allows us to make SubtleUtil package private. Change-Id: I05466ac2fac69fa61e2571a1391b45cd35954f7e ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com> GitOrigin-RevId: 33c1df6196afe149fac09689cd059e132cfedf94
-
Thai Duong authored
Change-Id: I4792c3532258418be121aae43d30462deed90414 ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com> GitOrigin-RevId: ab0a5c0539d0f952bb35c671a47da32e5ef7d5bf
-
Thai Duong authored
Change-Id: I4928ff37fc8743f30902aef34dd42473071d7845 ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com> GitOrigin-RevId: 131ffa255ca84589a3fc3d77f00a60ffeba760b1
-
Google Engineers authored
Change-Id: I712abfcf9712175471dd3f0f29d66a5f8f7265f6 ORIGINAL_AUTHOR=Google Engineers <noreply@google.com> GitOrigin-RevId: ee27f3ae2d40c20c49a00e59def5ed08297063ca
-
Thai Duong authored
Change-Id: I62a4a98c2ebf5651576a42c065e9ea3582b1f041 ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com> GitOrigin-RevId: d7860b81c481959dfd6fac540026ba3c9747fa4a
-