frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Ask HN: Two specific Postgres encrypt questions

1•scrubs•1h ago
HN,

(A) What are the recommended ways to encode Postrgres data at rest (tables+indexes+rows)? The Postgres documentation suggests options [0], but I have no familiarity with any. I prefer to not purchase something.

(B) When configuring Postgres with TLS/SSL, one needs to make private keys [1] which can lead to a prompt for a PEM pass phrase. Once all done with Postgres running, do I need to retain the PEM passkey? (The private key itself needs to be retained, of course).

[0] https://www.postgresql.org/docs/18/encryption-options.html

[1] openssl genrsa -aes256 -out <file> Enter PEM pass phrase: ...

Comments

stop50•1h ago
You are missunderstanding the transport encryption(everything related to authentication and pg_hba.conf) and the encrytion of the data at rest.

You want the encryption at rest. For that you have 3 Options:

1. Encryption in the application.

2. Use of pgcrypto as documented.

3. Encryption of the partition where postgres stores the data via LUKS or similar.

For 1. and 2. it means that indices for encrypted columns become useless and are only a waste of cpu time.

2. has the problem of transitting the key at the start of the connection, so it needs to be encrypted(tls encryption).

Its a bit of an fault with the documentation since it mixes the two types of encryption up.

Yann LeCun „World Models: Enabling the Next AI Revolution" [video]

https://www.youtube.com/watch?v=72Xj8k5WQX4
1•dgellow•1m ago•0 comments

Optimizing [sqlx:test] rebuild time

https://kobzol.github.io/rust/2026/06/21/optimizing-sqlx-test-rebuild-time.html
1•ibobev•2m ago•0 comments

Networking tool to host WireGuard servers with only outbound connections

https://github.com/klauscam/BastionRoute
1•tuta88•2m ago•0 comments

Anthropic's Mythos mess just keeps getting more complicated

https://www.theregister.com/ai-and-ml/2026/06/22/anthropics-mythos-mess-just-keeps-getting-more-c...
1•rbanffy•3m ago•0 comments

Agile and Coding: An Agent- and Human-Friendly Architecture

https://davidvujic.blogspot.com/2026/06/an-agent-and-human-friendly-architecture.html
1•BerislavLopac•3m ago•0 comments

PivCo-Huffman "Merge" Operations

https://fgiesen.wordpress.com/2026/06/21/pivco-huffman-merge-operations/
1•ibobev•3m ago•0 comments

Show HN: Cyclearchive.com – searchable archive of historical cycling literature

https://cyclearchive.com/
1•alastairr•3m ago•0 comments

Interlude: Using the Index Registers Effectively on the Z80

https://bumbershootsoft.wordpress.com/2026/06/20/interlude-using-the-index-registers-effectively-...
1•ibobev•3m ago•0 comments

Keir Starmer announces his resignation as prime minister

https://www.bbc.co.uk/news/live/ckger03mrl0t
3•jjgreen•5m ago•0 comments

Metasurface in Solar Telescope Captures Polarized Light

https://spectrum.ieee.org/optical-metasurface-solar-telescope
1•rbanffy•5m ago•0 comments

Disposable software: software is now just paper plates

https://auren.substack.com/p/disposable-software-software-is-now
1•sandgiant•9m ago•0 comments

A C++ AirPlay 2 sender: the encrypted RAOP/RTSP recipe, written down

https://github.com/akustikrausch/airplay2-sender-cpp
1•akustikrausch•15m ago•0 comments

Use AI for reviewing code especially when the diff is huge

https://simianwords.bearblog.dev/you-should-use-ai-for-reviewing-code-especially-when-the-diff-is...
2•simianwords•17m ago•0 comments

Show HN: Gingerpaw : A voice dictation and agent workspace app

https://github.com/Vikrant-Khedkar/gingerpaw
2•vikrant-gg•19m ago•0 comments

Show HN: Graphical SQL Builder and Debugger

https://github.com/webofmarius/SQLJoiner
1•matei88•23m ago•0 comments

The Most Effective Screen Time Passcode Is One You Can't Remember

https://mindfultech.bearblog.dev/the-most-effective-screen-time-passcode-is-one-you-cant-remember/
1•rainydesert•32m ago•0 comments

Engineering Got Faster. Now the Hard Part Is Deciding What to Build

https://ferrix.ai/blog/engineering-got-faster-hard-part-is-deciding-what-to-build
1•B_Nemade•35m ago•0 comments

Multi-Turn Reflective Masking Elicits Reasoning in Mask Diffusion Models

https://zhangyanming-cs.github.io/Multi-Turn_RM/
1•ilreb•36m ago•0 comments

ZenStack, tRPC and Kit

https://attic.olup.me/projects/zenstack-trpc-kit
1•carlual•38m ago•0 comments

Donate your Claude Code traces to an open CC-BY-4.0 dataset

https://trace-commons-web.hf.space/
1•_josh_meyer_•41m ago•1 comments

Cool Magnetic Field Viewer [video]

https://www.youtube.com/watch?v=1OgwAEWtupw
1•thunderbong•44m ago•0 comments

Fun with Docker, broken networking, remote filesystems, and race conditions

https://www.maroonmed.com/fun-with-docker-broken-networking-remote-filesystem-mounts-and-race-con...
1•erdoc69•44m ago•0 comments

Camel: Efficient Compression of Floating-Point Time Series

https://dl.acm.org/doi/10.1145/3698802
2•tosh•48m ago•0 comments

An Inconvenient Truth About AI

https://rutgerbregman.substack.com/p/an-inconvenient-truth-about-ai
1•nemoniac•48m ago•0 comments

Fire and Ice Copper Lists

http://uridiumauthor.blogspot.com/2026/06/fire-and-ice-copper-lists.html
2•ingve•51m ago•0 comments

Headroom – The context compression layer for AI agents

https://github.com/headroomlabs-ai/headroom
1•sibellavia•52m ago•0 comments

Compressing floating point data with Gorilla

https://quanttype.net/p/compressing-with-gorilla/
1•tosh•52m ago•0 comments

Best of AI

https://bestofai.io/leaderboard/
3•thenewedrock•53m ago•0 comments

Ask HN: What rules does your team have for using AI in a durable codebase?

1•ctenb•56m ago•1 comments

LinkedIn engagement/signals to sales qualified leads

https://folkscope.com
1•teemupp•56m ago•0 comments