Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility to use without the dependency to file io and streams to use in intel sgx enclaves #2728

Closed
theShmoo opened this issue Apr 21, 2021 · 3 comments · Fixed by #2729
Closed
Assignees
Labels
kind: bug solution: proposed fix a fix for the issue has been proposed and waits for confirmation

Comments

@theShmoo
Copy link
Contributor

theShmoo commented Apr 21, 2021

I need to use your library in an intel sgx enclave.
For security reasons it is not allowed to use file io there.

I created the pull request #2729 which includes some macros to be defined for using this great library without the file io.

theShmoo pushed a commit to theShmoo/json that referenced this issue Apr 21, 2021
includes some macros to be defined for using without file io.
@nlohmann
Copy link
Owner

What is the exact issue? Are certain types disallowed? Or certain headers?

theShmoo pushed a commit to theShmoo/json that referenced this issue Apr 21, 2021
@theShmoo
Copy link
Contributor Author

theShmoo commented Apr 21, 2021

In the intel SGX c++ library not all io headers are implemented. This means the headers don't exist.

@theShmoo
Copy link
Contributor Author

Can I change something, so that you will accept this pull request?

theShmoo pushed a commit to theShmoo/json that referenced this issue May 31, 2021
theShmoo pushed a commit to theShmoo/json that referenced this issue May 31, 2021
@nlohmann nlohmann self-assigned this Jun 26, 2021
@nlohmann nlohmann added the solution: proposed fix a fix for the issue has been proposed and waits for confirmation label Jun 26, 2021
@nlohmann nlohmann added this to the Release 3.9.2 milestone Jun 26, 2021
harry75369 pushed a commit to harry75369/json that referenced this issue Aug 8, 2021
includes some macros to be defined for using without file io.
harry75369 pushed a commit to harry75369/json that referenced this issue Aug 8, 2021
harry75369 pushed a commit to harry75369/json that referenced this issue Aug 8, 2021
harry75369 pushed a commit to harry75369/json that referenced this issue Aug 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: bug solution: proposed fix a fix for the issue has been proposed and waits for confirmation
Projects
None yet
2 participants