Re: storing an explicit nonce

Sasasu <i@sasa.su>

From: Sasasu <i@sasa.su>
To: pgsql-hackers@lists.postgresql.org
Date: 2021-09-06T02:04:33Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Rethink method for assigning OIDs to the template0 and postgres DBs.

  2. pg_upgrade: Preserve database OIDs.

  3. pg_upgrade: Preserve relfilenodes and tablespace OIDs.

  4. Fix for new Boolean node

  5. Improve error handling of HMAC computations

  6. Add macro RelationIsPermanent() to report relation permanence

  7. Enhance nbtree index tuple deletion.

Attachments


在 2021/9/5 下午10:51, Sasasu 写道:
> 
> For AES-GCM, a predictable IV is fine. I think we can decrypt and 
> re-encrypt the user data in pg_upgrade. this will allows us to use 
> relfile oid + block number as nonce.

relfile oid + block number + some counter for heap table IV. I mean.