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

Open
#39 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

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.

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?

Dominant language
Java
Stars
67
Forks
21
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/teaclave-java-tee-sdk

All issues in apache/teaclave-java-tee-sdk

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.