You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
+ additional := convert_to(s.id || s.description || (s.created_at at time zone 'utc') || (s.updated_at at time zone 'utc'), 'utf8'),
1006
+
+ additional := convert_to(s.id::text, 'utf8'),
1007
1007
+ key_id := 0,
1008
1008
+ context := 'pgsodium'::bytea,
1009
1009
+ nonce := s.nonce
@@ -1024,7 +1024,7 @@ index 0000000..f120f5f
1024
1024
+ convert_from(
1025
1025
+ vault._crypto_aead_det_decrypt(
1026
1026
+ message := decode(s.secret, 'base64'::text),
1027
-
+ additional := convert_to(s.id || s.description || s.created_at at time zone 'utc' || s.updated_at at time zone 'utc', 'utf8'),
1027
+
+ additional := convert_to(s.id::text, 'utf8'),
1028
1028
+ key_id := 0,
1029
1029
+ context := 'pgsodium'::bytea,
1030
1030
+ nonce := s.nonce
@@ -1063,7 +1063,7 @@ index 0000000..f120f5f
1063
1063
+ UPDATE vault.secrets s
1064
1064
+ SET secret = encode(vault._crypto_aead_det_encrypt(
1065
1065
+ message := convert_to(rec.secret, 'utf8'),
1066
-
+ additional := convert_to(s.id || s.description || s.created_at at time zone 'utc' || s.updated_at at time zone 'utc', 'utf8'),
1066
+
+ additional := convert_to(s.id::text, 'utf8'),
1067
1067
+ key_id := 0,
1068
1068
+ context := 'pgsodium'::bytea,
1069
1069
+ nonce := rec.nonce
@@ -1093,7 +1093,7 @@ index 0000000..f120f5f
1093
1093
+ secret = CASE WHEN new_secret IS NULL THEN s.secret
1094
1094
+ ELSE encode(vault._crypto_aead_det_encrypt(
1095
1095
+ message := convert_to(new_secret, 'utf8'),
1096
-
+ additional := convert_to(s.id || coalesce(new_description, s.description) || (s.created_at at time zone 'utc') || (now() at time zone 'utc'), 'utf8'),
1096
+
+ additional := convert_to(s.id::text, 'utf8'),
1097
1097
+ key_id := 0,
1098
1098
+ context := 'pgsodium'::bytea,
1099
1099
+ nonce := s.nonce
@@ -1118,7 +1118,7 @@ index ee40004..8973fe0 100644
+ additional := convert_to(s.id || s.description || s.created_at at time zone 'utc' || s.updated_at at time zone 'utc', 'utf8'),
1164
+
+ additional := convert_to(s.id::text, 'utf8'),
1165
1165
+ key_id := 0,
1166
1166
+ context := 'pgsodium'::bytea,
1167
1167
+ nonce := s.nonce
@@ -1202,7 +1202,7 @@ index 0000000..125168f
1202
1202
+ UPDATE vault.secrets s
1203
1203
+ SET secret = encode(vault._crypto_aead_det_encrypt(
1204
1204
+ message := convert_to(rec.secret, 'utf8'),
1205
-
+ additional := convert_to(s.id || s.description || s.created_at at time zone 'utc' || s.updated_at at time zone 'utc', 'utf8'),
1205
+
+ additional := convert_to(s.id::text, 'utf8'),
1206
1206
+ key_id := 0,
1207
1207
+ context := 'pgsodium'::bytea,
1208
1208
+ nonce := rec.nonce
@@ -1232,7 +1232,7 @@ index 0000000..125168f
1232
1232
+ secret = CASE WHEN new_secret IS NULL THEN s.secret
1233
1233
+ ELSE encode(vault._crypto_aead_det_encrypt(
1234
1234
+ message := convert_to(new_secret, 'utf8'),
1235
-
+ additional := convert_to(s.id || coalesce(new_description, s.description) || (s.created_at at time zone 'utc') || (now() at time zone 'utc'), 'utf8'),
0 commit comments