How to crack a JWT token: two articles about distributed computing, ZeroMQ & Node.js

Cracking JWT tokens with Node.js and ZeroMQ

In the last 2 weeks I add the pleasure to release an article (in two parts) in collaboration with RisingStack, one of the most famous companies in the Node.js ecosystem.

The article explains how to build a distributed application using Node.js and ZeroMQ and provides an example that I believe it’s very actual and interesting: a JWT token cracker.

If you are into Node.js, ZeroMQ, security or distributed application you can read the two articles in the community section of RisingStack.

ZeroMQ & Node.js Tutorial - Cracking JWT Tokens

ZeroMQ & Node.js Tutorial - Cracking JWT Tokens (Part 1.), is focused mostly on theory and describes what a JWT token is and what will be our approach to try to crack one of them.

ZeroMQ & Node.js Tutorial - Cracking JWT Tokens (Part 2.), instead, focuses on coding and it’s a step by step guide on how to build the working application.

The application is also freely available on NPM and GitHub in case you want to simply download it or contribute.

Sharing is caring!

If you got value from this article, please consider sharing it with your friends and colleagues.

Found a typo or something that can be improved?

In the spirit of Open Source, you can contribute to this article by submitting a PR on GitHub.

You might also like

Cover picture for a blog post titled Two Interviews about Node.js, JavaScript and being a book author

Two Interviews about Node.js, JavaScript and being a book author

Luciano Mammino recently participated in two interviews discussing his work with Node.js and JavaScript as well as his experience as an author writing books about Node.js design patterns.

Calendar Icon

Cover picture for a blog post titled Versioning and deploying a static website with Git, Flightplan and Nginx

Versioning and deploying a static website with Git, Flightplan and Nginx

This blog post provides a beginner's guide to managing versioning and deployment of static websites using Git for version control, Flightplan.js for automated deployment, and Nginx for serving. It outlines a simple yet complete workflow for implementing continuous delivery and rollbacks.

Calendar Icon

Cover picture for a blog post titled Migrating from Gatsby to Astro

Migrating from Gatsby to Astro

This article discuss the reason why I wanted to migrate this blog from Gatsby to Astro and the process I followed to do it. Plus a bunch of interesting and quirky bugs that I had to troubleshoot and fix along the way.

Calendar Icon

Cover picture for a blog post titled Invite-only microsites with Next.js and AirTable

Invite-only microsites with Next.js and AirTable

Learn how to create a private, invite-only website using Next.js, AirTable, custom React hooks, and Vercel deploy. The post covers backend APIs in Next.js, data storage with AirTable, validating access with invite codes, collecting user input, and deploying the final app.

Calendar Icon

Cover picture for a blog post titled Middy 1.0.0 is here

Middy 1.0.0 is here

The middleware framework Middy reached version 1.0, bringing middleware capabilities to AWS Lambda. This allows cleaner handler code by extracting cross-cutting concerns into reusable middleware.

Calendar Icon

Cover picture for a blog post titled Lean NPM packages

Lean NPM packages

Learn how to configure NPM packages to publish only the files needed by users, avoiding bloating node_modules folders.

Calendar Icon