2026-11-27 16:19 UTC

ArkenForge publishes early-stage Rust library for DID-based agent authentication

state: expiredheat: lowuncertainty: mediumrelevance: mediumagent-identity mcp securityArkenForge

What is this?

ArkenForge’s `arken-core` is an Apache-2.0 Rust library for passwordless request authentication. The project describes a flow in which a server issues a short-lived nonce, an agent signs it with a secp256k1 key, and the server verifies the signature and returns a `did:key` identity. ArkenForge says the core underpins higher-level packages, including planned or separate middleware and MCP integrations. Its GitHub page labels the project early-stage and not production-ready. A Show HN post dated November 2, 2026 links to the repository; the supplied sources do not establish adoption or independent security review.

Why it matters

If agent systems need to prove their identity to tools and APIs, reusable cryptographic credentials could help replace ad hoc secrets or sessions and make access control more consistent across integrations. This is an early implementation, not evidence that the problem is solved: in-memory nonces limit multi-instance use, and lost keys cannot be recovered. Its potential significance is greater than its demonstrated maturity.

Current assessment

New evidence: a Show HN post dated November 2, 2026 presents ArkenForge’s `arken-core`; the linked GitHub page supplies the technical description and explicitly says it is not production-ready. The library generates cryptographically random challenges with a stated 60-second TTL, verifies ECDSA secp256k1 signatures, and parses W3C `did:key` identities. Its C-compatible interface is intended to support higher-level packages through FFI. ArkenForge describes an ecosystem that includes Express/FastAPI middleware, client SDKs and MCP integration, plus registry and hosted-verifier projects; the supplied evidence does not verify their availability or use. The project says nonces are held in memory, so they do not survive restarts and require shared storage for multiple instances; it also has no key recovery, requires a Rust toolchain to build, and places prebuilt binaries on its 1.0 roadmap. These constraints matter for deployment and key operations. Cryptographic agent identity could make it easier for API and MCP servers to authenticate callers without passwords or stored sessions, but identity alone does not establish authorization or secure tool behavior. Evidence is first-party project documentation and a Show HN listing, not independent validation; no adoption data, audit results or benchmark evidence is supplied. A web result for a separate `arken-protocol` repository repeats similar maturity caveats, but its relationship to `arken-core` is not established by these sources.

Measured heat

no measured readings yet — the hourly heat pass fills this in

How the heat travelled

11-01 13:00⭐ origin echo-reconstructedThe Hacker News item itself links directly to the original project repository, which presents ArkenForge as “the cryptographic core of Arken
ArkenForge (GitHub account arkenforge) on github (echo) · attributed from hn.story.50333115
—
11-02 04:29first on hacker news · published · +15.5hShow HN: Arken – cryptographic identity for AI agents calling MCP servers/APIs
arkenforge
—
11-02 04:29amplified on hacker news 👑hn.story.50333115
arkenforge
peak 2 · 0 comments · 97% of case engagement
11-02 05:21our radar first saw it · +16.4hdiscovery anchor: hn.story.50333115—

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnShow HN: Arken – cryptographic identity for AI agents calling MCP servers/APIs
Retrieved article excerpt

Open article · Retrieved 2026-11-02T05:22:48.818698+00:00

ArkenForge — Identity infrastructure for AI agents.

The cryptographic core of ArkenForge. ECDSA signature verification, `did:key` identity, nonce generation.

[License: Apache 2.0](https://opensource.org/licenses/Apache-2.0)
[Release](https://github.com/ArkenForge/arken-core/actions/workflows/release.yml)

---

## What this is

`arken-core` is the Rust library that everything in ArkenForge builds on. It handles:

- **Challenge generation** — cryptographically random nonces with 60s TTL
- **Signature verification** — ECDSA secp256k1 via [ethers-rs](https://github.com/gakonst/ethers-rs)
- **DID parsing** — `did:key` identity using the W3C spec (`zQ3s…` prefix for secp256k1)

It compiles to a native shared library (`.dylib` / `.so` / `.dll`) loaded by higher-level packages via FFI.

## Build

Requires [Rust](https://rustup.rs).

```
cd rust
cargo build --release
```

Output: `rust/target/release/libarken_core.{dylib,so,dll}`

## C API

Three C-compatible functions are exported:

```
int generate_challenge_into(const char *statement, char *out, int cap);
int verify_request_into(const char *header, char *out, int cap);
int verify_signature_only_into(const char *header, char *out, int cap);
```

All functions write JSON into `out` and return the number of bytes written, or `-1` on buffer overflow.

## How it works

An unsigned request gets a `401` with a one-time nonce. The client signs the nonce with its secp256k1 private key and retries with an `Authorization: Signature` header. The core verifies the ECDSA signature, checks the nonce, and returns the agent's `did:key` — nothing stored, nothing breached.

```
sequenceDiagram
    participant C as Client
    participant S as Server
    C->>S: GET /protected
    S-->>C: 401 { challenge: { nonce, statement } }
    Note over C: sign(nonce, privateKey)
    C->>S: GET /protected<br/>Authorization: Signature did="…",nonce="…",signature="…"
    S-->>C: 200 { did: "did:key:zQ3s…" }
```

 Loading

## Identity: `did:key`

Each agent gets a [W3C DID Key](https://w3c-ccg.github.io/did-method-key/) derived from its key pair:

```
did:key:zQ3shXgnkuyqVxf3NGBsK1q3J…
```

The `zQ3s…` prefix indicates secp256k1 (`0xe7 0x01` multicodec). Same key, same DID, across every server running Arken. One identity, every tool.

## ArkenForge ecosystem

| Repo | What it is |
| --- | --- |
| **arken-core** (this repo) | Rust crypto core — the foundation |
| [arken-auth](https://github.com/arkenforge/arken-auth) | Express + FastAPI middleware, client SDKs, MCP integration |
| [arken-registry](https://github.com/arkenforge/arken-registry) | Discovery registry — find APIs that accept Arken auth |
| [arken-verifier](https://github.com/arkenforge/arken-verifier) | Hosted verifier — metered signature verification |

## Status

- **Not production-ready.** Early-stage project.
- **Nonces are in memory.** Won't survive restarts or work across multiple instances without a shared store.
- **No key recovery.** Losing the private key means losing access.
- **Rust toolchain required to build.** Prebuilt binaries are on the 1.0 roadmap.

## Security

See [SECURITY.md](https://github.com/arkenforge/arken-core/blob/main/SECURITY.md). Find a flaw, open a private advisory, and your name goes in the Hall of Finders.

## Join the 1.0 waitlist

**Founding Builders** — everyone who joins before December 15, 2026 — are credited by name in the 1.0 README. There are **10 design-partner slots** for teams who want to shape the API directly.

[Join the waitlist](https://tally.so/r/kbbjWR)

## License

[Apache 2.0](https://github.com/arkenforge/arken-core/blob/main/LICENSE) — ArkenForge
arkenforge20
🟧 echo.github ⭐The Hacker News item itself links directly to the original project repository, which presents ArkenForge as “the cryptographic core of ArkenArkenForge (GitHub account arkenforge)——

Interpretation history

Decision trace