Gus Narea
Gus Narea
I'm using MockWebServer to test a WebSocket client which should be able to gracefully deal with an scenario where the server closes the connection without a status code (`1005`) or...
**Describe the bug/feature** We'd like to generate Kubernetes secrets whose names end with the hash of the secret data (e.g., `my-secret-05db3bfa`), so we can get different secret names as the...
I'm using this theme as a [`remote_theme`](https://github.com/relaycorp/relaynet-website-tmp/blob/33649c580db4f68f975c7d3421ef0f9510145c86/_config.yml#L14) on GH Pages and nearly everything works as expected. The only thing that doesn't work is the static assets: They can't be served....
I'm trying to upgrade to v3 (3.0.1-2) in [one of our libs](https://github.com/relaycorp/relaynet-core-js/) but I'm finding that many things are breaking and I'm finding that some upgrade notes would be really...
This bug doesn't affect me but I found it by chance whilst debugging #334: If you try to decrypt an `EnvelopedData` that doesn't have a user keying material (UKM) and...
I have [this CMS EnvelopedData generated with BouncyCastle](https://lapo.it/asn1js/#MIAGCSqGSIb3DQEHA6CAMIACAQAxggGdMIIBmQIBADBSMEUxQzBBBgNVBAMeOgB0AGgAZQAgAHMAdQBiAGoAZQBjAHQAIABmAG8AcgAgAHQAaABlACAAcwB0AHUAYgAgAGMAZQByAHQCCQCIbLsbI3IY2zA8BgkqhkiG9w0BAQcwL6APMA0GCWCGSAFlAwQCAQUAoRwwGgYJKoZIhvcNAQEIMA0GCWCGSAFlAwQCAQUABIIBAFJ3fd1lWEsh7q2-uazuIAD0QSX-wO9DLsI52C-89Y10g4sOQEsJWfNIp8_CT6_q_1HWMbHGUAXa7tgKWBcUIOcwwPwBUF96rTVP4yggikQSaMGiozFrJuQfwrK2qU3ta_qkZVMkPVl655IqYbCH3zfVGAy3ZI5Mv9rlk2yhIhpxmWI3SApxeqFWA6_1MJXQ2ZU2NF6Ni_4M_c5Gvy3U0eO60JadiQHN40SgLJGfGSARadefT1vbzf27_gafSnBAnIIW1rtqD2lt322GULleDhn4Mz_dO2E80bwMEZS3towiuRElPTj5E766SixcOCmn5tI8soRMm2AYTo56J1qtooMwgAYJKoZIhvcNAQcBMB4GCWCGSAFlAwQBBjARBAzMhYG50c34w82VmmECARCggAQVWPfHe4Rx52IeRS6dJrznj9f6BMatAAAAAAAAAAAAAA). You'll find that `encryptedContentInfo.contentEncryptionAlgorithm.algorithmParams` is defined as a `SEQUENCE`:  This is consistent with [RFC 5084 (Section 3.2)](https://www.rfc-editor.org/rfc/rfc5084#section-3.2), which defines the params...
[X9.63](https://github.com/PeculiarVentures/PKI.js/blob/b165c188537274d9dc108df0a0b69cc13e0795eb/src/common.js#L460-L467) is the only KDF supported by EnvelopedData, but I have to use [HKDF](https://en.wikipedia.org/wiki/HKDF) instead. What's the best way to achieve this? [There's no method or property I can override...
I'd like to encrypt/decrypt and sign/verify potentially large plaintexts, which means I'd have to use readable streams instead of ArrayBuffer instances, but PKI.js doesn't support that today as far as...
As shown in the snipped below, this library isn't currently honouring the hashing algorithm or setting a salt length when generating RSA-PSS keys, as it wasn't supported in older versions...
You'd get an error like this: ``` Error: Unknown cipher at Cipheriv.createCipherBase (node:internal/crypto/cipher:116:19) at Cipheriv.createCipherWithIV (node:internal/crypto/cipher:135:3) at new Cipheriv (node:internal/crypto/cipher:243:3) at Object.createCipheriv (node:crypto:138:10) at Function.encryptAesKW (/home/gus/repos/awala-gateway-desktop/packages/ui/app/node_modules/daemon/node_modules/@peculiar/webcrypto/build/webcrypto.js:260:51) at Function.encrypt (/home/gus/repos/awala-gateway-desktop/packages/ui/app/node_modules/daemon/node_modules/@peculiar/webcrypto/build/webcrypto.js:182:29) at...