Nathan Hazout
Nathan Hazout
``` let cert = x509.parseCert(myCertificatePath); console.log("Certificate public key:"); console.log(cert.publicKey); ``` My console only prints: `{ algorithm: 'id-ecPublicKey' }` Am I not supposed to see the actual public key or other...
Is there a way to check that a given private key matches a certificate?
Hello, Given this snippet of code: ``` let myCertificatePath = path.join(__dirname, 'nathan.crt'); let caBundlePath = path.join(__dirname, 'ca-bundle.pem'); x509.verify(myCertificatePath, caBundlePath, function(err, result){ console.log("finished validation"); if(err){ console.log("validation error"); console.log(err); } else {...
JSON Schema
Does an official JSON Schema (http://json-schema.org/) currently exists for json-logic syntax? If not, do you think it would be possible?
Has there been interest, proposals or work done to port json-logic to golang?
In the playground, I tried: Rule: `{"max":{"var": "a"}}` Data: `{"a":[1,2,3,4,5]}` Expected Result: `5` Actual Result: `null`
For example: ``` expect(jsonpath.isMatch('$.given[*].first', '$.given[2].first')).to.be.true; expect(jsonpath.isMatch('$.given[*].first', '$.given[0].second')).to.be.false; ``` Meaning I am trying to know if a specific "instance" of a path, matches the given JSONPath.
Because my application logic has a hard time with the concept of a country with multiple country codes, I decided to take a look: Kazakhstan Kosovo Puerto Rico Vatican City...
I have enabled future support (because some of my posts have an "expiration date"). The problem now is that some users are reporting seeing "less than a minute from now"...
duration
Would it be possible to validate string format `duration`? See discussion: https://github.com/OAI/OpenAPI-Specification/issues/359 Definition: https://json-schema.org/draft/2019-09/json-schema-validation.html#rfc.section.7.3.1