Skip to content
Snippets Groups Projects
  1. Mar 26, 2018
  2. Mar 23, 2018
    • Thai Duong's avatar
      Fixing #83 to make "go get" work. · ca887aab
      Thai Duong authored
      Change-Id: If31098141acfe4de059bbea13de8e5d8410d7bd9
      GitOrigin-RevId: 32e110659317b8d63f5dc4c080da419845b04498
      ca887aab
    • Thai Duong's avatar
      Merging https://github.com/google/tink/pull/84. · 0a0c4f96
      Thai Duong authored
      Change-Id: I2969dd4daaa5d9aa97cb220321d92ac30f9cba52
      GitOrigin-RevId: c653e1fcd9e830a717a19b903c6a438ffc458f28
      0a0c4f96
    • Saqib's avatar
      245f160d
    • Thai Duong's avatar
      Making Tink run on more Android versions. · 85f2fa90
      Thai Duong authored
      Latest results: https://sponge.corp.google.com/invocation?id=70c9810c-aa56-4b4a-af1e-e4b3f57e49d0&searchFor=.
      
      * All tests pass on Android Nugat (API level 24) and newer.
      
      * All 49 failures on Android Marshall (API level 23) are because SeekableByteChannel is missing. This class is only present on 24 and newer.
      
      * On Lollipop (API 21), there are 4 more failures in com.google.crypto.tink.integration.android because Android Keystore doesn't support AES-GCM.
      
      * On KitKat (API 19), AES-GCM doesn't work because KitKat uses Bouncy Castle 1.48 which doesn't support updateAAD T_T.
      
      PiperOrigin-RevId: 190222140
      GitOrigin-RevId: 80e684ac3e8fc71203aae0fc30013202419900ab
      85f2fa90
    • Thai Duong's avatar
      Using rules_apple 0.3.0. · 5066f42b
      Thai Duong authored
      These versions are known to work well with each other.
      
      PiperOrigin-RevId: 190175841
      GitOrigin-RevId: 93684984c4f26263c658c3bf47a578b17123dcfd
      5066f42b
    • Thai Duong's avatar
      The new workaround doesn't work, reverting to the old one. · edd691fa
      Thai Duong authored
      PiperOrigin-RevId: 190145488
      GitOrigin-RevId: c7fa32c67bfd64cb0ab0d5aebe41ba31102cd4f4
      edd691fa
    • Thai Duong's avatar
      Graduating StreamingAead from @Alpha. · 164ea99d
      Thai Duong authored
      PiperOrigin-RevId: 190145333
      GitOrigin-RevId: c19eff90e84224eed7e0338cd86868aa59c58e14
      164ea99d
    • Thai Duong's avatar
      Always using the latest version of Bazel. · 9362c5cf
      Thai Duong authored
      PiperOrigin-RevId: 190137127
      GitOrigin-RevId: cecaa3b03ef39d8d48b5d64c16826ca1bb9b3a6c
      9362c5cf
    • Thai Duong's avatar
      Graduating ChaCha20Poly1305 from @Alpha. · bf7fef14
      Thai Duong authored
      Removing XChaCha20 and XSalsa20 because the former is too new and the latter is unlikely to be useful.
      
      PiperOrigin-RevId: 190090084
      GitOrigin-RevId: f25d42fd99e1bc7c4aaeb3cdeae90ca06ae21a43
      bf7fef14
    • Thai Duong's avatar
      Instead of reading key templates from disk, Tinkey now accepts key templates... · 68195f53
      Thai Duong authored
      Instead of reading key templates from disk, Tinkey now accepts key templates whose name is declared in Tink.
      
      To create a keyset containing an AES128_GCM key, run
      
      tinkey create-keyset --key-template AES128_GCM
      
      Also removing the CreateKeyTemplate command and adding ListKeyTemplates.
      
      PiperOrigin-RevId: 190088937
      GitOrigin-RevId: 199694ecd4af61e512ea86249e5f5c9ba6684411
      68195f53
    • Daniel Bleichenbacher's avatar
      Test vectors for version 0.4. · 34d7ed70
      Daniel Bleichenbacher authored
      There are some format changes:
      - The field notes in the header is now a dictionary.
      - Test vectors have a new field flags, that should document the
        test vectors better. Additionally it can be used to change
        tests easier (e.g. a test can define if it cares about signature
        malleability or not).
      - There are more special cases (e.g. implementations for brainpool curves
        can use the group isomorphisms defined in the standard).
      
      Bug fixes:
      - Some ECDH test vectors were missing a shared value.
      - Some ECDH test vectors where the public key has modifications in unused
        parameters are now acceptable, as long as the change does not modify the
        shared secret.
      
      PiperOrigin-RevId: 189929126
      GitOrigin-RevId: b3e2b1caee4ba33c3dc4fcc223402527479e7140
      34d7ed70
    • Tink Team's avatar
      Fix g3doc links pointing to opensource path. · 372d51e6
      Tink Team authored
      PiperOrigin-RevId: 189588058
      GitOrigin-RevId: 6d4389461fe9c341236eb2e8f3a7b87b8daf1d8b
      372d51e6
  3. Mar 18, 2018
    • Thai Duong's avatar
      Fixing a bunch of errors found when importing a CL from GoB to Piper. · 68ac27a3
      Thai Duong authored
      PiperOrigin-RevId: 189384278
      GitOrigin-RevId: ac7742b291f7da5af39739f03be43a41d554e5aa
      68ac27a3
    • Bartosz Przydatek's avatar
      Fixing C++ include-paths. · 3cd62690
      Bartosz Przydatek authored
      PiperOrigin-RevId: 189379168
      GitOrigin-RevId: 2524f3b25fbaa08011b512a2730265435f48db37
      3cd62690
    • Thai Duong's avatar
      Revert "Adding JSON-formatting for Key and KeyFormat protos." · 6bb0535b
      Thai Duong authored
      This reverts commit e3fdeda0b53175cca97d0b99a2c3811f6bf90310.
      
      This feature adds a lot of code, but it's unused and it's not very
      flexible because it supports only one JSON format, but I found that users
      might store their keys in many different formats (e.g., PEM, JWK, etc.).
      
      Instead of using a single, universal reader that, by delegating to key
      managers, can parse arbitrary key types, we should add a series of small
      readers, each can parse a specific key type, only when there's a clear
      demand for them.
      
      Change-Id: I64171ab08ab3d90515227137ebc8bdce13d09032
      PiperOrigin-RevId: 189351693
      GitOrigin-RevId: 4663a01d8b0cce2e4ee736e8621070eb571e1ba5
      6bb0535b
    • Tink Team's avatar
      Remove the JVM flags -XX:PermSize and -XX:MaxPermSize · e9e0cfdd
      Tink Team authored
      More information: go/java-maxpermsize-lsc
      
      Tested:
          tap_presubmit
          Some tests failed; test failures are believed to be unrelated to this CL
      PiperOrigin-RevId: 189284097
      GitOrigin-RevId: b3b190888f663eda9492087f23f9e716ec33dd8d
      e9e0cfdd
  4. Mar 13, 2018
  5. Mar 09, 2018
  6. Mar 03, 2018
    • Thai Duong's avatar
      Fixing a dependency error in tink.pom.xml. · 3774c954
      Thai Duong authored
      Next I'll add some test to detect these errors early.
      
      Also using rules_go 0.10.1 instead of master.
      
      Change-Id: Ib79cd5c1ff7a6bb65cf588ee705183746c2cb417
      ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com>
      GitOrigin-RevId: b4ebcfbb4c99b01f21c330d1099ca230e4d4a46f
      3774c954
  7. Feb 28, 2018
    • Thai Duong's avatar
      Deleting files that are not on GitHub to make GoB a mirror of GitHub. · ffbbcfc1
      Thai Duong authored
      This makes migrating changes between GitHub and GoB easier.
      
      The copybara script is being moved to Piper, and nobody is actually
      using the other script.
      
      Change-Id: I876e0ff90995e7d49fa97d57b86aee5d2e66b14a
      ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com>
      GitOrigin-RevId: e8463a41307fa0e81a8334cad4708dcc5316ed80
      ffbbcfc1
    • Thai Duong's avatar
      Using HEAD-SNAPSHOT version name for snapshots. · 488e6fb9
      Thai Duong authored
      This is neater than x.y.z-SNAPSHOT because we don't have to update
      the POM files when we release new snapshots which are always built
      from HEAD of the master branch.
      
      Change-Id: I07ded75e3e837b03db077787791599291ca6d478
      ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com>
      GitOrigin-RevId: 95e2fc58566c73d633eb180191b63b868d1c6804
      488e6fb9
  8. Feb 27, 2018
    • Google Engineers's avatar
      Generate Maven jars with Bazel. · de97714f
      Google Engineers authored
      We no longer need to maintain Maven as a separate build and test system.
      This would save us a lot of time, as Maven is not exactly nice to deal
      with.
      
      This also allows us to simplify the poms, especially the dependencies.
      For example, to use Tink for Android users no longer have to set
      $ANDROID_HOME.
      
      Change-Id: I925b37409f8ed5e32f228d8de0f0845ea38bc427
      ORIGINAL_AUTHOR=Google Engineers <noreply@google.com>
      GitOrigin-RevId: 49470c492c6bc1d28960c243b671208863ccdf6b
      de97714f
Loading