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

Depreaction message is breaking json format #1020

Open
matteo-cristino opened this issue Jan 29, 2025 · 0 comments
Open

Depreaction message is breaking json format #1020

matteo-cristino opened this issue Jan 29, 2025 · 0 comments

Comments

@matteo-cristino
Copy link
Collaborator

When a deprecated statement is met and the json output is being used the deprecation warning message break the json format

[ "ZENROOM JSON LOG START",
" Release version: v5.7.0",
" Build commit hash: 334858fc",
" ECDH curve is SECP256K1",
" ECP curve is BLS381",
"[W] Zencode written for an older version: 2.0.0",
" Rule check version 2.0.0",
"[W] required extension not found: zencode_simple",
"[W] DEPRECATED:
create random object of '' bits
use instead
create random of '' bits",
"J64 HEAP: eyJDQUNIRSI6W10sIkNPREVDIjp7Im15MTI4Qml0c1JhbmRvbSI6eyJlbmNvZGluZyI6ImRlZiIsIm5hbWUiOiJyYW5kb21fb2JqZWN0IiwiemVudHlwZSI6ImUifX0sIkdJVkVOX2RhdGEiOltdLCJUSEVOIjpbXSwiV0hFTiI6eyJteTEyOEJpdHNSYW5kb20iOiI0OTI1YjNiMTFhZWE2N2NlMjk1ZTAyNzhmZGRiNjJkYmJhYmViMGNhYWE4MjJhOTNkZGJiZWJkYTZlOTM5YTJlMGY4MzNmMzA4NzdkNzUxYTQ4ZDg0MWYyMDYzNzZhZTg4YTM5NjY2YTExNzA1OTY5ZTk1NjczMDEyNjU4N2Q5MzBiYjg4YzUyZTA3MzliN2RiZDQ5MzIzYjQzMWQxNGYyMzQzOWQ1MGY1ZjYyYWViZWFmYjczZTU2NmQxZjU0MTRhMWM5NjNlYzU4MTlkNTdhYzUzZDkwZThmZWUxODljMjVlYzFmMzA5MDI0NGNlOTY1MDkwNmE5ZWFmY2ZkNDE4In19",
"J64 TRACE: WyIrNSAgR2l2ZW4gbm90aGluZyIsIis3ICBXaGVuIEkgY3JlYXRlIHRoZSByYW5kb20gb2JqZWN0IG9mICcxMjgnIGJpdHMiLCIrOCAgV2hlbiBJIHJlbmFtZSB0aGUgJ3JhbmRvbV9vYmplY3QnIHRvICdteTEyOEJpdHNSYW5kb20nIiwiKzEwICBUaGVuIHByaW50IHRoZSAnbXkxMjhCaXRzUmFuZG9tIG4nIiwiWyFdIEVycm9yIGF0IFplbmNvZGUgbGluZSAxMCIsIlshXSAvemVuY29kZV90aGVuLmx1YToxNTc6IENhbm5vdCBmaW5kIG9iamVjdDogbXkxMjhCaXRzUmFuZG9tX24iXQ==",
"[!] Zencode runtime error",
"[!] /zencode.lua:791: Zencode line 10: Then print the 'my128BitsRandom n'",
"[!] Execution aborted with errors.",
"[*] Zenroom teardown.",
" Memory used: 475 KB",
"ZENROOM JSON LOG END" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant