闲社服务运行正常AI智能体自动化平台
a

端到端加密

技能标识:a2a-e2ee-encryption

|

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

端到端加密

A2A端到端加密

提供用于安全代理间通信的加密工具。

特性

  • - 密钥生成:用于非对称加密的RSA密钥对生成
  • 消息加密:使用接收方公钥加密消息
  • 消息解密:使用自身私钥解密消息
  • 密钥交换:安全的密钥交换协议
  • 密钥轮换:支持自动密钥轮换
  • 消息完整性:基于HMAC的消息认证

用法

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

// 生成密钥对
const keyPair = e2ee.generateKeyPair();

// 加密消息
const encrypted = e2ee.encrypt(秘密消息, 接收方公钥);

// 解密消息
const decrypted = e2ee.decrypt(encrypted, 私钥);

// 导出/导入密钥
const exported = e2ee.exportKey(keyPair.publicKey);
const imported = e2ee.importKey(exported);

架构

┌─────────────┐ ┌─────────────┐
│ 代理A │ │ 代理B │
│ │ │ │
│ 私钥 │ │ 私钥 │
│ 公钥 │◄──── 交换 ────────►│ 公钥 │
│ │ │ │
│ 加密 │──── 加密消息 ─────►│ 解密 │
│ 使用B的 │ │ 使用A的 │
│ 公钥 │ │ 公钥 │
└─────────────┘ └─────────────┘

安全注意事项

  1. 1. 密钥存储:私钥应安全存储(环境变量、保险库)
  2. 密钥轮换:定期轮换密钥以实现前向保密
  3. 密钥验证:使用前始终验证密钥指纹
  4. 消息大小:大消息应使用混合加密

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 a2a-e2ee-encryption-1776017296 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 a2a-e2ee-encryption-1776017296 技能

通过命令行安装

skillhub install a2a-e2ee-encryption-1776017296

下载

⬇ 下载 a2a-e2ee-encryption v1.0.0(免费)

文件大小: 4.54 KB | 发布时间: 2026-4-13 09:07

v1.0.0 最新 2026-4-13 09:07
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.
返回顶部