Skip to content
Snippets Groups Projects
  1. Jul 31, 2019
    • tholenst's avatar
      Stop using the lastest config RegistryConfig from python. · 9e9100ce
      tholenst authored
      We plan to remove these; so we instead manually register all key managers in python.
      
      PiperOrigin-RevId: 260936807
      9e9100ce
    • tholenst's avatar
      Java Tink: Remove building the RegistryConfig protos. · 1054dba0
      tholenst authored
      These are not needed anymore, since we simply register all key managers directly; they were only needed for catalogue support (what's more is: this didn't work properly anyhow, see the explanation in cl/260891485).
      
      PiperOrigin-RevId: 260935372
      1054dba0
    • tanujdhir's avatar
      Fix 'an streaming' typo · 857700b7
      tanujdhir authored
      PiperOrigin-RevId: 260912173
      857700b7
    • tholenst's avatar
      Remove the Register(const KeyTypeEntry&) code and do what we do previously.... · 378fd95b
      tholenst authored
      Remove the Register(const KeyTypeEntry&) code and do what we do previously. Also, simply register everything in the Register(const RegistryConfig&) code.
      
      The only way this can break someone we can think of is when the want to register fewer key managers, and have an implementation of one which they want to use instead, so a call to RegisterKeyManager now fails; this seems very unlikely and would be easy to detect and fix.
      
      This should allow me to get rid of the config generation code.
      
      PiperOrigin-RevId: 260902291
      378fd95b
    • tholenst's avatar
      Java: remove the remaining catalogues. · 465910be
      tholenst authored
      PiperOrigin-RevId: 260899742
      465910be
    • tholenst's avatar
      Deprecated the KeyTypeEntry proto and the RegistryConfig proto · 4fde5860
      tholenst authored
      PiperOrigin-RevId: 260897053
      4fde5860
    • tholenst's avatar
      Java: Remove the streaming aead catalogue. · 6972ff06
      tholenst authored
      Catalogues are no longer supported, instead we register key managers directly.
      
      Removing these in Java is actually more easy than in C++ because the static initialization basically broke the functionality already: for example, suppose someone calls
      
      Config.register(AeadConfig.TINK_1_0);
      
      Then, presumably he wants to have the Aead's in the binary which were present in Tink 1.0. However, what happens is that due to accessing AeadConfig.TINK_1_0, the static initialized in AeadConfig runs, which calls AeadConfig.register() internally. This then calls Config.register(LATEST), so that the user anyhow gets all the key managers, also those only present in later versions (e.g. XChaCha20Poly1305Key).
      
      PiperOrigin-RevId: 260891485
      6972ff06
    • tanujdhir's avatar
      Fix a typo. · 107b91b2
      tanujdhir authored
      PiperOrigin-RevId: 260886081
      107b91b2
  2. Jul 30, 2019
  3. Jul 29, 2019
  4. Jul 26, 2019
  5. Jul 25, 2019
  6. Jul 24, 2019
Loading