-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix null nonce bug, fix bug where role has more than one table labele…
…d, install script for 3.0.2.
- Loading branch information
Showing
7 changed files
with
64 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
"name": "pgsodium", | ||
"abstract": "Postgres extension for libsodium functions", | ||
"description": "pgsodium is a PostgreSQL extension that exposes modern libsodium based cryptographic functions to SQL.", | ||
"version": "3.0.0", | ||
"version": "3.0.2", | ||
"maintainer": [ | ||
"Michel Pelletier <[email protected]>" | ||
], | ||
|
@@ -13,7 +13,7 @@ | |
"abstract": "Postgres extension for libsodium functions", | ||
"file": "src/pgsodium.h", | ||
"docfile": "README.md", | ||
"version": "3.0.0" | ||
"version": "3.0.2" | ||
} | ||
}, | ||
"prereqs": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# pgsodium extension | ||
comment = 'Postgres extension for libsodium functions' | ||
default_version = '3.0.0' | ||
default_version = '3.0.2' | ||
relocatable = false | ||
requires = '"uuid-ossp"' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -285,7 +285,7 @@ CREATE FUNCTION @[email protected]_mask(role regrole, source_name text) | |
FROM pg_shseclabel | ||
WHERE objoid = role | ||
AND provider = 'pgsodium' | ||
AND label SIMILAR TO 'ACCESS +' || source_name) | ||
AND label ilike 'ACCESS%' || source_name || '%') | ||
); | ||
|
||
-- Display all columns of the relation with the masking function (if any) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
|
||
ALTER FUNCTION @[email protected]_aead_det_encrypt(message bytea, additional bytea, key_uuid uuid, nonce bytea) CALLED ON NULL INPUT; | ||
ALTER FUNCTION @[email protected]_aead_det_decrypt(message bytea, additional bytea, key_uuid uuid, nonce bytea) CALLED ON NULL INPUT; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters