Comments (3)
Yep, I've pushed some changes to the same that allow for NULL associated with det and ietf and keeping support for NULL nonce with det. It's working well, so I'm going to apply the same pattern across the library.
from pgsodium.
Hi,
Throwing error from functions seems better:
- returning NULL without explanation might be tricky for new users to understand
- it allows a mix of
NULL
-able args andNOT NULL
ones.
from pgsodium.
I'm not qualified enough with encryption to review your patch, but it seems nonce and additional data are optional with aead_det_*
, am I right? See: https://github.com/jedisct1/libsodium-xchacha20-siv#usage
With ietf variant, it seems only additional data can be left NULL, right? https://doc.libsodium.org/secret-key_cryptography/aead/chacha20-poly1305/ietf_chacha20-poly1305_construction#combined-mode
Does it worth sticking with this from the pgsodium point of view?
from pgsodium.
Related Issues (20)
- Which version supports on debian 10
- Homomorphic encryption
- Does this not support custom domains? HOT 1
- Transparent Column Encryption with Empty string HOT 2
- TCE : Update with using Old Value HOT 1
- installation rpm pgsodium HOT 1
- Add error message when the security label isn't syntactically correct
- Error creating security label using Postgres 14/15 and pgsodium 3.1.5 HOT 2
- setting security label in two different tables fails HOT 5
- Incoherency between fields `pgsodium.key.status` and `pgsodium.key.expires`
- Grant `REFERENCES` on `pgsodium.key` to pgsodium_keyiduser?
- Updated value in secret column does not get encrypted HOT 5
- Running into `fatal error: 'sodium.h' file not found` error during installation HOT 4
- Failing pgtap Tests
- How to manage pgsodium_root.key in primary-secondary cluster
- jsonb type support HOT 1
- Help section needed - Backup/Restore of database
- ERROR: pgsodium_derive_helper: pgsodium_derive: no server secret key defined HOT 1
- How to set security_invoker automatically? HOT 4
- Doesn't work well with on conflict Json
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pgsodium.