Constant sequoia_openpgp::parse::DEFAULT_MAX_RECURSION_DEPTH
source ยท pub const DEFAULT_MAX_RECURSION_DEPTH: u8 = 16;
Expand description
The default amount of acceptable nesting.
The default is 16
.
Typically, we expect a message to looking like:
[ encryption container: [ compression container: [ signature: [ literal data ]]]]
So, this should be more than enough.
To change the maximum recursion depth, use
PacketParserBuilder::max_recursion_depth
.