← Back to Skills Marketplace
jpengcheng523-netizen

A2a E2ee Encryption

by jpengcheng523-netizen · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
199
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install a2a-e2ee-encryption
Description
Implements end-to-end encryption (E2EE) utilities for secure A2A (Agent-to-Agent) communication. Provides key generation, message encryption/decryption, and...
README (SKILL.md)

A2A End-to-End Encryption

Provides encryption utilities for secure agent-to-agent communication.

Features

  • Key Generation: RSA key pair generation for asymmetric encryption
  • Message Encryption: Encrypt messages with recipient's public key
  • Message Decryption: Decrypt messages with own private key
  • Key Exchange: Secure key exchange protocols
  • Key Rotation: Automatic key rotation support
  • Message Integrity: HMAC-based message authentication

Usage

const e2ee = require('./skills/a2a-e2ee-encryption');

// Generate key pair
const keyPair = e2ee.generateKeyPair();

// Encrypt message
const encrypted = e2ee.encrypt('secret message', recipientPublicKey);

// Decrypt message
const decrypted = e2ee.decrypt(encrypted, privateKey);

// Export/Import keys
const exported = e2ee.exportKey(keyPair.publicKey);
const imported = e2ee.importKey(exported);

Architecture

┌─────────────┐                    ┌─────────────┐
│   Agent A   │                    │   Agent B   │
│             │                    │             │
│ Private Key │                    │ Private Key │
│ Public Key  │◄──── Exchange ────►│ Public Key  │
│             │                    │             │
│ Encrypt     │──── Encrypted ────►│ Decrypt     │
│ with B's    │      Message       │ with A's    │
│ Public Key  │                    │ Public Key  │
└─────────────┘                    └─────────────┘

Security Considerations

  1. Key Storage: Private keys should be stored securely (env vars, vault)
  2. Key Rotation: Rotate keys periodically for forward secrecy
  3. Key Validation: Always verify key fingerprints before use
  4. Message Size: Large messages should use hybrid encryption
Usage Guidance
This skill appears to implement what it claims (local crypto utilities) and does not request external credentials or install remote code. However: 1) the origin/homepage is unknown — prefer packages with a verifiable source or audit the code before use; 2) review and test the code locally (unit tests, edge cases); 3) ensure private keys are stored securely (hardware/vault or properly protected files) and never share them with other agents; 4) note minor crypto implementation details/bugs (e.g., HMAC comparison and Buffer encoding details, RSA key-size and padding assumptions) — consider hardening (explicit encodings, input validation, stronger key sizes if needed) before using in production.
Capability Analysis
Type: OpenClaw Skill Name: a2a-e2ee-encryption Version: 1.0.0 The skill bundle provides a standard and well-implemented set of cryptographic utilities for end-to-end encryption (E2EE) using Node.js's built-in 'crypto' module. It correctly implements hybrid encryption (RSA-OAEP and AES-256-GCM), digital signatures, and HMAC-based integrity checks with security best practices like timing-safe comparisons in 'index.js'. There are no external dependencies, network calls, or suspicious instructions in 'SKILL.md'.
Capability Assessment
Purpose & Capability
Name, description, SKILL.md, and the included index.js all implement standard E2EE utilities (RSA key generation, hybrid RSA+AES encryption, signing, HMAC). The requested resources (none) are proportional to the stated purpose.
Instruction Scope
SKILL.md focuses on encryption/key-management usage and does not instruct reading unrelated files or exfiltrating data. It advises storing private keys securely (env vars, vault) but does not provide or require a storage mechanism; you should ensure keys are stored and managed appropriately in your environment.
Install Mechanism
No install spec or external downloads; the skill is instruction-only with a bundled index.js. No network fetch or extraction steps are present.
Credentials
The skill requests no environment variables or credentials. The SKILL.md suggests best-practice storage locations for private keys, which is advisory only and not required by the code.
Persistence & Privilege
always is false and the skill is user-invocable. It does not request elevated platform privileges or attempt to persist or modify other skills' settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install a2a-e2ee-encryption
  3. After installation, invoke the skill by name or use /a2a-e2ee-encryption
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of A2A End-to-End Encryption utilities - Provides RSA key pair generation for secure agent communication. - Supports encrypting and decrypting messages between agents using asymmetric keys. - Implements secure key exchange, key rotation, and HMAC-based message authentication. - Includes key import/export utilities for easy key management. - Addresses key storage, rotation, validation, and hybrid encryption for large messages.
Metadata
Slug a2a-e2ee-encryption
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is A2a E2ee Encryption?

Implements end-to-end encryption (E2EE) utilities for secure A2A (Agent-to-Agent) communication. Provides key generation, message encryption/decryption, and... It is an AI Agent Skill for Claude Code / OpenClaw, with 199 downloads so far.

How do I install A2a E2ee Encryption?

Run "/install a2a-e2ee-encryption" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is A2a E2ee Encryption free?

Yes, A2a E2ee Encryption is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does A2a E2ee Encryption support?

A2a E2ee Encryption is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created A2a E2ee Encryption?

It is built and maintained by jpengcheng523-netizen (@jpengcheng523-netizen); the current version is v1.0.0.

💬 Comments