Comments (8)
should be fixed now (with commit)
3a63de9
from rabe.
stack backtrace:
0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39
1: std::sys_common::backtrace::_print
at src/libstd/sys_common/backtrace.rs:71
2: std::panicking::default_hook::{{closure}}
at src/libstd/sys_common/backtrace.rs:59
at src/libstd/panicking.rs:197
3: std::panicking::default_hook
at src/libstd/panicking.rs:211
4: std::panicking::rust_panic_with_hook
at src/libstd/panicking.rs:474
5: std::panicking::continue_panic_fmt
at src/libstd/panicking.rs:381
6: rust_begin_unwind
at src/libstd/panicking.rs:308
7: core::panicking::panic_fmt
at src/libcore/panicking.rs:85
8: core::panicking::panic
at src/libcore/panicking.rs:49
9: core::option::Option<T>::unwrap
at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/macros.rs:12
10: rabe::schemes::bsw::encrypt
at /root/.cargo/git/checkouts/rabe-a312a3fe5f1c33cf/951f1c8/src/schemes/bsw/mod.rs:227
...
from rabe.
I used the library and not the CLI tools.
from rabe.
I added a "nested" policies level test.
Regarding nested policies:
There is a upper boundary in serde (RecursionLimitExceeded).
See here for more details: serde-rs/json#334
We are affected by this boundary too. We could mitigate this by a) waiting for a serde improvement or b) writing our own JSON ser/de
Keeping this open
from rabe.
ahh i didnt have the time to read to the end last time...
they integrated disable_recursion_limit(&mut self)
but this has some consequences...
https://docs.rs/serde_json/1.0.41/serde_json/struct.Deserializer.html#method.disable_recursion_limit
from rabe.
Can this issue be closed?
from rabe.
@georgbramm Is this fixed?
from rabe.
is fixed up to maximum json nested level.
If we want deeper nestings we need a better policy language
from rabe.
Related Issues (14)
- Release it on crates.io HOT 2
- CLI utilities do not work HOT 1
- cffi HOT 1
- in order to create example, how to calculate time based on number of Attributes? HOT 1
- YCT14 KP-ABE scheme is broken HOT 1
- About the AES dependency HOT 2
- Change some function signature HOT 2
- Error in encrypt files HOT 11
- How can I use this project in Python? HOT 4
- HumanPolicy failed HOT 2
- Duplicate attributes not supported in BSW scheme HOT 2
- Getting "The following required arguments were not provided" when compiling rabe-console HOT 4
- code is inactive due to #[cfg] directives: feature = "borsh" is disabled HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rabe.