From 9c5cf93cd0580a127bf3795c14305c7e3991a1a8 Mon Sep 17 00:00:00 2001 From: gitea_admin Date: Mon, 12 Oct 2026 02:36:00 +0000 Subject: [PATCH] Add kamelet definition: pqc-signature-action --- kamelet.json | 108 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 kamelet.json diff --git a/kamelet.json b/kamelet.json new file mode 100644 index 0000000..e741de9 --- /dev/null +++ b/kamelet.json @@ -0,0 +1,108 @@ +{ + "apiVersion": "camel.apache.org/v1", + "kind": "Kamelet", + "metadata": { + "name": "pqc-signature-action", + "annotations": { + "camel.apache.org/kamelet.support.level": "Stable", + "camel.apache.org/catalog.version": "4.22.1", + "camel.apache.org/kamelet.icon": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MjAiCmhlaWdodD0iNDIwIiBzdHJva2U9IiMwMDAiIGZpbGw9Im5vbmUiPgo8cGF0aCBzdHJva2Utd2lkdGg9IjI2IgpkPSJNMjA5LDE1YTE5NSwxOTUgMCAxLDAgMiwweiIvPgo8cGF0aCBzdHJva2Utd2lkdGg9IjE4IgpkPSJtMjEwLDE1djM5MG0xOTUtMTk1SDE1TTU5LDkwYTI2MCwyNjAgMCAwLDAgMzAyLDAgbTAsMjQwIGEyNjAsMjYwIDAgMCwwLTMwMiwwTTE5NSwyMGEyNTAsMjUwIDAgMCwwIDAsMzgyIG0zMCwwIGEyNTAsMjUwIDAgMCwwIDAtMzgyIi8+Cjwvc3ZnPg==", + "camel.apache.org/provider": "Apache Software Foundation", + "camel.apache.org/kamelet.group": "PQC", + "camel.apache.org/kamelet.namespace": "PQC" + }, + "labels": { + "camel.apache.org/kamelet.type": "action" + } + }, + "spec": { + "definition": { + "title": "PQC Signature Action", + "description": "Sign or verify a payload with a Post-Quantum Cryptography (PQC) algorithm.", + "required": [ + "signatureAlgorithm", + "operation" + ], + "type": "object", + "properties": { + "signatureAlgorithm": { + "title": "PQC Signature Algorithm", + "description": "The PQC Signature Algorithm to be used.", + "type": "string", + "enum": [ + "MLDSA\"", + "SLHDSA", + "LMS", + "XMSS", + "FALCON", + "PICNIC" + ] + }, + "operation": { + "title": "PQC Signature Operation", + "description": "The PQC Signature Operation to be performed.", + "type": "string", + "enum": [ + "sign", + "verify" + ] + } + } + }, + "dependencies": [ + "camel:http", + "camel:kamelet", + "camel:core" + ], + "template": { + "from": { + "uri": "kamelet:source", + "steps": [ + { + "to": { + "uri": "pqc:sign", + "parameters": { + "signatureAlgorithm": "{{signatureAlgorithm}}", + "operation": "{{operation}}" + } + } + } + ] + } + } + }, + "propertiesSchema": { + "$schema": "http://json-schema.org/draft-07/schema#", + "type": "object", + "title": "PQC Signature Action", + "description": "Sign or verify a payload with a Post-Quantum Cryptography (PQC) algorithm.", + "required": [ + "signatureAlgorithm", + "operation" + ], + "properties": { + "signatureAlgorithm": { + "type": "string", + "title": "PQC Signature Algorithm", + "description": "The PQC Signature Algorithm to be used.", + "enum": [ + "MLDSA\"", + "SLHDSA", + "LMS", + "XMSS", + "FALCON", + "PICNIC" + ] + }, + "operation": { + "type": "string", + "title": "PQC Signature Operation", + "description": "The PQC Signature Operation to be performed.", + "enum": [ + "sign", + "verify" + ] + } + } + } +} \ No newline at end of file