GithubHelp home page GithubHelp logo

Comments (8)

georgbramm avatar georgbramm commented on July 18, 2024 1

should be fixed now (with commit)
3a63de9

from rabe.

schanzen avatar schanzen commented on July 18, 2024
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.

schanzen avatar schanzen commented on July 18, 2024

I used the library and not the CLI tools.

from rabe.

georgbramm avatar georgbramm commented on July 18, 2024

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.

georgbramm avatar georgbramm commented on July 18, 2024

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.

JulianSchuette avatar JulianSchuette commented on July 18, 2024

Can this issue be closed?

from rabe.

oxisto avatar oxisto commented on July 18, 2024

@georgbramm Is this fixed?

from rabe.

georgbramm avatar georgbramm commented on July 18, 2024

is fixed up to maximum json nested level.
If we want deeper nestings we need a better policy language

from rabe.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.