frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

RFC 9804: Simple Public Key Infrastructure (SPKI) S-Expressions

https://datatracker.ietf.org/doc/rfc9804/
2•eadmund•6h ago

Comments

eadmund•6h ago
After 29 years, Rivest’s S-expression draft is an RFC.

They are a straightforward, easy-to-parse S-expression format whose canonical representation is useful for cryptography. They are suitable as a general replacement for JSON, XML, HTML, ASN.1 and more.

eadmund•6h ago
This JSON (taken from https://www.w3schools.com/js/js_json_intro.asp):

    {"name":"John", "age":30, "car":null}
could be this S-expression:

    ((name John)
     (age 30)
     (car ()))
The canonical representation (suitable for cryptographic hashing) would be ((4:name4:John)(3:age2:30)(3:car())).
eadmund•6h ago
This XML (from https://www.w3schools.com/xml/note.xml):

    <note>
      <to>Tove</to>
      <from>Jani</from>
      <heading>Reminder</heading>
      <body>Don't forget me this weekend!</body>
    </note>
could be this S-expression:

    (note
     (to Tove)
     (from Jani)
     (heading Reminder)
     (body "Don't forget me this weekend"))
But if every note must have a body, this might make even more sense:

    (note
     (to Tove)
     (from Jani)
     (heading Reminder)
     "Don't forget me this weekend")
eadmund•6h ago
The DER-encoded ASN.1 byte sequence Base64-encoded to MBMCAQUWDkFueWJvZHkgdGhlcmU/ could be represented as:

    ((tracking-number 5)
     (question "Anybody there?"))
While we are all familiar with opaque X.509 certificates such as (from https://www.fm4dd.com/openssl/source/PEM/certs/512b-rsa-exam...):

    -----BEGIN CERTIFICATE-----
    MIICEjCCAXsCAg36MA0GCSqGSIb3DQEBBQUAMIGbMQswCQYDVQQGEwJKUDEOMAwG
    A1UECBMFVG9reW8xEDAOBgNVBAcTB0NodW8ta3UxETAPBgNVBAoTCEZyYW5rNERE
    MRgwFgYDVQQLEw9XZWJDZXJ0IFN1cHBvcnQxGDAWBgNVBAMTD0ZyYW5rNEREIFdl
    YiBDQTEjMCEGCSqGSIb3DQEJARYUc3VwcG9ydEBmcmFuazRkZC5jb20wHhcNMTIw
    ODIyMDUyNjU0WhcNMTcwODIxMDUyNjU0WjBKMQswCQYDVQQGEwJKUDEOMAwGA1UE
    CAwFVG9reW8xETAPBgNVBAoMCEZyYW5rNEREMRgwFgYDVQQDDA93d3cuZXhhbXBs
    ZS5jb20wXDANBgkqhkiG9w0BAQEFAANLADBIAkEAm/xmkHmEQrurE/0re/jeFRLl
    8ZPjBop7uLHhnia7lQG/5zDtZIUC3RVpqDSwBuw/NTweGyuP+o8AG98HxqxTBwID
    AQABMA0GCSqGSIb3DQEBBQUAA4GBABS2TLuBeTPmcaTaUW/LCB2NYOy8GMdzR1mx
    8iBIu2H6/E2tiY3RIevV2OW61qY2/XRQg7YPxx3ffeUugX9F4J/iPnnu1zAxxyBy
    2VguKv4SWjRFoRkIfIlHX0qVviMhSlNy2ioFLy7JcPZb+v3ftDGywUqcBiVDoea0
    Hn+GmxZA
    -----END CERTIFICATE-----
an SPKI certificate might be:

    (sequence
        (public-key
         (rsa-pkcs1-md5
          (e #11#)
          (n
           |ALNdAXftavTBG2zHV7BEV59gntNlxtJYqfWIi2kTcFIgIPSjKlHleyi9s
           5dDcQbVNMzjRjF+z8TrICEn9Msy0vXB00WYRtw/7aH2WAZx+x8erOWR+yn
           1CTRLS/68IWB6Wc1x8hiPycMbiICAbSYjHC/ghq2mwCZO7VQXJENzYr45|)))
        (do hash md5)
        (cert
         (issuer (hash md5 |+gbUgUltGysNgewRwu/3hQ==|))
         (subject
          (keyholder (hash md5 |+gbUgUltGysNgewRwu/3hQ==|)))
         (tag
          (* set
           (name "Carl M. Ellison")
           (street "207 Grindall St.")
           (city "Baltimore MD")
           (zip "21230-4103")))
         (not-after "1998-04-15_00:00:00"))
        (signature
         (hash md5 |54LeOBILOUpskE5xRTSmmA==|)
         (hash md5 |+gbUgUltGysNgewRwu/3hQ==|)
         |HU6ptoaEd7v4rTKBiRrpJBqDKWX9fBfLY/MeHyJRryS8iA34+nixf+8Yh/
         buBin9xgcu1lIZ3Gu9UPLnu5bSbiJGDXwKlOuhTRG+lolZWHaAd5YnqmV9h
         Khws7UM4KoenAhfouKshc8Wgb3RmMepi6t80Arcc6vIuAF4PCP+zxc=|)))
Note that this is not a translation of the X.509 certificate above, though — I pulled it from <https://datatracker.ietf.org/doc/html/draft-ietf-spki-cert-e...>. Note that this is a very 90s example: MD5 and a bespoke data format instead of SHA-2 and ISO 8601.

I think it’s clear that an SPKI certificate is much, much more readable.

Improved load balancing with machine learning

https://lwn.net/SubscriberLink/1027096/7fecce40a407a9c3/
1•dpifke•1m ago•0 comments

DevSummit Boston: Key Lessons from Shipping AI Products Beyond the Hype – InfoQ

https://www.infoq.com/news/2025/07/devsummit-shipping-beyod-hype/
1•rbanffy•3m ago•0 comments

Under China's Threat, Taiwan Needs Its Own Power Sources More Than Ever

https://www.nytimes.com/2025/06/19/business/taiwan-chips-energy-china.html
2•bookofjoe•4m ago•1 comments

Stalking the Statistically Improbable Restaurant with Data

https://ethanzuckerman.com/2025/07/03/stalking-the-statistically-improbable-restaurant-with-data/
3•nkurz•6m ago•0 comments

Even before the Xbox layoffs, there was 'tension' at Halo Studios

https://www.engadget.com/gaming/xbox/even-before-the-xbox-layoffs-there-was-tension-at-halo-studios-002031995.html
1•mooreds•8m ago•0 comments

Are we only conscious while we're learning?

https://1393.xyz/blog/are-we-only-conscious-while-were-learning
1•rdgthree•8m ago•0 comments

Porting Software as a Learning Hack – "Writing an Interpreter in Go" in Rust

https://maxmynter.substack.com/p/small-steps-and-big-leaps-for-self
1•maxmynter95•9m ago•1 comments

SAP CEO Says Europe Needs More Applied AI, Not Another Stargate

https://www.bloomberg.com/news/articles/2025-07-03/sap-ceo-says-europe-needs-more-applied-ai-not-another-stargate
3•toomuchtodo•10m ago•1 comments

Esports Suite Launches on UK Aircraft Carrier

https://www.techpowerup.com/338574/landmark-esports-suite-launches-on-uk-aircraft-carrier-as-royal-navy-and-british-esports-partner-for-unique-facility
1•speckx•12m ago•0 comments

Gemini CLI: First Impressions and Experiments with Parallelization

https://dagger.io/blog/gemini-cli
1•kpen11•12m ago•0 comments

Ford CEO: Blue-Collar Workers 'Safe' but AI Will Replace Half of White-Collars

https://www.theautopian.com/ford-ceo-says-blue-collar-workers-safe-as-ai-will-replace-literally-half-of-all-white-collar-workers/
2•miles•14m ago•1 comments

Young Consulting finds even more folks affected in breach mess – now over 1M

https://www.theregister.com/2025/07/03/young_consulting_breach_million/
1•rntn•15m ago•0 comments

XenevaOS – Modern Computing Reimagined

https://www.getxeneva.com/
3•PaulHoule•17m ago•0 comments

Unlock the Power of Biodiversity Monitoring

https://hula.earth/
1•doener•18m ago•0 comments

Virtual Clothing With AI Help you Success

https://www.converters.pro/
1•pikaiqiu•18m ago•3 comments

Building the Best Ship Maintenance AI and Robots

https://nauticatechnologies.com/
1•doener•19m ago•0 comments

The Robot Using AI to Ink Your Next Tattoo

https://www.wsj.com/articles/meet-the-robot-using-ai-to-ink-your-next-tattoo-8e0887da
1•cromulent•19m ago•0 comments

Show HN: Mochia, a virtual pet browser game, built with Rust, SolidJS, Postgres

https://mochia.net/
2•lemphi•21m ago•0 comments

High-dose ascorbic acid increases intercourse frequency and improves mood (2002)

https://pubmed.ncbi.nlm.nih.gov/12208645/
1•amai•22m ago•0 comments

Repository for Cursor Security Rules designed to improve the security

https://github.com/matank001/cursor-security-rules
1•speckx•22m ago•0 comments

Every person in the Netherlands has PFAS in their blood, most above health limit

https://nltimes.nl/2025/07/03/every-person-netherlands-pfas-blood-health-limit-rivm
3•belter•25m ago•1 comments

Curzio Malaparte's Shock Tactics

https://www.newyorker.com/books/under-review/curzio-malapartes-shock-tactics
1•mitchbob•26m ago•1 comments

QuAIL: The Only AI Agent Orchestration Platform Built for Finance

https://noesiss.ai/noesis
1•glozanop•27m ago•1 comments

Show HN: Flywheelr – White-glove thought leadership for personal brand building

1•divy1234•27m ago•1 comments

Software engineering with LLMs in 2025: reality check

https://newsletter.pragmaticengineer.com/p/software-engineering-with-llms-in-2025
2•CharlesW•27m ago•0 comments

A 500-Calorie 'Carbohydrate Revolution' Banished the Bonk

https://velo.outsideonline.com/road/road-racing/tour-de-france/how-carbohydrate-revolution-sped-up-tour-de-france
1•mooreds•27m ago•0 comments

Sharded vs. Distributed: The Math Behind Resilience and High Availability

https://thenewstack.io/sharded-vs-distributed-the-math-behind-resilience-and-high-availability/
1•3littlefish•28m ago•0 comments

Ask HN: How do I prevent execs from obsessing over copy-protection?

1•bad_boomerang•28m ago•0 comments

Ask HN: How do you keep voice AI latency low while load spikes?

1•didro•28m ago•0 comments

Development Containers

https://containers.dev/
1•mooreds•29m ago•0 comments