Show HN: 어디서나 작동하는 검증 가능한 주장을 위한 작은 프로토콜인 OpenClaiming

hackernews | | 📦 오픈소스
#ai 딜 #hn #openclaiming #검증가능 #암호화서명 #프로토콜
원문 출처: hackernews · Genesis Park에서 요약 및 분석

요약

오픈클레이밍 프로토콜(OCP)은 누구나 검증 가능한 암호화 서명 클레임을 생성할 수 있는 단순하고 블록체인 또는 신원 공급자에 의존하지 않는 새로운 표준 프로토콜입니다. 이 프로토콜은 JSON 기반의 서명 문서를 사용하여 발급자가 만든 내용을 증명하며, 인간이 읽기 쉽고 구현에 친화적인 설계를 목표로 합니다. 현재 JavaScript, Python, Go, Rust 등 다양한 언어로 구현된 라이브러리가 공개되어 있어 개발자는 표준 인터페이스를 통해 클레임의 서명 및 검증 기능을 손쉽게 활용할 수 있습니다.

본문

Welcome to the official documentation for the OpenClaiming Protocol (OCP). OpenClaiming defines a simple way to create cryptographically signed claims that anyone can verify — across systems, organizations, and blockchains. An OpenClaim is a signed JSON document that states something. Example: { "ocp": 1, "iss": "example.com/alice", "stm": { "role": "admin" }, "key": ["data:key/es256;base64,..."], "sig": ["BASE64_SIGNATURE"] } The signatures prove authorized parties made the statement. Learn more at https://openclaiming.org. OpenClaiming was designed to be: - Simple - Human-readable - Decentralized - Implementation-friendly - Independent of blockchains - Independent of identity providers - Easy to publish anywhere - Extensible across execution environments The protocol intentionally focuses on one primitive: A signed claim Everything else is built on top of this. OpenClaiming supports standardized extensions for common use cases. These are: - 💸 Payments — spending authorization - ⚡ Actions — execution / invocation authorization Extensions are: - arrays of nested OpenClaims - independently signed and verifiable - able to use different formats ( ES256 ,EIP712 ) Example: { "ocp": 1, "payments": [ ... ], "actions": [ ... ] } OpenClaiming supports native multisignature: { "key": [ "data:key/es256;base64,...", "data:key/es256;base64,..." ], "sig": [ "BASE64_SIGNATURE", "BASE64_SIGNATURE" ] } - each signature corresponds to a key - multiple signers may be required - threshold is defined by application or contract - Introduction - Concepts - OpenClaim Format - Signatures - Canonicalization - Publishing Claims - Extensions Overview - Payments - Actions (Invocations) - Identity Linking - Device & Session Keys - Intercloud Claims - Blockchain Anchoring OpenClaiming is blockchain-agnostic, but integrates cleanly with EVM chains. EIP-712 support enables: - on-chain verification of claims - multisignature execution - payment authorization - governance and workflow execution import OpenClaim from "openclaiming"; const claim = { ocp: 1, iss: "example.com/alice", stm: { role: "admin" } }; const signed = OpenClaim.sign(claim, privateKey); const valid = OpenClaim.verify(signed); console.log(valid); Convention: .well-known/openclaiming//.json Example: example.com/.well-known/openclaiming/example.com/alice.json - OpenClaim = signed statement - key = who can sign - sig = signatures - iss = authority - sub = subject - extensions = standardized semantics - formats = execution environments (ES256, EIP712) - https://github.com/OpenClaiming/spec - https://github.com/OpenClaiming/Documentation - https://github.com/OpenClaiming/test-vectors - https://github.com/OpenClaiming/examples - https://openclaiming.org MIT License

Genesis Park 편집팀이 AI를 활용하여 작성한 분석입니다. 원문은 출처 링크를 통해 확인할 수 있습니다.

공유

관련 저널 읽기

전체 보기 →