@elizaos/plugin-tee 0.1.7 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +50 -42
- package/dist/{_esm-L4OBJJWB.js → _esm-FVHF6KDD.js} +5 -5
- package/dist/_esm-FVHF6KDD.js.map +1 -0
- package/dist/{ccip-MMGH6DXX.js → ccip-IAE5UWYX.js} +2 -2
- package/dist/{chunk-NTU6R7BC.js → chunk-KSHJJL6X.js} +18 -18
- package/dist/chunk-KSHJJL6X.js.map +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +118 -31
- package/dist/index.js.map +1 -1
- package/package.json +4 -5
- package/dist/_esm-L4OBJJWB.js.map +0 -1
- package/dist/chunk-NTU6R7BC.js.map +0 -1
- /package/dist/{ccip-MMGH6DXX.js.map → ccip-IAE5UWYX.js.map} +0 -0
package/README.md
CHANGED
|
@@ -5,6 +5,7 @@ A plugin for handling Trusted Execution Environment (TEE) operations, providing
|
|
|
5
5
|
## Overview
|
|
6
6
|
|
|
7
7
|
This plugin provides functionality to:
|
|
8
|
+
|
|
8
9
|
- Generate secure keys within a TEE environment
|
|
9
10
|
- Derive Ed25519 keypairs for Solana
|
|
10
11
|
- Derive ECDSA keypairs for Ethereum
|
|
@@ -35,8 +36,8 @@ Import and register the plugin in your Eliza configuration:
|
|
|
35
36
|
import { teePlugin } from "@elizaos/plugin-tee";
|
|
36
37
|
|
|
37
38
|
export default {
|
|
38
|
-
|
|
39
|
-
|
|
39
|
+
plugins: [teePlugin],
|
|
40
|
+
// ... other configuration
|
|
40
41
|
};
|
|
41
42
|
```
|
|
42
43
|
|
|
@@ -128,9 +129,9 @@ docker run --rm -p 8090:8090 phalanetwork/tappd-simulator:latest
|
|
|
128
129
|
```typescript
|
|
129
130
|
enum TEEMode {
|
|
130
131
|
OFF = "OFF",
|
|
131
|
-
LOCAL = "LOCAL",
|
|
132
|
-
DOCKER = "DOCKER",
|
|
133
|
-
PRODUCTION = "PRODUCTION"
|
|
132
|
+
LOCAL = "LOCAL", // For local development with simulator
|
|
133
|
+
DOCKER = "DOCKER", // For docker development with simulator
|
|
134
|
+
PRODUCTION = "PRODUCTION", // For production without simulator
|
|
134
135
|
}
|
|
135
136
|
|
|
136
137
|
interface RemoteAttestationQuote {
|
|
@@ -142,52 +143,57 @@ interface RemoteAttestationQuote {
|
|
|
142
143
|
## Future Enhancements
|
|
143
144
|
|
|
144
145
|
1. **Key Management**
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
146
|
+
|
|
147
|
+
- Advanced key derivation schemes
|
|
148
|
+
- Multi-party computation support
|
|
149
|
+
- Key rotation automation
|
|
150
|
+
- Backup and recovery systems
|
|
151
|
+
- Hardware security module integration
|
|
152
|
+
- Custom derivation paths
|
|
151
153
|
|
|
152
154
|
2. **Remote Attestation**
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
155
|
+
|
|
156
|
+
- Enhanced quote verification
|
|
157
|
+
- Multiple TEE provider support
|
|
158
|
+
- Automated attestation renewal
|
|
159
|
+
- Policy management system
|
|
160
|
+
- Compliance reporting
|
|
161
|
+
- Audit trail generation
|
|
159
162
|
|
|
160
163
|
3. **Security Features**
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
164
|
+
|
|
165
|
+
- Memory encryption improvements
|
|
166
|
+
- Side-channel protection
|
|
167
|
+
- Secure state management
|
|
168
|
+
- Access control systems
|
|
169
|
+
- Threat detection
|
|
170
|
+
- Security monitoring
|
|
167
171
|
|
|
168
172
|
4. **Chain Integration**
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
173
|
+
|
|
174
|
+
- Multi-chain support expansion
|
|
175
|
+
- Cross-chain attestation
|
|
176
|
+
- Chain-specific optimizations
|
|
177
|
+
- Custom signing schemes
|
|
178
|
+
- Transaction privacy
|
|
179
|
+
- Bridge security
|
|
175
180
|
|
|
176
181
|
5. **Developer Tools**
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
182
|
+
|
|
183
|
+
- Enhanced debugging capabilities
|
|
184
|
+
- Testing framework
|
|
185
|
+
- Simulation environment
|
|
186
|
+
- Documentation generator
|
|
187
|
+
- Performance profiling
|
|
188
|
+
- Integration templates
|
|
183
189
|
|
|
184
190
|
6. **Performance Optimization**
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
+
- Parallel processing
|
|
192
|
+
- Caching mechanisms
|
|
193
|
+
- Resource management
|
|
194
|
+
- Latency reduction
|
|
195
|
+
- Throughput improvements
|
|
196
|
+
- Load balancing
|
|
191
197
|
|
|
192
198
|
We welcome community feedback and contributions to help prioritize these enhancements.
|
|
193
199
|
|
|
@@ -206,12 +212,14 @@ This plugin integrates with and builds upon several key technologies:
|
|
|
206
212
|
- [Intel SGX](https://www.intel.com/content/www/us/en/developer/tools/software-guard-extensions/overview.html): Trusted Execution Environment technology
|
|
207
213
|
|
|
208
214
|
Special thanks to:
|
|
215
|
+
|
|
209
216
|
- The Phala Network team for their TEE infrastructure
|
|
210
217
|
- The Intel SGX team for TEE technology
|
|
211
218
|
- The dStack SDK maintainers
|
|
212
219
|
- The Eliza community for their contributions and feedback
|
|
213
220
|
|
|
214
221
|
For more information about TEE capabilities:
|
|
222
|
+
|
|
215
223
|
- [Phala Documentation](https://docs.phala.network/)
|
|
216
224
|
- [Intel SGX Documentation](https://www.intel.com/content/www/us/en/developer/tools/software-guard-extensions/documentation.html)
|
|
217
225
|
- [TEE Security Best Practices](https://docs.phala.network/developers/phat-contract/security-notes)
|
|
@@ -219,4 +227,4 @@ For more information about TEE capabilities:
|
|
|
219
227
|
|
|
220
228
|
## License
|
|
221
229
|
|
|
222
|
-
This plugin is part of the Eliza project. See the main project repository for license information.
|
|
230
|
+
This plugin is part of the Eliza project. See the main project repository for license information.
|
|
@@ -840,9 +840,9 @@ var require_permessage_deflate = __commonJS({
|
|
|
840
840
|
}
|
|
841
841
|
});
|
|
842
842
|
|
|
843
|
-
// ../../node_modules/utf-8-validate/fallback.js
|
|
843
|
+
// ../../node_modules/ws/node_modules/utf-8-validate/fallback.js
|
|
844
844
|
var require_fallback2 = __commonJS({
|
|
845
|
-
"../../node_modules/utf-8-validate/fallback.js"(exports, module) {
|
|
845
|
+
"../../node_modules/ws/node_modules/utf-8-validate/fallback.js"(exports, module) {
|
|
846
846
|
"use strict";
|
|
847
847
|
function isValidUTF8(buf) {
|
|
848
848
|
const len = buf.length;
|
|
@@ -877,9 +877,9 @@ var require_fallback2 = __commonJS({
|
|
|
877
877
|
}
|
|
878
878
|
});
|
|
879
879
|
|
|
880
|
-
// ../../node_modules/utf-8-validate/index.js
|
|
880
|
+
// ../../node_modules/ws/node_modules/utf-8-validate/index.js
|
|
881
881
|
var require_utf_8_validate = __commonJS({
|
|
882
|
-
"../../node_modules/utf-8-validate/index.js"(exports, module) {
|
|
882
|
+
"../../node_modules/ws/node_modules/utf-8-validate/index.js"(exports, module) {
|
|
883
883
|
"use strict";
|
|
884
884
|
try {
|
|
885
885
|
module.exports = require_node_gyp_build2()(__dirname);
|
|
@@ -3910,4 +3910,4 @@ var WebSocket3 = (() => {
|
|
|
3910
3910
|
export {
|
|
3911
3911
|
WebSocket3 as WebSocket
|
|
3912
3912
|
};
|
|
3913
|
-
//# sourceMappingURL=_esm-
|
|
3913
|
+
//# sourceMappingURL=_esm-FVHF6KDD.js.map
|