Skip to content
Snippets Groups Projects
  1. Sep 25, 2017
    • Thai Duong's avatar
      Fixing macOS build. · dc732509
      Thai Duong authored
      Change-Id: I862c1f90580f32d99d9cf4c44430f749801a0574
      ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com>
      GitOrigin-RevId: afd20aad283aaae1741e368d7f19208f2291eca7
      dc732509
  2. Sep 23, 2017
    • Thai Duong's avatar
      Adding license boilerplate. · 97caa68a
      Thai Duong authored
      Change-Id: I410ee3a61bee4b534733cf363a254d886deb62d7
      ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com>
      GitOrigin-RevId: 5dce707ab48fbce5e3d1df917f4a145981e36eff
      97caa68a
    • Thai Duong's avatar
      Using JUnit's TemporaryFolder to create temp files. · 7d83ac21
      Thai Duong authored
      Don't have to set the annoying TMP_TESTDIR no more.
      
      Change-Id: Id8c61346a8efc21f8e6952b43bb3e426b8f72813
      ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com>
      GitOrigin-RevId: 4d7ee01140ad1649d7a3925b2ba02cdcfac364ac
      7d83ac21
    • Thai Duong's avatar
      Including //java:subtle in //java:java and //java:android. · 107df3eb
      Thai Duong authored
      Also including subtle:x25519 in subtle:subtle.
      
      Change-Id: I0b4b2dcd9b6b246382e3bd3b1e320f06abb03030
      ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com>
      GitOrigin-RevId: 8cbcf4727d190a4acf48efd6e6077cfd55a51ab8
      107df3eb
    • Thai Duong's avatar
      Adding hello world sample apps for Java and Android. · 233b0bda
      Thai Duong authored
      Change-Id: I8f43da36630342ed9c12a7b614103873167e7b2f
      ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com>
      GitOrigin-RevId: 05460736595ab88a50919cc18e7226a4c4bc483f
      233b0bda
    • Bartosz Przydatek's avatar
      Adding StreamingAeadFactory. · 07f48a70
      Bartosz Przydatek authored
      Change-Id: I3c8e0919f410c4ca48dd6f1f463ee876e0251e0f
      ORIGINAL_AUTHOR=Bartosz Przydatek <przydatek@google.com>
      GitOrigin-RevId: f02fc8097b8337adfc8ca70b7957922343a0ab45
      07f48a70
  3. Sep 19, 2017
    • Thai Duong's avatar
      Reducing usages of java.nio.file which is only avail on Android O or newer. · ed5cdb20
      Thai Duong authored
      There are still complicated usages in many streaming tests that cannot be
      removed.
      
      Also removing org.json as a dependency on the Android flavor, because
      Android already provided its own copy of this package.
      
      Change-Id: I48dd57cba51b1dc61451d86ac7c98e14a3beeddf
      ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com>
      GitOrigin-RevId: 207b0ba544e07b27aa405fe82dbf86aa988c85c6
      ed5cdb20
    • Quan Nguyen's avatar
      Fix a bug in Ed25519. · d4665a4f
      Quan Nguyen authored
      Change-Id: Icc0f17b7aa2b83ebf405f49c160eefb2b77b3659
      ORIGINAL_AUTHOR=Quan Nguyen <quannguyen@google.com>
      GitOrigin-RevId: 83f939cc44711b5b62bdf6e37a0e702412363a4d
      d4665a4f
    • Quan Nguyen's avatar
      Factor out Curve255519 elliptic curve operations. · d17b1092
      Quan Nguyen authored
      After refactoring:
      Curve25519: Elliptic Curve Arithmetic
      X25519: ECDH based on Curve25519
      Rename: x25519 --> computeSharedSecret
              x25519PublicFromPrivate --> publicFromPrivate
      
      Change-Id: I6f0b06cca200b7bfe84bd1db10b10a1c139c8967
      ORIGINAL_AUTHOR=Quan Nguyen <quannguyen@google.com>
      GitOrigin-RevId: 3b5eda1c66db11329c1bfb92cb68d5d693be23f2
      d17b1092
    • Quan Nguyen's avatar
      Factor out Field25519 and add basic tests for it. · 943f9aa4
      Quan Nguyen authored
      We want to make sure that the arithmetic of field F_(2^255 - 19) is
      accurate.
      
      Basic tests: We generate random numbers, make computations with
      Field25519 and compare the results with Java BigInteger.
      
      Change-Id: I7f9d15d163cface359c9671306aab19a4621b71e
      ORIGINAL_AUTHOR=Quan Nguyen <quannguyen@google.com>
      GitOrigin-RevId: 75c5356416438b54a18b656ee618aaade85b8cae
      943f9aa4
    • Thai Duong's avatar
      Using released tarballs or commits rather than GitHub archives. · 027af405
      Thai Duong authored
      These archives are prepared on-the-fly by GitHub and are not
      guaranteed to be the same every time (for example, the order of files
      within the archive could change).
      
      We also need a new version of rules_go because the version that
      we were using also depends on GitHub archives. This explains
      the changes in go/.
      
      Also switch to googletest's provided bazel BUILD file, as
      recommended by the googletest team.
      
      Change-Id: I57f9c93a41eb68ee2946a0744506a9334b6d1ccc
      ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com>
      GitOrigin-RevId: eab348375b10cedd354da3fc2f286abc80869df9
      027af405
  4. Sep 11, 2017
    • Bartosz Przydatek's avatar
      Minor corrections to README.md · 1ee49456
      Bartosz Przydatek authored
      Change-Id: I0b635789fa68815f0b84377ccd21a97bec038fca
      ORIGINAL_AUTHOR=Bartosz Przydatek <przydatek@google.com>
      GitOrigin-RevId: c2450855999f4a068cbba21050c4552f31a94a66
      1ee49456
    • Walter Cacau's avatar
      Set version numbers to 1.1.0-SNAPSHOT · 4eedd5be
      Walter Cacau authored
      Change-Id: I58353b7988841c5ad5ad3fe75b62dcb370ad36ce
      ORIGINAL_AUTHOR=Walter Cacau <waltercacau@google.com>
      GitOrigin-RevId: 9adf977ba2c22374eeff43ac9f38bdaa7f799e93
      4eedd5be
  5. Sep 09, 2017
    • Walter Cacau's avatar
      Set version numbers to 1.0.0 · 99edf8df
      Walter Cacau authored
      Change-Id: I55111700f38679313315b3471c4e553c6107ffd2
      ORIGINAL_AUTHOR=Walter Cacau <waltercacau@google.com>
      GitOrigin-RevId: 4ec099722a4e3e9ea80931241100eda4017b3db0
      v1.0.0
      99edf8df
  6. Sep 08, 2017
    • Thai Duong's avatar
      Fix style issues after sync. · 604d4cc3
      Thai Duong authored
      Change-Id: Ibaee1b6d8481795f45f9243aa10e70bface2d006
      ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com>
      GitOrigin-RevId: e7fdc72bf55044b291859986100b1929368a3983
      604d4cc3
    • Thai Duong's avatar
      Annotate public APIs that are not ready for production with @Alpha. · 5ff64555
      Thai Duong authored
      Change-Id: I1b800f07b058bd3bf03d0a7952b7ffbe00f627d4
      ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com>
      GitOrigin-RevId: b7ee74914bea8020fff7f1b938b66147d89efa8e
      5ff64555
    • Thai Duong's avatar
      Revamp documentation. · 1763179b
      Thai Duong authored
      Change-Id: I4c2b0462f79949c6e42d19854efa2d16e3c95dad
      ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com>
      GitOrigin-RevId: 2a4094adf71abdc11a76e03729b035ba1513bec7
      1763179b
    • Walter Cacau's avatar
      Reformatting all apps/paymentmethodtoken java files using google-java-format · 516ab63d
      Walter Cacau authored
      Change-Id: I858bc5cb3fa47d8e8e5d07b939db8842b9a46033
      ORIGINAL_AUTHOR=Walter Cacau <waltercacau@google.com>
      GitOrigin-RevId: b734d84673724b104e2da7f438d8d388e0f63de0
      516ab63d
    • Walter Cacau's avatar
      Addressing post submission review comments from 588337998 · b6c23050
      Walter Cacau authored
      Change-Id: I8eb4dde9358c2bfdfc90ba4e25882e74403b032f
      ORIGINAL_AUTHOR=Walter Cacau <waltercacau@google.com>
      GitOrigin-RevId: 41170db3e2ed29b9b2b0012b820d5f9a3ca14302
      b6c23050
    • Thai Duong's avatar
      Refactoring Android Keystore integration. · 18f44375
      Thai Duong authored
      Change-Id: I3179f70e3eddd73cfc74f545af75dee98c7b3a9a
      ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com>
      GitOrigin-RevId: 47d11610c787a4235c88d73884e0e6a867563e8d
      18f44375
    • Quan Nguyen's avatar
      Format-only commit. · 920df44c
      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
      920df44c
    • Quan Nguyen's avatar
      Format-only commit. · f8daba7e
      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
      f8daba7e
    • Quan Nguyen's avatar
      Use Wycheproof GCM test vectors. · b4f3dff4
      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
      b4f3dff4
    • Walter Cacau's avatar
      Making using the PaymentMethodTokenRecipient less error prone. · e81b0ca9
      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
      e81b0ca9
    • Walter Cacau's avatar
      Moving android SDK dependency to android/pom.xml · 43f9661a
      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
      43f9661a
  7. Sep 06, 2017
    • Walter Cacau's avatar
      Adding a utility to fetch the Google signing keys. · a80aea1c
      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
      a80aea1c
    • Walter Cacau's avatar
      Adding a script to generate code coverage for java. · f785fa42
      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
      f785fa42
    • Thai Duong's avatar
      Making key managers package-private. · 9aaf4168
      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
      9aaf4168
    • Thai Duong's avatar
      Add support for Android Keystore as a KMS. · daaaacb3
      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
      daaaacb3
    • Thai Duong's avatar
      Replacing text option with JSON in Tinkey. · fbd55bdd
      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
      fbd55bdd
    • Bartosz Przydatek's avatar
      Adding description of primitives, updating description of interfaces. · 23a1d504
      Bartosz Przydatek authored
      Change-Id: I9d172a416d89c1159155823304d9977447f7fb71
      ORIGINAL_AUTHOR=Bartosz Przydatek <przydatek@google.com>
      GitOrigin-RevId: a004f09da80b6ad1ffc39d113c4c0f6167841c6b
      23a1d504
    • Thai Duong's avatar
      Moving com.google.payments to com.google.crypto.tink.apps.paymentmethodtoken. · 76bca789
      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
      76bca789
    • Haris Andrianakis's avatar
      Fix KeysetHandle for Obj-C so that it hides the C++ KeysetHandle. · b093c386
      Haris Andrianakis authored
      Change-Id: If142d76a200e13ca7ac91a38a2f2e958b2b62b92
      ORIGINAL_AUTHOR=Haris Andrianakis <candrian@google.com>
      GitOrigin-RevId: 4c2d343d902663fa3e67824df417643c9ec1713a
      b093c386
    • Thai Duong's avatar
      Fix Lint and compatibility errors. · 7a0dc039
      Thai Duong authored
      Change-Id: I8ae127ab0766ccb22343cec77d4f1f5212789620
      ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com>
      GitOrigin-RevId: 077164429d1694dc65e43432d16275eb6171143c
      7a0dc039
  8. Sep 01, 2017
    • Thai Duong's avatar
      Fix Javadoc errors in public APIs. · 1269d811
      Thai Duong authored
      Change-Id: Ia165a22dd2261dd31e6a373d5951da1d2dbfdcbc
      ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com>
      GitOrigin-RevId: e5fb1e8eb6de60312eeedf88227e75e04735d2c5
      1269d811
    • Thai Duong's avatar
      Fixing Maven issues and run Maven as a presubmit check. · 588b6407
      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
      588b6407
    • Bartosz Przydatek's avatar
      Style cleanup after sync. · 1913b433
      Bartosz Przydatek authored
      Change-Id: Ic497392503b9e6ffb129b039895fc5a2fc5a02ac
      ORIGINAL_AUTHOR=Bartosz Przydatek <przydatek@google.com>
      GitOrigin-RevId: 19648fdb4d66c4d93db5e85125cacc87ea3b9485
      1913b433
    • Bartosz Przydatek's avatar
      Fixing style issues. · cc8d6273
      Bartosz Przydatek authored
      Change-Id: I4f928caa6fbd877d2169fee572ae5c0381460e0b
      ORIGINAL_AUTHOR=Bartosz Przydatek <przydatek@google.com>
      GitOrigin-RevId: cbcaf65319ea010372050ac9ddd6bbc8d7f82c91
      cc8d6273
    • Haris Andrianakis's avatar
      Add tests for the Obj-C hybrid implementation · 7dddc4e0
      Haris Andrianakis authored
      Change-Id: Id21248b58980281e215d89c41d5cac5bb8054aa9
      ORIGINAL_AUTHOR=Haris Andrianakis <candrian@google.com>
      GitOrigin-RevId: 0766c349904b00f32db19a6dfb4978cbdef02772
      7dddc4e0
    • Thai Duong's avatar
      Move util to crypto::tink::util. · 14f57e6f
      Thai Duong authored
      Change-Id: I2e628298c31e26da0067196634b5dc4d3bd5ed84
      ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com>
      GitOrigin-RevId: 9b88cb7f7aad68ff16094ab7ff6a3a1620f58cd5
      14f57e6f
Loading