Skip to contentSkip to conversation

package/parsec: new package

PATCH In review Saeed Kazemi 2 participants 2 messages Jul 23, 2024 – Jan 5, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/parsec: new package

Hardware/platform abstraction service for TPMs, HSMs, and Root of Trust

https://github.com/parallaxsecond/parsec.git

---
 DEVELOPERS                 |  1 +
 package/Config.in          |  1 +
 package/parsec/Config.in   | 15 +++++++++++++++
 package/parsec/parsec.hash |  3 +++
 package/parsec/parsec.mk   | 12 ++++++++++++
 5 files changed, 32 insertions(+)
 create mode 100644 package/parsec/Config.in
 create mode 100644 package/parsec/parsec.hash
 create mode 100644 package/parsec/parsec.mk
DEVELOPERS +1 -0
index 3650321d6f..58d6368339 100644
@@ -2866,6 +2866,7 @@ F:	package/biosdevname/
 
 N:	Saeed Kazemi <[email protected]>
 F:	package/eza/
+F:	package/parsec/
 F:	package/parsec-tool/
 F:	package/procs/
 F:	package/mxt-app/
package/Config.in +1 -0
index a0d78518b6..8a7c257c85 100644
@@ -1589,6 +1589,7 @@ menu "Crypto"
 	source "package/mbedtls/Config.in"
 	source "package/nettle/Config.in"
 	source "package/openssl/Config.in"
+	source "package/parsec/Config.in"
 	source "package/parsec-tool/Config.in"
 	source "package/pkcs11-helper/Config.in"
 	source "package/rhash/Config.in"
package/parsec/Config.in new file +15 -0
new file mode 100644
index 0000000000..378e8b58b4
@@ -0,0 +1,15 @@
+config BR2_PACKAGE_PARSEC
+	bool "parsec"
+	depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
+	select BR2_PACKAGE_HOST_RUSTC
+	help
+	  Hardware/platform abstraction service for TPMs, HSMs, and
+	  Root of Trust
+	  PARSEC is the Platform AbstRaction for SECurity, an
+	  open-source initiative to provide a common API to hardware
+	  security and cryptographic services in a platform-agnostic
+	  way. This abstraction layer keeps workloads decoupled from
+	  physical platform details, enabling cloud-native delivery
+	  flows within the data center and at the edge.
+
+	  https://github.com/parallaxsecond/parsec.git
package/parsec/parsec.hash new file +3 -0
new file mode 100644
index 0000000000..e1d7b4fbc9
@@ -0,0 +1,3 @@
+# Locally computed
+sha256  0b69c30c7e40c65e3c74450e0baf1e3f821ffa624a6dc7aa49f5aa976c42fda0  parsec-1.4.1-cargo2.tar.gz
+sha256  cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30  LICENSE
package/parsec/parsec.mk new file +12 -0
new file mode 100644
index 0000000000..eec9f4d7a3
@@ -0,0 +1,12 @@
+################################################################################
+#
+# parsec
+#
+################################################################################
+
+PARSEC_VERSION = 1.4.1
+PARSEC_SITE = $(call github,parallaxsecond,parsec,$(PARSEC_VERSION))
+PARSEC_LICENSE = Apache-2.0
+PARSEC_LICENSE_FILES = LICENSE
+
+$(eval $(cargo-package))
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

Hi Saeed,

Quoted 5 lines · Saeed Kazemi

Hardware/platform abstraction service for TPMs, HSMs, and Root of Trust

https://github.com/parallaxsecond/parsec.git

Thanks for the patch. I applied to master.

I had to add an upstream patch (probably due to a newer version of Rust in Buildroot). See:
https://gitlab.com/buildroot.org/buildroot/-/commit/04a5fa5ff797de55d85db97d4dd58a73ed8c5a35

Could you provide me an usage example of parsec/parsec-tool that could run in a Qemu emulator, so I can write a runtime test?

Best regards,

Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot