Skip to content

feature(mer-49): initial commit, need to introduce issuer and merchan…#225

Open
koekiebox wants to merge 7 commits into
mainfrom
jasonb/mer-49-hsm-blog
Open

feature(mer-49): initial commit, need to introduce issuer and merchan…#225
koekiebox wants to merge 7 commits into
mainfrom
jasonb/mer-49-hsm-blog

Conversation

@koekiebox
Copy link
Copy Markdown
Contributor

@koekiebox koekiebox commented May 7, 2026

Please see: https://linear.app/interledger/issue/MER-49/blog-on-payment-hsms

PR Checklist

  • Linked issue added (e.g., Fixes #123)
  • I have run bun run format to ensure code is properly formatted
  • I have verified that bun run lint passes without errors
  • If blog post was added:
    • Ensure images have been optimised
    • Update dates to reflect the actual publishing date when merged (file names, folder names, and frontmatter)

Summary

@koekiebox koekiebox self-assigned this May 7, 2026
@koekiebox koekiebox added the blog Post on the Engineering blog label May 7, 2026
@koekiebox koekiebox added this to Rafiki May 7, 2026
@github-project-automation github-project-automation Bot moved this to Backlog in Rafiki May 7, 2026
@netlify
Copy link
Copy Markdown

netlify Bot commented May 7, 2026

Deploy Preview for interledger-org-developers ready!

Name Link
🔨 Latest commit a8a41ad
🔍 Latest deploy log https://app.netlify.com/projects/interledger-org-developers/deploys/6a01edcfb2bf1d00089fb6d3
😎 Deploy Preview https://deploy-preview-225--interledger-org-developers.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@JoblersTune
Copy link
Copy Markdown
Contributor

Please update your image with this optimised version
hsm

@koekiebox
Copy link
Copy Markdown
Contributor Author

Please update your image with this optimised version hsm

Thank you, done. 👍

@koekiebox koekiebox marked this pull request as ready for review May 11, 2026 14:58

## Why Hardware Security Modules Matter in Payments and How They Relate to Rafiki

Card payments, digital-wallets, and modern financial APIs all depend on one thing that users rarely see: **trust**.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The first mention of "digital wallet" appears without a hyphen, so we should stick to that convention throughout.

Card payments, digital-wallets, and modern financial APIs all depend on one thing that users rarely see: **trust**.
Not just trust in the institution, or the network, or the device - but trust in the cryptography that protects identities, keys, approvals, and movement of value.

That **trust** does not happen by accident. It is established through carefully managed cryptographic boundaries, clear ownership of keys, and systems that are designed to avoid exposing secrets where they do not belong. In payment environments especially, this becomes a foundational concern.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clear key ownership, and systems designed to avoid exposing secrets

This is where Hardware Security Modules, or HSMs, come in.

In our earlier exploration of card payments and Rafiki, a recurring theme emerged: trust is defined as much by key management as by APIs. We looked at POS onboarding, remote key injection, device identity, and separation between payment cryptography and ILP-facing services.
HSMs sit naturally inside that discussion because they are one of the primary ways financial systems generate, protect, and use sensitive cryptographic material securely.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HSMs sit naturally within that discussion because they are among the primary ways


## Why Do We Need an HSM?

If all we needed was encryption, software libraries would often be enough.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If all we needed were encryption


## What Is an HSM?

An HSM is a specialized cryptographic device, or in some cases a tightly controlled managed service, designed to generate, store, protect, and use cryptographic keys without exposing those keys in clear form to general-purpose application environments.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wihtout exposing them in clear form

### Separating duties and trust boundaries

In real systems, not every service should have equal access to secrets. A payment API may need to request an operation, but it should not be free to extract every key.
An operations team may need to deploy services, but they should not automatically gain access to master key material. Security teams may need oversight without manually touching every transaction.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Security teams may need oversight without having to review every transaction manually.

Card payments rely on structured key hierarchies and tightly defined cryptographic processes.
There are issuer-side keys, terminal-side keys, transport keys, PIN-related keys, transaction keys, derivation keys, and keys used for encryption, MACing, or signing.

These are not casual secrets. They define whether one party can trust the output of another.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They determine whether one party can trust another's output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

blog Post on the Engineering blog

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

4 participants