-
we use xmlsec1 command in linux console and i have this error This is because the file is larger than 10MB. Ho i can bypass this? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Which version of xmlsec are you using? This should have been fixed a couple years ago in PR #284 If you are using a new version of xmlsec, then could you please print a complete error / stack trace so I can understand why this flags are not set correctly for you. |
Beta Was this translation helpful? Give feedback.
-
Thanks, you are the best! |
Beta Was this translation helpful? Give feedback.
-
BTW, I forgot to mention -- if you are processing huge files then you likely will benefit from increasing the chunk size here: https://github.com/lsh123/xmlsec/blob/xmlsec-1_2_x/include/xmlsec/transforms.h#L41 it's hard coded at 1K and you can bump it to 256K or even higher. This should improve performance in a big way for you (in expense of higher memory usage). On the master, there is a way to change this dynamically and it will be in the next release. But this is one of the changes that breaks ABI compatibility that I didn't want to do for a while :) However local change to the #define should be very safe thing to do. |
Beta Was this translation helpful? Give feedback.
Which version of xmlsec are you using? This should have been fixed a couple years ago in PR #284
If you are using a new version of xmlsec, then could you please print a complete error / stack trace so I can understand why this flags are not set correctly for you.