Miroshin Stepan
Miroshin Stepan
ASN1 structure SEQUENCE (2 elem) OBJECT IDENTIFIER 2.5.29.37 OCTET STRING (1 elem) SEQUENCE (2 elem) OBJECT IDENTIFIER 1.3.6.1.5.5.7.3.2 OBJECT IDENTIFIER 1.3.6.1.5.5.7.3.4 This is data of X509 Extension (RFC 5280) Extension...
I wrote simple ASN1Schema JavaScript code. It has got only one method 'get'. I sent source code of my library to your email. Can you examinate it and tell me...
I've added log into `istanbul-reprts`. It adds `file:` from file coverage `fc.path`
I've updated my CI YAML file to fix this problem. ``` - name: Update lcov.info run: | sed -E "s/SF:(.+file:(.+))/SF:\2/g" ./coverage/lcov.info > coverage/lcov.new.info mv ./coverage/lcov.new.info ./coverage/lcov.info ```
`@peculiar/webcrypto` supports Ed curves See these tests [Ed25519/Ed448](https://github.com/PeculiarVentures/webcrypto/blob/master/test/crypto.ts#L90-L112) [X25519/X448](https://github.com/PeculiarVentures/webcrypto/blob/master/test/crypto.ts#L122-L140) And also it supports `P-256`, `P-384`, `P-521`, `K-256`, `brainpoolP160r1`, `brainpoolP160t1`, `brainpoolP192r1`, `brainpoolP192t1`, `brainpoolP224r1`, `brainpoolP224t1`, `brainpoolP256r1`, `brainpoolP256t1`, `brainpoolP320r1`, `brainpoolP320t1`, `brainpoolP384r1`, `brainpoolP384t1`, `brainpoolP512r1`,...
@apowers313 `webcrypto-liner` is based on [webcrypto-core](https://github.com/PeculiarVentures/webcrypto-core) which supports `X25519` named curve. You can use this curve like standard WebCrypto curves (e.g. P-256, P-384, P-521) [node-webcrypto-p11](https://github.com/PeculiarVentures/node-webcrypto-p11) implements `X25519`. It hes [test](https://github.com/PeculiarVentures/node-webcrypto-p11/blob/master/test/ec.js#L13)...
`@peculiar/webcrypto` implements EdDSA and ECDH-ES mechanism. I'm going to support the same mechanisms for `webcrypto-liner` (~1 week)
Try this example. But copy files locally and run it. It doesn't work in `codesandbox` (not clear why) https://codesandbox.io/s/ed25519-with-certs-goxlt ![image](https://user-images.githubusercontent.com/7333669/107361240-1dcf1680-6ae8-11eb-98cd-32628ac71ab7.png) It uses an unpublished `webcrypto-liner` library with `Ed25519` supporting
There is a problem with `Ed448` curve. `elliptic` module doesn't implement it. So current version supports `Ed25519` only
It'll be helpful if somebody wants to make PR [HMAC examples](https://github.com/diafygi/webcrypto-examples#hmac) [W3 HMAC specification](https://www.w3.org/TR/WebCryptoAPI/#hmac) - webcrypto-core checks incoming data 1. Create `HmacCryptoKey` and `HmacCrypto`, similar to [RSA implementation](https://github.com/PeculiarVentures/webcrypto-liner/blob/master/src/rsa/crypto.ts) 2. Add...