You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2025/04/28 09:33:30 UTC
(camel-kamelets) branch pqc-sign-and-verify created (now 1f2852522)
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a change to branch pqc-sign-and-verify
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
at 1f2852522 Support PQC Component producer operation - Signature operations
This branch includes the following new commits:
new c2f6a63b3 Support PQC Component producer operation - Signature operations
new 1f2852522 Support PQC Component producer operation - Signature operations
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(camel-kamelets) 01/02: Support PQC Component producer operation - Signature operations
Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch pqc-sign-and-verify
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit c2f6a63b380d7a1940bb1ce2cda3ed0fb88b5da0
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Apr 28 10:55:22 2025 +0200
Support PQC Component producer operation - Signature operations
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
kamelets/pqc-signature-sink.kamelet.yaml | 61 ++++++++++++++++++++++
.../kamelets/pqc-signature-sink.kamelet.yaml | 61 ++++++++++++++++++++++
2 files changed, 122 insertions(+)
diff --git a/kamelets/pqc-signature-sink.kamelet.yaml b/kamelets/pqc-signature-sink.kamelet.yaml
new file mode 100644
index 000000000..b9bcfb75b
--- /dev/null
+++ b/kamelets/pqc-signature-sink.kamelet.yaml
@@ -0,0 +1,61 @@
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+apiVersion: camel.apache.org/v1
+kind: Kamelet
+metadata:
+ name: pqc-signature-sink
+ annotations:
+ camel.apache.org/kamelet.support.level: "Stable"
+ camel.apache.org/catalog.version: "4.12.0-SNAPSHOT"
+ camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MjAiCmhlaWdodD0iNDIwIiBzdHJva2U9IiMwMDAiIGZpbGw9Im5vbmUiPgo8cGF0aCBzdHJva2Utd2lkdGg9IjI2IgpkPSJNMjA5LDE1YTE5NSwxOTUgMCAxLDAgMiwweiIvPgo8cGF0aCBzdHJva2Utd2lkdGg9IjE4IgpkPSJtMjEwLDE1djM5MG0xOTUtMTk1SDE1TTU5LDkwYTI2MCwyNjAgMCAwLDAgMzAyLDAgbTAsMjQwIGEyNjAsMjYwIDAgMCwwLTMwMiwwTTE5NSwyMGEyNTAsMjUwIDAgMCwwIDAsMzgyIG0zMC [...]
+ 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: sink
+spec:
+ definition:
+ title: PQC Signature Sink
+ description: Sign a payload with a PQC algorithm.
+ required:
+ - signatureAlgorithm
+ - operation
+ type: object
+ properties:
+ signatureAlgorithm:
+ title: Signature Algorithm
+ description: The PQC Signature Algorithm to be used.
+ type: string
+ enum: [MLDSA","SLHDSA","LMS","XMSS","FALCON","PICNIC","RAINBOW"]
+ operation:
+ title: The 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}}"
diff --git a/library/camel-kamelets/src/main/resources/kamelets/pqc-signature-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/pqc-signature-sink.kamelet.yaml
new file mode 100644
index 000000000..b9bcfb75b
--- /dev/null
+++ b/library/camel-kamelets/src/main/resources/kamelets/pqc-signature-sink.kamelet.yaml
@@ -0,0 +1,61 @@
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+apiVersion: camel.apache.org/v1
+kind: Kamelet
+metadata:
+ name: pqc-signature-sink
+ annotations:
+ camel.apache.org/kamelet.support.level: "Stable"
+ camel.apache.org/catalog.version: "4.12.0-SNAPSHOT"
+ camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MjAiCmhlaWdodD0iNDIwIiBzdHJva2U9IiMwMDAiIGZpbGw9Im5vbmUiPgo8cGF0aCBzdHJva2Utd2lkdGg9IjI2IgpkPSJNMjA5LDE1YTE5NSwxOTUgMCAxLDAgMiwweiIvPgo8cGF0aCBzdHJva2Utd2lkdGg9IjE4IgpkPSJtMjEwLDE1djM5MG0xOTUtMTk1SDE1TTU5LDkwYTI2MCwyNjAgMCAwLDAgMzAyLDAgbTAsMjQwIGEyNjAsMjYwIDAgMCwwLTMwMiwwTTE5NSwyMGEyNTAsMjUwIDAgMCwwIDAsMzgyIG0zMC [...]
+ 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: sink
+spec:
+ definition:
+ title: PQC Signature Sink
+ description: Sign a payload with a PQC algorithm.
+ required:
+ - signatureAlgorithm
+ - operation
+ type: object
+ properties:
+ signatureAlgorithm:
+ title: Signature Algorithm
+ description: The PQC Signature Algorithm to be used.
+ type: string
+ enum: [MLDSA","SLHDSA","LMS","XMSS","FALCON","PICNIC","RAINBOW"]
+ operation:
+ title: The 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}}"
(camel-kamelets) 02/02: Support PQC Component producer operation - Signature operations
Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch pqc-sign-and-verify
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 1f2852522e1da66d2e43bbb835419d4e8f8799d1
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Apr 28 11:02:10 2025 +0200
Support PQC Component producer operation - Signature operations
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
docs/modules/ROOT/nav.adoc | 1 +
kamelets/pqc-signature-sink.kamelet.yaml | 4 ++--
.../src/main/resources/kamelets/pqc-signature-sink.kamelet.yaml | 4 ++--
3 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/docs/modules/ROOT/nav.adoc b/docs/modules/ROOT/nav.adoc
index 72d00bd1b..4d41fccbf 100644
--- a/docs/modules/ROOT/nav.adoc
+++ b/docs/modules/ROOT/nav.adoc
@@ -195,6 +195,7 @@
* xref:pdf-action.adoc[]
* xref:postgresql-sink.adoc[]
* xref:postgresql-source.adoc[]
+* xref:pqc-signature-sink.adoc[]
* xref:predicate-filter-action.adoc[]
* xref:protobuf-deserialize-action.adoc[]
* xref:protobuf-serialize-action.adoc[]
diff --git a/kamelets/pqc-signature-sink.kamelet.yaml b/kamelets/pqc-signature-sink.kamelet.yaml
index b9bcfb75b..7cd2af3c6 100644
--- a/kamelets/pqc-signature-sink.kamelet.yaml
+++ b/kamelets/pqc-signature-sink.kamelet.yaml
@@ -37,12 +37,12 @@ spec:
type: object
properties:
signatureAlgorithm:
- title: Signature Algorithm
+ title: PQC Signature Algorithm
description: The PQC Signature Algorithm to be used.
type: string
enum: [MLDSA","SLHDSA","LMS","XMSS","FALCON","PICNIC","RAINBOW"]
operation:
- title: The PQC Signature Operation
+ title: PQC Signature Operation
description: The PQC Signature Operation to be performed.
type: string
enum: ["sign","verify"]
diff --git a/library/camel-kamelets/src/main/resources/kamelets/pqc-signature-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/pqc-signature-sink.kamelet.yaml
index b9bcfb75b..7cd2af3c6 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/pqc-signature-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/pqc-signature-sink.kamelet.yaml
@@ -37,12 +37,12 @@ spec:
type: object
properties:
signatureAlgorithm:
- title: Signature Algorithm
+ title: PQC Signature Algorithm
description: The PQC Signature Algorithm to be used.
type: string
enum: [MLDSA","SLHDSA","LMS","XMSS","FALCON","PICNIC","RAINBOW"]
operation:
- title: The PQC Signature Operation
+ title: PQC Signature Operation
description: The PQC Signature Operation to be performed.
type: string
enum: ["sign","verify"]