Readit News logoReadit News
rdpintqogeogsaa commented on Rethinking the C Time API   oliverkwebb.github.io/art... · Posted by u/oliverkwebb
pjmlp · a year ago
Except it is easier to introduce a new programming language than having a committee driven language to adopt a new standard library.

Neither ISO nor OpenGroup would care about it.

Remember that since 1989, no actions were taken to improve its security.

Even the few functions that have been added still use pointer/length pairs without any means to validate they are the correct pair.

rdpintqogeogsaa · a year ago
> Remember that since 1989, no actions were taken to improve its security.

Technically, gets() was removed from the standard library in C11[0]. However, that is far from a semantically meaningful overhaul of the standard library. I nonetheless felt the need to point out that there was a very specific effort for the sake of completeness.

[0] https://en.cppreference.com/w/c/io/gets

rdpintqogeogsaa commented on Engineers do not get to make startup mistakes when they build ledgers   news.alvaroduran.com/p/en... · Posted by u/fagnerbrack
imglorp · a year ago
Harder than you'd think, given a couple of requirements, but there are off the shelf products like AWS's QLDB (and self hosted alternatives). They: Merkle hash every entry with its predecessors; normalize entries so they can be consistently hashed and searched; store everything in an append-only log; then keep a searchable index on the log. So you can do bit-accurate audits going back to the first ledger entry if you want. No crypto, just common sense.

Oddly enough, I worked at a well known fintech where I advocated for this product. We were already all-in on AWS so another service was no biggie. The entrenched opinion was "just keep using Postgres" and that audits and immutability were not requirements. In fact, editing ledger entries (!?!?!?) to fix mistakes was desirable.

rdpintqogeogsaa · a year ago
Footnote to QLDB: AWS has deprecated QLDB[1]. They actually recommend using Postgres with pgAudit and a bunch of complexity around it[2]. I'm not sure how I feel about such a misunderstanding of one's own offerings of this level.

[1] https://docs.aws.amazon.com/qldb/latest/developerguide/what-...

[2] https://aws.amazon.com/blogs/database/replace-amazon-qldb-wi...

rdpintqogeogsaa commented on The XAES-256-GCM extended-nonce AEAD   words.filippo.io/dispatch... · Posted by u/FiloSottile
tptacek · 2 years ago
What's another language with a stdlib that includes CMAC?

u/rdpintqogeogsaa

KarmaCake day5546January 10, 2021View Original