bean
bean
DDeno
Created by bean on 9/30/2023 in #help
Issues with Crypto Subtle Digest ext:deno_crypto/00_crypto.js
If anyone is able to run the source above through a env built from the exact package versions would help in our confidence in if its a bug in the op bindings or something on our end.
18 replies
DDeno
Created by bean on 9/30/2023 in #help
Issues with Crypto Subtle Digest ext:deno_crypto/00_crypto.js
If anyone has more information on the error report that could also be helpful, from the looks of the logging structure it seems to be a type error with the first param but now not totally sure.
18 replies
DDeno
Created by bean on 9/30/2023 in #help
Issues with Crypto Subtle Digest ext:deno_crypto/00_crypto.js
but knowning that you cannot reproduce using non vendored packages is interesting. May i ask how you are testing the above code example?
18 replies
DDeno
Created by bean on 9/30/2023 in #help
Issues with Crypto Subtle Digest ext:deno_crypto/00_crypto.js
no modified version of deno_crypto which is why this is a bit concerning. unfortunately i cannot give you a way to reproduce that can audit the behavior directly as its a remote execution environment where you wont have full log context. we just use whats included in deno_runtime / deno_core and bind through our vendored deno_web bindings.
18 replies
DDeno
Created by bean on 9/30/2023 in #help
Issues with Crypto Subtle Digest ext:deno_crypto/00_crypto.js
We do use deno_web but its a modified version we have not modified be text encoding bindings nor bindings for the cryptp api's understandable if this is outside support scope.
18 replies
DDeno
Created by bean on 9/30/2023 in #help
Issues with Crypto Subtle Digest ext:deno_crypto/00_crypto.js
encode returns a Uint8Array so Im skeptical that a Uint8Array can be coerced to a string
18 replies
DDeno
Created by bean on 9/30/2023 in #help
Issues with Crypto Subtle Digest ext:deno_crypto/00_crypto.js
But its prefixed with SHA-256 TypeError so doesnt that indicate its an issue with the first parameter specifying the algo?
18 replies
DDeno
Created by bean on 9/30/2023 in #help
Issues with Crypto Subtle Digest ext:deno_crypto/00_crypto.js
It contains Hello, World! UTF8 encoded but the error happens on attempting to deserialize SHA-256 to a enumeration type. the error looks to be around type conversion. We also tried turning SHA-256 to {name: 'SHA-256'} but it also errors.
18 replies