From 76aa014b66a9863eb6921df0b5717718c3afdb45 Mon Sep 17 00:00:00 2001 From: Juerg Wullschleger Date: Mon, 18 Mar 2024 08:23:08 -0700 Subject: [PATCH] Update golang github link for protos. PiperOrigin-RevId: 616834349 Change-Id: I8a310c1e341dcaea4be3b729bf757f9d5824f199 --- proto/aes_cmac.proto | 2 +- proto/aes_cmac_prf.proto | 2 +- proto/aes_ctr.proto | 2 +- proto/aes_ctr_hmac_aead.proto | 2 +- proto/aes_ctr_hmac_streaming.proto | 2 +- proto/aes_eax.proto | 2 +- proto/aes_gcm.proto | 2 +- proto/aes_gcm_hkdf_streaming.proto | 2 +- proto/aes_gcm_siv.proto | 2 +- proto/aes_siv.proto | 2 +- proto/chacha20_poly1305.proto | 2 +- proto/common.proto | 2 +- proto/config.proto | 2 +- proto/ecdsa.proto | 2 +- proto/ecies_aead_hkdf.proto | 2 +- proto/ed25519.proto | 2 +- proto/empty.proto | 2 +- proto/hkdf_prf.proto | 2 +- proto/hmac.proto | 2 +- proto/hmac_prf.proto | 2 +- proto/hpke.proto | 2 +- proto/jwt_ecdsa.proto | 2 +- proto/jwt_hmac.proto | 2 +- proto/jwt_rsa_ssa_pkcs1.proto | 2 +- proto/jwt_rsa_ssa_pss.proto | 2 +- proto/kms_aead.proto | 2 +- proto/kms_envelope.proto | 2 +- proto/prf_based_deriver.proto | 2 +- proto/rsa_ssa_pkcs1.proto | 2 +- proto/rsa_ssa_pss.proto | 2 +- proto/tink.proto | 2 +- proto/xchacha20_poly1305.proto | 2 +- 32 files changed, 32 insertions(+), 32 deletions(-) diff --git a/proto/aes_cmac.proto b/proto/aes_cmac.proto index 541ff58..d1de8e3 100644 --- a/proto/aes_cmac.proto +++ b/proto/aes_cmac.proto @@ -20,7 +20,7 @@ package google.crypto.tink; option java_package = "com.google.crypto.tink.proto"; option java_multiple_files = true; -option go_package = "github.com/google/tink/go/proto/aes_cmac_go_proto"; +option go_package = "github.com/tink-crypto/tink-go/v2/proto/aes_cmac_go_proto"; message AesCmacParams { uint32 tag_size = 1; diff --git a/proto/aes_cmac_prf.proto b/proto/aes_cmac_prf.proto index b2efc6d..cfc4cf1 100644 --- a/proto/aes_cmac_prf.proto +++ b/proto/aes_cmac_prf.proto @@ -20,7 +20,7 @@ package google.crypto.tink; option java_package = "com.google.crypto.tink.proto"; option java_multiple_files = true; -option go_package = "github.com/google/tink/go/proto/aes_cmac_prf_go_proto"; +option go_package = "github.com/tink-crypto/tink-go/v2/aes_cmac_prf_go_proto"; // key_type: type.googleapis.com/google.crypto.tink.AesCmacPrfKey message AesCmacPrfKey { diff --git a/proto/aes_ctr.proto b/proto/aes_ctr.proto index 721699c..23028c6 100644 --- a/proto/aes_ctr.proto +++ b/proto/aes_ctr.proto @@ -20,7 +20,7 @@ package google.crypto.tink; option java_package = "com.google.crypto.tink.proto"; option java_multiple_files = true; -option go_package = "github.com/google/tink/go/proto/aes_ctr_go_proto"; +option go_package = "github.com/tink-crypto/tink-go/v2/aes_ctr_go_proto"; message AesCtrParams { uint32 iv_size = 1; diff --git a/proto/aes_ctr_hmac_aead.proto b/proto/aes_ctr_hmac_aead.proto index 91ccb9b..a95a80d 100644 --- a/proto/aes_ctr_hmac_aead.proto +++ b/proto/aes_ctr_hmac_aead.proto @@ -23,7 +23,7 @@ import "proto/hmac.proto"; option java_package = "com.google.crypto.tink.proto"; option java_multiple_files = true; -option go_package = "github.com/google/tink/go/proto/aes_ctr_hmac_aead_go_proto"; +option go_package = "github.com/tink-crypto/tink-go/v2/aes_ctr_hmac_aead_go_proto"; message AesCtrHmacAeadKeyFormat { AesCtrKeyFormat aes_ctr_key_format = 1; diff --git a/proto/aes_ctr_hmac_streaming.proto b/proto/aes_ctr_hmac_streaming.proto index 776e9bd..2d5678b 100644 --- a/proto/aes_ctr_hmac_streaming.proto +++ b/proto/aes_ctr_hmac_streaming.proto @@ -23,7 +23,7 @@ import "proto/hmac.proto"; option java_package = "com.google.crypto.tink.proto"; option java_multiple_files = true; -option go_package = "github.com/google/tink/go/proto/aes_ctr_hmac_streaming_go_proto"; +option go_package = "github.com/tink-crypto/tink-go/v2/aes_ctr_hmac_streaming_go_proto"; message AesCtrHmacStreamingParams { uint32 ciphertext_segment_size = 1; diff --git a/proto/aes_eax.proto b/proto/aes_eax.proto index c1bf500..82ff7ee 100644 --- a/proto/aes_eax.proto +++ b/proto/aes_eax.proto @@ -20,7 +20,7 @@ package google.crypto.tink; option java_package = "com.google.crypto.tink.proto"; option java_multiple_files = true; -option go_package = "github.com/google/tink/go/proto/aes_eax_go_proto"; +option go_package = "github.com/tink-crypto/tink-go/v2/aes_eax_go_proto"; // only allowing tag size in bytes = 16 message AesEaxParams { diff --git a/proto/aes_gcm.proto b/proto/aes_gcm.proto index 2551aa4..459ec3d 100644 --- a/proto/aes_gcm.proto +++ b/proto/aes_gcm.proto @@ -20,7 +20,7 @@ package google.crypto.tink; option java_package = "com.google.crypto.tink.proto"; option java_multiple_files = true; -option go_package = "github.com/google/tink/go/proto/aes_gcm_go_proto"; +option go_package = "github.com/tink-crypto/tink-go/v2/aes_gcm_go_proto"; option objc_class_prefix = "TINKPB"; message AesGcmKeyFormat { diff --git a/proto/aes_gcm_hkdf_streaming.proto b/proto/aes_gcm_hkdf_streaming.proto index 5ec7ca4..2c445ae 100644 --- a/proto/aes_gcm_hkdf_streaming.proto +++ b/proto/aes_gcm_hkdf_streaming.proto @@ -24,7 +24,7 @@ import "proto/common.proto"; option java_package = "com.google.crypto.tink.proto"; option java_multiple_files = true; -option go_package = "github.com/google/tink/go/proto/aes_gcm_hkdf_streaming_go_proto"; +option go_package = "github.com/tink-crypto/tink-go/v2/aes_gcm_hkdf_streaming_go_proto"; message AesGcmHkdfStreamingParams { uint32 ciphertext_segment_size = 1; diff --git a/proto/aes_gcm_siv.proto b/proto/aes_gcm_siv.proto index 220d79f..8cfea19 100644 --- a/proto/aes_gcm_siv.proto +++ b/proto/aes_gcm_siv.proto @@ -20,7 +20,7 @@ package google.crypto.tink; option java_package = "com.google.crypto.tink.proto"; option java_multiple_files = true; -option go_package = "github.com/google/tink/go/proto/aes_gcm_siv_go_proto"; +option go_package = "github.com/tink-crypto/tink-go/v2/aes_gcm_siv_go_proto"; // The only allowed IV size is 12 bytes and tag size is 16 bytes. // Thus, accept no params. diff --git a/proto/aes_siv.proto b/proto/aes_siv.proto index ccb8d3c..0f605ea 100644 --- a/proto/aes_siv.proto +++ b/proto/aes_siv.proto @@ -20,7 +20,7 @@ package google.crypto.tink; option java_package = "com.google.crypto.tink.proto"; option java_multiple_files = true; -option go_package = "github.com/google/tink/go/proto/aes_siv_go_proto"; +option go_package = "github.com/tink-crypto/tink-go/v2/proto/aes_siv_go_proto"; // Tink implements RFC 5297 (https://www.rfc-editor.org/rfc/rfc5297) for // AES-SIV, putting the SIV/Tag at the beginning of the ciphertext. diff --git a/proto/chacha20_poly1305.proto b/proto/chacha20_poly1305.proto index ef8ab6e..86f8545 100644 --- a/proto/chacha20_poly1305.proto +++ b/proto/chacha20_poly1305.proto @@ -20,7 +20,7 @@ package google.crypto.tink; option java_package = "com.google.crypto.tink.proto"; option java_multiple_files = true; -option go_package = "github.com/google/tink/go/proto/chacha20_poly1305_go_proto"; +option go_package = "github.com/tink-crypto/tink-go/v2/proto/chacha20_poly1305_go_proto"; message ChaCha20Poly1305KeyFormat {} diff --git a/proto/common.proto b/proto/common.proto index 4546064..722b088 100644 --- a/proto/common.proto +++ b/proto/common.proto @@ -21,7 +21,7 @@ package google.crypto.tink; option java_package = "com.google.crypto.tink.proto"; option java_multiple_files = true; -option go_package = "github.com/google/tink/go/proto/common_go_proto"; +option go_package = "github.com/tink-crypto/tink-go/v2/proto/common_go_proto"; enum EllipticCurveType { UNKNOWN_CURVE = 0; diff --git a/proto/config.proto b/proto/config.proto index cff6506..8c9d742 100644 --- a/proto/config.proto +++ b/proto/config.proto @@ -21,7 +21,7 @@ package google.crypto.tink; option java_package = "com.google.crypto.tink.proto"; option java_multiple_files = true; -option go_package = "github.com/google/tink/go/proto/config_go_proto"; +option go_package = "github.com/tink-crypto/tink-go/v2/proto/config_go_proto"; // An entry that describes a key type to be used with Tink library, // specifying the corresponding primitive, key manager, and deprecation status. diff --git a/proto/ecdsa.proto b/proto/ecdsa.proto index 2ce461f..89dfebb 100644 --- a/proto/ecdsa.proto +++ b/proto/ecdsa.proto @@ -23,7 +23,7 @@ import "proto/common.proto"; option java_package = "com.google.crypto.tink.proto"; option java_multiple_files = true; -option go_package = "github.com/google/tink/go/proto/ecdsa_go_proto"; +option go_package = "github.com/tink-crypto/tink-go/v2/proto/ecdsa_go_proto"; enum EcdsaSignatureEncoding { UNKNOWN_ENCODING = 0; diff --git a/proto/ecies_aead_hkdf.proto b/proto/ecies_aead_hkdf.proto index 3de79f0..488b2f0 100644 --- a/proto/ecies_aead_hkdf.proto +++ b/proto/ecies_aead_hkdf.proto @@ -24,7 +24,7 @@ import "proto/tink.proto"; option java_package = "com.google.crypto.tink.proto"; option java_multiple_files = true; -option go_package = "github.com/google/tink/go/proto/ecies_aead_hkdf_go_proto"; +option go_package = "github.com/tink-crypto/tink-go/v2/proto/ecies_aead_hkdf_go_proto"; // Protos for keys for ECIES with HKDF and AEAD encryption. // diff --git a/proto/ed25519.proto b/proto/ed25519.proto index 613c59f..763db39 100644 --- a/proto/ed25519.proto +++ b/proto/ed25519.proto @@ -23,7 +23,7 @@ package google.crypto.tink; option java_package = "com.google.crypto.tink.proto"; option java_multiple_files = true; -option go_package = "github.com/google/tink/go/proto/ed25519_go_proto"; +option go_package = "github.com/tink-crypto/tink-go/v2/proto/ed25519_go_proto"; message Ed25519KeyFormat { uint32 version = 1; diff --git a/proto/empty.proto b/proto/empty.proto index beeba07..fb0c707 100644 --- a/proto/empty.proto +++ b/proto/empty.proto @@ -20,6 +20,6 @@ package google.crypto.tink; option java_package = "com.google.crypto.tink.proto"; option java_multiple_files = true; -option go_package = "github.com/google/tink/go/proto/empty_go_proto"; +option go_package = "github.com/tink-crypto/tink-go/v2/proto/empty_go_proto"; message Empty {} diff --git a/proto/hkdf_prf.proto b/proto/hkdf_prf.proto index 38e69c5..e2c4f4e 100644 --- a/proto/hkdf_prf.proto +++ b/proto/hkdf_prf.proto @@ -22,7 +22,7 @@ import "proto/common.proto"; option java_package = "com.google.crypto.tink.proto"; option java_multiple_files = true; -option go_package = "github.com/google/tink/go/proto/hkdf_prf_proto"; +option go_package = "github.com/tink-crypto/tink-go/v2/proto/hkdf_prf_proto"; message HkdfPrfParams { HashType hash = 1; diff --git a/proto/hmac.proto b/proto/hmac.proto index bdd4e8a..8f0f9e5 100644 --- a/proto/hmac.proto +++ b/proto/hmac.proto @@ -22,7 +22,7 @@ import "proto/common.proto"; option java_package = "com.google.crypto.tink.proto"; option java_multiple_files = true; -option go_package = "github.com/google/tink/go/proto/hmac_go_proto"; +option go_package = "github.com/tink-crypto/tink-go/v2/proto/hmac_go_proto"; message HmacParams { HashType hash = 1; // HashType is an enum. diff --git a/proto/hmac_prf.proto b/proto/hmac_prf.proto index 87ef97d..5338951 100644 --- a/proto/hmac_prf.proto +++ b/proto/hmac_prf.proto @@ -22,7 +22,7 @@ import "proto/common.proto"; option java_package = "com.google.crypto.tink.proto"; option java_multiple_files = true; -option go_package = "github.com/google/tink/go/proto/hmac_prf_go_proto"; +option go_package = "github.com/tink-crypto/tink-go/v2/proto/hmac_prf_go_proto"; message HmacPrfParams { HashType hash = 1; // HashType is an enum. diff --git a/proto/hpke.proto b/proto/hpke.proto index f794e77..9c428e3 100644 --- a/proto/hpke.proto +++ b/proto/hpke.proto @@ -20,7 +20,7 @@ package google.crypto.tink; option java_package = "com.google.crypto.tink.proto"; option java_multiple_files = true; -option go_package = "github.com/google/tink/go/proto/hpke_proto"; +option go_package = "github.com/tink-crypto/tink-go/v2/proto/hpke_proto"; enum HpkeKem { KEM_UNKNOWN = 0; diff --git a/proto/jwt_ecdsa.proto b/proto/jwt_ecdsa.proto index ce78b04..25b6980 100644 --- a/proto/jwt_ecdsa.proto +++ b/proto/jwt_ecdsa.proto @@ -20,7 +20,7 @@ package google.crypto.tink; option java_package = "com.google.crypto.tink.proto"; option java_multiple_files = true; -option go_package = "github.com/google/tink/go/proto/jwt_ecdsa_go_proto"; +option go_package = "github.com/tink-crypto/tink-go/v2/proto/jwt_ecdsa_go_proto"; // See https://datatracker.ietf.org/doc/html/rfc7518#section-3.4 enum JwtEcdsaAlgorithm { diff --git a/proto/jwt_hmac.proto b/proto/jwt_hmac.proto index a499638..0053002 100644 --- a/proto/jwt_hmac.proto +++ b/proto/jwt_hmac.proto @@ -20,7 +20,7 @@ package google.crypto.tink; option java_package = "com.google.crypto.tink.proto"; option java_multiple_files = true; -option go_package = "github.com/google/tink/go/proto/jwt_hmac_go_proto"; +option go_package = "github.com/tink-crypto/tink-go/v2/proto/jwt_hmac_go_proto"; // See https://datatracker.ietf.org/doc/html/rfc7518#section-3.2 enum JwtHmacAlgorithm { diff --git a/proto/jwt_rsa_ssa_pkcs1.proto b/proto/jwt_rsa_ssa_pkcs1.proto index 54a9731..4b1121c 100644 --- a/proto/jwt_rsa_ssa_pkcs1.proto +++ b/proto/jwt_rsa_ssa_pkcs1.proto @@ -20,7 +20,7 @@ package google.crypto.tink; option java_package = "com.google.crypto.tink.proto"; option java_multiple_files = true; -option go_package = "github.com/google/tink/go/proto/rsa_ssa_pkcs1_go_proto"; +option go_package = "github.com/tink-crypto/tink-go/v2/proto/rsa_ssa_pkcs1_go_proto"; // See https://datatracker.ietf.org/doc/html/rfc7518#section-3.3 enum JwtRsaSsaPkcs1Algorithm { diff --git a/proto/jwt_rsa_ssa_pss.proto b/proto/jwt_rsa_ssa_pss.proto index eb2d454..391395b 100644 --- a/proto/jwt_rsa_ssa_pss.proto +++ b/proto/jwt_rsa_ssa_pss.proto @@ -20,7 +20,7 @@ package google.crypto.tink; option java_package = "com.google.crypto.tink.proto"; option java_multiple_files = true; -option go_package = "github.com/google/tink/go/proto/jwt_rsa_ssa_pss_go_proto"; +option go_package = "github.com/tink-crypto/tink-go/v2/proto/jwt_rsa_ssa_pss_go_proto"; // See https://datatracker.ietf.org/doc/html/rfc7518#section-3.5 enum JwtRsaSsaPssAlgorithm { diff --git a/proto/kms_aead.proto b/proto/kms_aead.proto index 16de8ee..b41e19f 100644 --- a/proto/kms_aead.proto +++ b/proto/kms_aead.proto @@ -20,7 +20,7 @@ package google.crypto.tink; option java_package = "com.google.crypto.tink.proto"; option java_multiple_files = true; -option go_package = "github.com/google/tink/go/proto/kms_aead_go_proto"; +option go_package = "github.com/tink-crypto/tink-go/v2/proto/kms_aead_go_proto"; message KmsAeadKeyFormat { // Required. diff --git a/proto/kms_envelope.proto b/proto/kms_envelope.proto index 8b0fd83..6f45b4a 100644 --- a/proto/kms_envelope.proto +++ b/proto/kms_envelope.proto @@ -22,7 +22,7 @@ import "proto/tink.proto"; option java_package = "com.google.crypto.tink.proto"; option java_multiple_files = true; -option go_package = "github.com/google/tink/go/proto/kms_envelope_go_proto"; +option go_package = "github.com/tink-crypto/tink-go/v2/proto/kms_envelope_go_proto"; message KmsEnvelopeAeadKeyFormat { // Required. diff --git a/proto/prf_based_deriver.proto b/proto/prf_based_deriver.proto index e58a2cd..3e842d4 100644 --- a/proto/prf_based_deriver.proto +++ b/proto/prf_based_deriver.proto @@ -22,7 +22,7 @@ import "proto/tink.proto"; option java_package = "com.google.crypto.tink.proto"; option java_multiple_files = true; -option go_package = "github.com/google/tink/go/proto/prf_based_deriver_go_proto"; +option go_package = "github.com/tink-crypto/tink-go/v2/proto/prf_based_deriver_go_proto"; message PrfBasedDeriverParams { KeyTemplate derived_key_template = 1; diff --git a/proto/rsa_ssa_pkcs1.proto b/proto/rsa_ssa_pkcs1.proto index 9797ee0..741107e 100644 --- a/proto/rsa_ssa_pkcs1.proto +++ b/proto/rsa_ssa_pkcs1.proto @@ -24,7 +24,7 @@ import "proto/common.proto"; option java_package = "com.google.crypto.tink.proto"; option java_multiple_files = true; -option go_package = "github.com/google/tink/go/proto/rsa_ssa_pkcs1_go_proto"; +option go_package = "github.com/tink-crypto/tink-go/v2/proto/rsa_ssa_pkcs1_go_proto"; message RsaSsaPkcs1Params { // Hash function used in computing hash of the signing message diff --git a/proto/rsa_ssa_pss.proto b/proto/rsa_ssa_pss.proto index 1150057..bf560b3 100644 --- a/proto/rsa_ssa_pss.proto +++ b/proto/rsa_ssa_pss.proto @@ -25,7 +25,7 @@ import "proto/common.proto"; option java_package = "com.google.crypto.tink.proto"; option java_multiple_files = true; -option go_package = "github.com/google/tink/go/proto/rsa_ssa_pss_go_proto"; +option go_package = "github.com/tink-crypto/tink-go/v2/proto/rsa_ssa_pss_go_proto"; message RsaSsaPssParams { // Hash function used in computing hash of the signing message diff --git a/proto/tink.proto b/proto/tink.proto index ae7bde5..619682b 100644 --- a/proto/tink.proto +++ b/proto/tink.proto @@ -21,7 +21,7 @@ package google.crypto.tink; option java_package = "com.google.crypto.tink.proto"; option java_multiple_files = true; -option go_package = "github.com/google/tink/go/proto/tink_go_proto"; +option go_package = "github.com/tink-crypto/tink-go/v2/proto/tink_go_proto"; option objc_class_prefix = "TINKPB"; // Each instantiation of a Tink primitive is identified by type_url, diff --git a/proto/xchacha20_poly1305.proto b/proto/xchacha20_poly1305.proto index a2613f1..530e573 100644 --- a/proto/xchacha20_poly1305.proto +++ b/proto/xchacha20_poly1305.proto @@ -20,7 +20,7 @@ package google.crypto.tink; option java_package = "com.google.crypto.tink.proto"; option java_multiple_files = true; -option go_package = "github.com/google/tink/go/proto/xchacha20_poly1305_go_proto"; +option go_package = "github.com/tink-crypto/tink-go/v2/proto/xchacha20_poly1305_go_proto"; message XChaCha20Poly1305KeyFormat { uint32 version = 1;