{"schema":"libjg2-1",
"vpath":"/git/",
"avatar":"/git/avatar/",
"alang":"",
"gen_ut":1732384278,
"reponame":"libwebsockets",
"desc":"libwebsockets lightweight C networking library",
"owner": { "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },"url":"https://libwebsockets.org/repo/libwebsockets",
"f":3,
"items": [
{ "schema":"libjg2-1",
"oid":{ "oid": "6328231f2aa628632344d96a58e25c3b194af506", "alias": [ "refs/heads/main"]},"tree": [
{ "name": "jwe","mode": "16384", "size":0},
{ "name": "jwk","mode": "16384", "size":0},
{ "name": "jws","mode": "16384", "size":0},
{ "name": "CMakeLists.txt","mode": "33188", "size":1618},
{ "name": "README.md","mode": "33188", "size":2097},
{ "name": "private-lib-jose.h","mode": "33188", "size":2115}],"s":{"c":1732089589,"u": 754}}
,{"schema":"libjg2-1",
"cid":"431537c052fb04407cbc1a257119a2f7",
"oid":{ "oid": "6328231f2aa628632344d96a58e25c3b194af506", "alias": [ "refs/heads/main"]},"blobname": "lib/jose/README.md", "blob": "# JOSE support\n\nJOSE is a set of web standards aimed at encapsulating crypto\noperations flexibly inside JSON objects.\n\nLws provides lightweight apis to performs operations on JWK, JWS and JWE\nindependent of the tls backend in use. The JSON parsing is handled by the lws\nlejp stream parser.\n\n|Part|RFC|Function|\n|---|---|---|\n|JWS|[RFC7515](https://tools.ietf.org/html/rfc7515)|JSON Web Signatures|\n|JWE|[RFC7516](https://tools.ietf.org/html/rfc7516)|JSON Web Encryption|\n|JWK|[RFC7517](https://tools.ietf.org/html/rfc7517)|JSON Web Keys|\n|JWA|[RFC7518](https://tools.ietf.org/html/rfc7518)|JSON Web Algorithms|\n\nJWA is a set of recommendations for which combinations of algorithms\nare deemed desirable and secure, which implies what must be done for\nuseful implementations of JWS, JWE and JWK.\n\n## Supported algorithms\n\n### Supported keys\n\n - All RFC7517 / JWK forms: octet, RSA and EC\n\n - singleton and keys[] arrays of keys supported\n\n### Symmetric ciphers\n\n - All common AES varaiants: CBC, CFB128, CFB8, CTR, EVB, OFB, KW and XTS\n\n### Asymmetric ciphers\n\n - RSA\n\n - EC (P-256, P-384 and P-521 JWA curves)\n\n### Payload auth and crypt\n\n - AES_128_CBC_HMAC_SHA_256\n - AES_192_CBC_HMAC_SHA_384\n - AES_256_CBC_HMAC_SHA_512\n - AES_128_GCM\n\nFor the required and recommended asymmetric algorithms, support currently\nlooks like this\n\n|JWK kty|JWA|lws|\n|---|---|---|\n|EC|Recommended+|yes|\n|RSA|Required|yes|\n|oct|Required|yes|\n\n|JWE alg|JWA|lws|\n|---|---|---|\n|RSA1_5|Recommended-|yes|\n|RSA-OAEP|Recommended+|no|\n|ECDH-ES|Recommended+|no|\n\n|JWS alg|JWA|lws|\n|---|---|---|\n|HS256|Required|yes|\n|RS256|Recommended+|yes|\n|ES256|Recommended|yes|\n\n## Minimal Example tools\n\n[JWK](https://libwebsockets.org/git/libwebsockets/tree/minimal-examples/crypto/minimal-crypto-jwk)\n\n[JWS](https://libwebsockets.org/git/libwebsockets/tree/minimal-examples/crypto/minimal-crypto-jws)\n\n[JWE](https://libwebsockets.org/git/libwebsockets/tree/minimal-examples/crypto/minimal-crypto-jwe)\n\n## API tests\n\nSee `./minimal-examples/api-tests/api-test-jose/` for example test code.\nThe tests are built and confirmed during CI.\n\n","s":{"c":1732089589,"u": 298}}
],"g": 574,"chitpc": 0,"ehitpc": 0,"indexed":0
,
"ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "7d0a"}