Skip to content
HHackerTube.videoSurprise me

DEF CON 26 CRYPTO AND PRIVACY VILLAGE - Scott Arciszewski - No Way JOSE! Designing Cryptography

DEF CON 26 CRYPTO AND PRIVACY VILLAGE - Scott Arciszewski - No Way JOSE! Designing Cryptography on HackerTube: recommended by 2 Hacker News commenters across 2 separate months, 2019–2020.

DEFCONConference

talk · intermediate · evergreen

Open on YouTube

Scott Arciszewski's DEF CON 26 Crypto and Privacy Village talk critiquing the JOSE standards (JWT, JWS, JWE) and showing how to design cryptographic tokens more safely.

Why Hacker News recommends it

HN recommends it as the video version of the argument that JOSE/JWT is a flawed standard, and as a help in understanding token design choices.

people recommended it
2
separate months
2
strong recommendations
0
discussed on HN
2019–2020
“If you like video consumption, a DEFCON 2018 talk by the author Scott Arciszewski on this same topic”
— wadkar, Feb 2020, in “Javascript Object Signing and Encryption is a Bad Standard (2017)”

What HN commenters said

3 Hacker News comments link this video. Each one links back to its thread.

chriswarboJun 2020Recommends

I've been doing a similar thing recently. I found PASETO to be interesting ( [link] ), which is a lot like JWT but is simpler and more opinionated (e.g. there is no plaintext option; symmetric and asymmetric operations are cleanly separated; etc.). I especially enjoyed watching this video ▶ this video I still decided to go with JWT, since PASETO isn't yet standard and its software hasn't been around for long, but it definitely helped me understand more about the choice I was making. In particular, PASETO distinguishes between "local" tokens (producer and consumer can both use the same symmetric key) versus "public" tokens (producer and consumer can't use the same key, e.g. third party services run by different organisations; hence asymmetric keys are needed). PASETO encourages local tokens to be used when possible, since their keys can be shorter, they generate shorter tokens, they're faster to encrypt/decrypt, they're easier to rotate, etc.; public tokens are essentially a last resort when we must interact with a third party. I was originally considering 'public' JWTs (i.e. asymmetric keys) for my use case, since we're using AWS API Gateway and that has the option to check the signatures of 'public' JWTs, and reject invalid ones before they ever hit my code. However, I eventually went with 'local' JWTs (i.e. symmetric keys), since the convenience of having AWS discard some tokens for us wasn't worth the (mostly logistical) overhead of using asymmetric keys. My choice to use the J

in “Hardcoded secrets, unverified tokens, and other common JWT mistakes” · View on HN

wadkarFeb 2020Recommends

If you like video consumption, a DEFCON 2018 talk by the author Scott Arciszewski on this same topic can be found here: No Way JOSE! Designing Cryptography: ▶ this video You're welcome :) Edit: Clarify that Scott is the author of both post and video.

in “Javascript Object Signing and Encryption is a Bad Standard (2017)” · View on HN

CiPHPerCoderJan 2019Cites it

Blog post: [link] DEFCON CPV talk: [link] + ▶ this video Alternative design that isn't radioactive: [link] Apologies if this wasn't more readily available or commonly known. I'm worse at marketing than I am at engineering.

in “How to Use JSON Web Tokens” · View on HN

Topics & tags

CryptographySecurity & hackingjwtjosecryptographytokensdef conauthentication