apache / apache/teaclave-java-tee-sdk

Does the framework support introducing a third jar in the enclave?

Open
#39 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
67
Forks
21
PR merge metrics
No merged PRs in 30d

Description

Hello, there are two framework issues:
1. Does the framework support introducing a third jar in the enclave? For example, in MOCK_N_JVM mode, referencing Alibaba Fastjson 2 can be used, but there is an error when compiling in TEE_SDK mode. Do you have any use cases?
Error:
Classes that should be initialized at run time got initialized during image building: com.aliabba.fastjon2.JSONObject was unintentionally initialized at build time.

2. Secondly, does the Service in the enclave support Java8 functional programming, where lambda expressions are passed as parameters to the encryption module for execution?

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files, tests, or entry points to inspect. Begin by locating the TEE_SDK and MOCK_N_JVM build paths and the enclave service API, then determine whether third-party jars and Java 8 lambda parameters are supported; the runtime-initialization error and a concrete use case need maintainer guidance.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.