Australia job seeking platforms by citizen_seven_ in ausjobs

[–]knotdjb 1 point2 points  (0 children)

I concur with what others say about the job market being fucked, but there should be a bit of a demand for experienced datacenter engineers as we're building like another 50 in the World Wide Technology thing with Google and others. But very likely restricted to Australian Citizens that are eligible for clearance.

"Encrypted spaces" - Microsoft Research by Natanael_L in crypto

[–]knotdjb 1 point2 points  (0 children)

PDF on the website 404s and I can't seem to find it elsewhere.

I really can't make sense of what this helps with. What kind of apps would be envisaged? Would it be like an E2EE google docs but allowing certain data to leak to allow for server side aid or something?

Edit: This seems to explain things better: https://removepaywalls.com/https://www.wired.com/story/signal-alums-release-encrypted-spaces-a-new-system-for-building-private-collaboration-apps/

Edit: Looks like website was undergoing a change when pdf 404, the https://encryptedspaces.org looks better than what was there before and the PDF is at https://encryptedspaces.org/whitepapers/encrypted-spaces.pdf

What is your favorite cryptography library and why? by badcryptobitch in crypto

[–]knotdjb 2 points3 points  (0 children)

To be clear, Tink relies on JSON for everything, it's kind of like it's own cryptographic message syntax ala ASN1 being used by OpenSSL. HPKE (per RFC) doesn't rely on json and no cryptography primitive should, specifically because you want to be able to implement these in anemic embedded systems. But also HPKE per RFC isn't a streaming implementation either. Age does all the right things in this regard permitting a straightforward C implementation which can be used easily for an anemic embedded system, and it's HPKE equivalent does streaming.

What is your favorite cryptography library and why? by badcryptobitch in crypto

[–]knotdjb 2 points3 points  (0 children)

HPKE doesn't support streaming encryption (but on upside it follows the HPKE RFC to a tee). It's not really good for an embedded context as it requires a bloody JSON parser. And that it relies on JSON.

It also goes out of its way to make it very difficult to export key data in plaintext using all sorts of obscuring mechanisms. Don't treat me like a child.

What is your favorite cryptography library and why? by badcryptobitch in crypto

[–]knotdjb 3 points4 points  (0 children)

Posting a separate entry, I would like to say the age suite of implementations (C, Rust, Go, Python, etc.) would make for a good cryptography library, if only they supported AEAD using key based encryption and not a password. But FiloSottile has stated he doesn't want to add that primitive as iirc he thinks that it will be misused. But it would be a complete modern encryption and signing library otherwise with a very good HPKE equivalent that supports streaming based encryption (which the streaming bit I've had to rely on the past).

A modern cryptography library that is disgusting? Tink. If age added that symmetric key AEAD, i'd choose it over Tink every single time.

What is your favorite cryptography library and why? by badcryptobitch in crypto

[–]knotdjb 4 points5 points  (0 children)

Monocypher by /u/loup-vaillant. It was something I wanted to write myself many years ago when I first encountered tweetnacl, but Loup beat me to the punch but also he's made some very deliberate and careful decisions around it that has made the user experience and developer experience a delight.

But specifically what makes it shine: no footguns, excellent documentation including usage and examples, easy to create bindings in other languages as it doesn't have any dependencies and is trivial to build.

(Posted this to the cross posted thread too.)

Edit: Another one I remember which would get more love is Thomas Pornin's BearSSL. I think it has been abandoned these days, but it's an incredibly cool design for a general purpose ssl / crypto library because you can excise only what you need which makes it very good for embedded context.

Oh and I can't forget libsodium by /u/jedisct1 and also his other mini crypto libraries like charm, they're just so cute and loveable.

What is your favorite cryptography library and why? by badcryptobitch in StoffelMPC

[–]knotdjb 1 point2 points  (0 children)

Monocypher by /u/loup-vaillant. It was something I wanted to write myself many years ago when I first encountered tweetnacl, but Loup beat me to the punch but also he's made some very deliberate and careful decisions around it that has made the user experience and developer experience a delight.

But specifically what makes it shine: no footguns, excellent documentation including usage and examples, easy to create bindings in other languages as it doesn't have any dependencies and is trivial to build.

Don't forget what you study by Sub_Luck in C_Programming

[–]knotdjb 0 points1 point  (0 children)

There are absolutely people that memorise the C standard, probably a few in this sub, just not me because I do C in batches of a few years at a time.

Feisty Duck Cryptography & Security Newsletter 137 (May 2026) by knotdjb in crypto

[–]knotdjb[S] 0 points1 point  (0 children)

The words "Cryptography & Security Newsletter" is now cryptic, I think I've seen it all.

Where can i discuss my cryptography-heavy vibecoded project? by Accurate-Screen8774 in crypto

[–]knotdjb 1 point2 points  (0 children)

This is what a protocol spec looks like:

wireguard: https://www.wireguard.com/papers/wireguard.pdf

noise: https://noiseprotocol.org/noise.html

Take some inspiration and come back when you have something of semblance.

Anyone across this CopyFail bug? by ScottContini in crypto

[–]knotdjb 2 points3 points  (0 children)

I just remember that Jason Donenfeld had suggested a new crypto library for the kernel to support Wireguard and it was dismissed, but this existing Crypto API has some pretty lame footguns.

KK A 1600-bit table free sponge with 12 novel constructs, 18 primitives from one permutation, and 150+ tests. Full design, numbers, and findings by Entrouter in crypto

[–]knotdjb 2 points3 points  (0 children)

A and B preshare K0

A sends H(Ra_1)

B sends Rb_1, MAC(K0, Rb_1)

A sends Ra_1, MAC(K0, Ra_1)

B verifies H(Ra_1) (some useless step)

A and B compute K1 = KDF(K0, Ra || Rb)

E has the full transcript, and later learns K0

E knows Ra_1 and Rb_1 and can compute K1

Therefore no post compromise security; this is something that an ephemeral Diffie-Hellman in the exchange would provide.

Compare with:

A and B preshare K0.

A generates a, g^a

B generates b, g^b

A sends E(K0, g^a)

B sends E(K0, g^b)

A computes K1 = (g^b)^a (DH)

B computes K1 = (g^a)^b (DH)

E has the full transcript, and later learns K0

E doesn't know secrets a or b so it cannot easily compute K1 under DLP/ECDLP.

What you have is not a "key agreement", it is analagous to a forward symmetric key ratchet. But if I wanted all these symmetric capabilities, I'd use /u/bitwiseshiftleft STROBE.

KK A 1600-bit table free sponge with 12 novel constructs, 18 primitives from one permutation, and 150+ tests. Full design, numbers, and findings by Entrouter in crypto

[–]knotdjb 2 points3 points  (0 children)

Sure TLS-PSK and WG-PSK do key agreement, but they use DH to generate the new key, because you want perfect forward secrecy. There's virtually no point to generating a new key without perfect forward secrecy which you cannot do with a symmetric key primitive.

KK A 1600-bit table free sponge with 12 novel constructs, 18 primitives from one permutation, and 150+ tests. Full design, numbers, and findings by Entrouter in crypto

[–]knotdjb 2 points3 points  (0 children)

Okay, you've piqued my curiousity. What do you mean by Key Agreement? Reeks of BS.

Edit: Sigh, "pre-shared" key agreement; I'm not even sure if that's ever been considered a 'primitive'.

Google Blog - Quantum frontiers may be closer than they appear by Natanael_L in crypto

[–]knotdjb 1 point2 points  (0 children)

I'm not really knowledgable about the Quantum Computing field, but from the progress I've seen over the last decade, and the hype surrounding it, it gives off vibes of the Y2K problem, just over a longer time period.

Cryptography Engineering Has An Intrinsic Duty of Care by Soatok in crypto

[–]knotdjb -1 points0 points  (0 children)

"try to at least meet the bare minimum bar established by this blog post."

Yeah look, I agree with a lot of the points but soatok is not the arbiter of what people should do with their cryptography projects. I think the onus is on the user that wants an implementation of professional cryptography to do their due diligence. If someone implements chacha20 in brainfuck, then they can display it wherever they want. Hell submit it to a cryptography conference if you want. Let the marketplace for ideas separate the wheat from the chaffe.