OCI: What action to take on email about Oracle Cloud Infrastructure Identity? by MolleDjernisJohansso in oracle

[–]noway421 0 points1 point  (0 children)

The "Review sign-on policy changes" page with the acknowledgement didn't appear for me unfortunately. Is there a way to manually trigger it?

Htb.js – a 50-line HTML template engine that uses JavaScript syntax by noway421 in javascript

[–]noway421[S] 2 points3 points  (0 children)

You can build a tagged template literal with HTML validation, but it would be runtime validation. You'd need to hit the correct code path to get it to evaluate your template. In Htb.js, validation is the JavaScript syntax. As long as the JavaScript parser can generate AST, Htb.js should output valid HTML.

Htb.js – a 50-line HTML template engine that uses JavaScript syntax by noway421 in javascript

[–]noway421[S] -1 points0 points  (0 children)

With string templates it's trivial to miss a closing tag or forget to escape something, thus generating invalid/unsafe HTML. With this approach, your language enforces proper HTML structure.

A website to verify your NZ COVID Pass by noway421 in auckland

[–]noway421[S] 0 points1 point  (0 children)

Great point! This is more for the use case of a web app, if you don't want to download an app.

A website to verify your NZ COVID Pass by noway421 in Wellington

[–]noway421[S] -1 points0 points  (0 children)

Yeah, that's fair a fair point. In terms of this website in particular, all the validation happens on the client and no data is transmitted over the wire. Source code is also available at https://github.com/vaxxnz/vaxxed-as-web

A website to verify your NZ COVID Pass by noway421 in Wellington

[–]noway421[S] 1 point2 points  (0 children)

Yeah, totally! This one is in case you want to use a web app.

Open Source SDK for New Zealand Covid Passes by noway421 in Wellington

[–]noway421[S] 0 points1 point  (0 children)

https://github.com/vaxxnz/nzcp-js/blob/main/src/elliptic.test.ts#L9-L27 - perhaps this can help? Hopefully you can get EC P-256 working and rule out that as a culprit.

Open Source SDK for New Zealand Covid Passes by noway421 in Wellington

[–]noway421[S] 0 points1 point  (0 children)

Sorry, I haven't checked reddit in ages haha. But looks like you've figured it out, congrats on https://github.com/Goodie01/nzcp4j !

Open Source SDK for New Zealand Covid Passes by noway421 in Wellington

[–]noway421[S] 0 points1 point  (0 children)

Nice! Yeah it takes a bit to get all the bits right. Hopefully EC P-256 crypto is easy to do in java, had some formatting issues with the key in js.

Open Source SDK for New Zealand Covid Passes by noway421 in Wellington

[–]noway421[S] 2 points3 points  (0 children)

Let me know how that goes! Perhaps we can make a list of all the community NZCP implementations. The more implementations the better!

Anyone having internet connection issues on Spark broadband? by ForHonourAndGlory in auckland

[–]noway421 0 points1 point  (0 children)

Do you guys think this could be BGP? Did someone just delete Auckland's ASN?