From 960dc18287bae5259df0df54a228a97b0628bc8e Mon Sep 17 00:00:00 2001 From: JloveUOA Date: Wed, 2 Oct 2024 14:23:14 +1300 Subject: [PATCH 1/3] add gpg-terms --- gpg/context.json | 10 ++++++++++ gpg/context.jsonld | 10 ++++++++++ gpg/readme.md | 7 +++++++ gpg/vocabulary.csv | 7 +++++++ 4 files changed, 34 insertions(+) create mode 100644 gpg/context.json create mode 100644 gpg/context.jsonld create mode 100644 gpg/readme.md create mode 100644 gpg/vocabulary.csv diff --git a/gpg/context.json b/gpg/context.json new file mode 100644 index 0000000..1d72e3b --- /dev/null +++ b/gpg/context.json @@ -0,0 +1,10 @@ +{ + "@context": { + "EncryptedContextEntity": "https://w3id.org/ro/terms/gpg#EncryptedContextEntity", + "EncryptedGraphMessage": "https://w3id.org/ro/terms/gpg#EncryptedGraphMessage", + "pubkey_fingerprints": "https://w3id.org/ro/terms/gpg#pubkey_fingerprints", + "recipient": "https://w3id.org/ro/terms/gpg#recipient", + "keyserver": "https://w3id.org/ro/terms/gpg#keyserver", + "recipientOf": "https://w3id.org/ro/terms/gpg#EncryptedGraphMessage" + } +} \ No newline at end of file diff --git a/gpg/context.jsonld b/gpg/context.jsonld new file mode 100644 index 0000000..1d72e3b --- /dev/null +++ b/gpg/context.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "EncryptedContextEntity": "https://w3id.org/ro/terms/gpg#EncryptedContextEntity", + "EncryptedGraphMessage": "https://w3id.org/ro/terms/gpg#EncryptedGraphMessage", + "pubkey_fingerprints": "https://w3id.org/ro/terms/gpg#pubkey_fingerprints", + "recipient": "https://w3id.org/ro/terms/gpg#recipient", + "keyserver": "https://w3id.org/ro/terms/gpg#keyserver", + "recipientOf": "https://w3id.org/ro/terms/gpg#EncryptedGraphMessage" + } +} \ No newline at end of file diff --git a/gpg/readme.md b/gpg/readme.md new file mode 100644 index 0000000..d5ea2b0 --- /dev/null +++ b/gpg/readme.md @@ -0,0 +1,7 @@ +### GPG-Crate + +A Namespace for GPG-Encrypted Crates. +Crate Profile: + +Maintainer: +- @JLoveUOA \ No newline at end of file diff --git a/gpg/vocabulary.csv b/gpg/vocabulary.csv new file mode 100644 index 0000000..778768b --- /dev/null +++ b/gpg/vocabulary.csv @@ -0,0 +1,7 @@ +term,type,label,description,domain,range +EncryptedContextEntity,Class,EncryptedContextEntity,"""A context entity that should be encrypted when written""",, +EncryptedGraphMessage,Class,EncryptedGraphMessage,"""A message containing an encrypted section of RO-Crate @graph""",, +pubkeyFingerprints,Property,pubkeyFingerprints,"""Fingerprints that refer to GPG public keys""","ContactPoint,Person,Audience",string +recipient,Property,recipient,"""Recipient of a GPG message""","EncryptedContextEntity,EncryptedGraphMessage","ContactPoint,Person,Audience" +keyserver,Property,keyserver,“Keyserver address for retrieval of GPG public keys”,"ContactPoint,Person,Audience",URL +recipientOf,Property,recipientOf,"""Message this entity is a recipent of, inverse of recipient""","ContactPoint,Person,Audience","EncryptedContextEntity,EncryptedGraphMessage" From 51891f17ff11c8e267d1bb6e5c93491081c9100c Mon Sep 17 00:00:00 2001 From: JloveUOA Date: Wed, 2 Oct 2024 14:24:56 +1300 Subject: [PATCH 2/3] add link to profile --- gpg/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpg/readme.md b/gpg/readme.md index d5ea2b0..aa50a2d 100644 --- a/gpg/readme.md +++ b/gpg/readme.md @@ -1,7 +1,7 @@ ### GPG-Crate A Namespace for GPG-Encrypted Crates. -Crate Profile: +[Crate Profile (DRAFT)](https://uoa-eresearch.github.io/GPG-ro-crate-profile/) Maintainer: - @JLoveUOA \ No newline at end of file From 513b8671ebf68f3c3c2de724d26036d7890564d6 Mon Sep 17 00:00:00 2001 From: JloveUOA Date: Mon, 7 Oct 2024 13:30:47 +1300 Subject: [PATCH 3/3] change gpg namespace to openpgp namespace --- gpg/context.json | 10 ---------- gpg/context.jsonld | 10 ---------- gpg/readme.md | 7 ------- openpgp/context.json | 10 ++++++++++ openpgp/context.jsonld | 10 ++++++++++ openpgp/readme.md | 10 ++++++++++ {gpg => openpgp}/vocabulary.csv | 4 ++-- 7 files changed, 32 insertions(+), 29 deletions(-) delete mode 100644 gpg/context.json delete mode 100644 gpg/context.jsonld delete mode 100644 gpg/readme.md create mode 100644 openpgp/context.json create mode 100644 openpgp/context.jsonld create mode 100644 openpgp/readme.md rename {gpg => openpgp}/vocabulary.csv (62%) diff --git a/gpg/context.json b/gpg/context.json deleted file mode 100644 index 1d72e3b..0000000 --- a/gpg/context.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "@context": { - "EncryptedContextEntity": "https://w3id.org/ro/terms/gpg#EncryptedContextEntity", - "EncryptedGraphMessage": "https://w3id.org/ro/terms/gpg#EncryptedGraphMessage", - "pubkey_fingerprints": "https://w3id.org/ro/terms/gpg#pubkey_fingerprints", - "recipient": "https://w3id.org/ro/terms/gpg#recipient", - "keyserver": "https://w3id.org/ro/terms/gpg#keyserver", - "recipientOf": "https://w3id.org/ro/terms/gpg#EncryptedGraphMessage" - } -} \ No newline at end of file diff --git a/gpg/context.jsonld b/gpg/context.jsonld deleted file mode 100644 index 1d72e3b..0000000 --- a/gpg/context.jsonld +++ /dev/null @@ -1,10 +0,0 @@ -{ - "@context": { - "EncryptedContextEntity": "https://w3id.org/ro/terms/gpg#EncryptedContextEntity", - "EncryptedGraphMessage": "https://w3id.org/ro/terms/gpg#EncryptedGraphMessage", - "pubkey_fingerprints": "https://w3id.org/ro/terms/gpg#pubkey_fingerprints", - "recipient": "https://w3id.org/ro/terms/gpg#recipient", - "keyserver": "https://w3id.org/ro/terms/gpg#keyserver", - "recipientOf": "https://w3id.org/ro/terms/gpg#EncryptedGraphMessage" - } -} \ No newline at end of file diff --git a/gpg/readme.md b/gpg/readme.md deleted file mode 100644 index aa50a2d..0000000 --- a/gpg/readme.md +++ /dev/null @@ -1,7 +0,0 @@ -### GPG-Crate - -A Namespace for GPG-Encrypted Crates. -[Crate Profile (DRAFT)](https://uoa-eresearch.github.io/GPG-ro-crate-profile/) - -Maintainer: -- @JLoveUOA \ No newline at end of file diff --git a/openpgp/context.json b/openpgp/context.json new file mode 100644 index 0000000..a9ba514 --- /dev/null +++ b/openpgp/context.json @@ -0,0 +1,10 @@ +{ + "@context": { + "EncryptedContextEntity": "https://w3id.org/ro/terms/openpgp#EncryptedContextEntity", + "EncryptedGraphMessage": "https://w3id.org/ro/terms/openpgp#EncryptedGraphMessage", + "pubkey_fingerprints": "https://w3id.org/ro/terms/openpgp#pubkey_fingerprints", + "encryptedTo": "https://w3id.org/ro/terms/openpgp#encryptedTo", + "keyserver": "https://w3id.org/ro/terms/openpgp#keyserver", + "encryptedFor": "https://w3id.org/ro/terms/openpgp#encryptedFor" + } +} \ No newline at end of file diff --git a/openpgp/context.jsonld b/openpgp/context.jsonld new file mode 100644 index 0000000..a9ba514 --- /dev/null +++ b/openpgp/context.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "EncryptedContextEntity": "https://w3id.org/ro/terms/openpgp#EncryptedContextEntity", + "EncryptedGraphMessage": "https://w3id.org/ro/terms/openpgp#EncryptedGraphMessage", + "pubkey_fingerprints": "https://w3id.org/ro/terms/openpgp#pubkey_fingerprints", + "encryptedTo": "https://w3id.org/ro/terms/openpgp#encryptedTo", + "keyserver": "https://w3id.org/ro/terms/openpgp#keyserver", + "encryptedFor": "https://w3id.org/ro/terms/openpgp#encryptedFor" + } +} \ No newline at end of file diff --git a/openpgp/readme.md b/openpgp/readme.md new file mode 100644 index 0000000..ea586b8 --- /dev/null +++ b/openpgp/readme.md @@ -0,0 +1,10 @@ +### openPGP-Crate + +A Namespace for [OpenPGP](https://www.rfc-editor.org/rfc/rfc9580.html)-Encrypted Crates. +PGP encryption is provided by [GNUPGP](https://gnupg.org/) in the current implementation. + + +[Crate Profile (DRAFT)](https://uoa-eresearch.github.io/GPG-ro-crate-profile/) + +Maintainer: +- @JLoveUOA \ No newline at end of file diff --git a/gpg/vocabulary.csv b/openpgp/vocabulary.csv similarity index 62% rename from gpg/vocabulary.csv rename to openpgp/vocabulary.csv index 778768b..c2a6e93 100644 --- a/gpg/vocabulary.csv +++ b/openpgp/vocabulary.csv @@ -2,6 +2,6 @@ term,type,label,description,domain,range EncryptedContextEntity,Class,EncryptedContextEntity,"""A context entity that should be encrypted when written""",, EncryptedGraphMessage,Class,EncryptedGraphMessage,"""A message containing an encrypted section of RO-Crate @graph""",, pubkeyFingerprints,Property,pubkeyFingerprints,"""Fingerprints that refer to GPG public keys""","ContactPoint,Person,Audience",string -recipient,Property,recipient,"""Recipient of a GPG message""","EncryptedContextEntity,EncryptedGraphMessage","ContactPoint,Person,Audience" +encryptedTo,Property,encryptedTo,"""Recipient of a GPG message""","EncryptedContextEntity,EncryptedGraphMessage","ContactPoint,Person,Audience" keyserver,Property,keyserver,“Keyserver address for retrieval of GPG public keys”,"ContactPoint,Person,Audience",URL -recipientOf,Property,recipientOf,"""Message this entity is a recipent of, inverse of recipient""","ContactPoint,Person,Audience","EncryptedContextEntity,EncryptedGraphMessage" +encryptedFor,Property,encryptedFor,"""Message this entity is a recipient of, inverse of recipient""","ContactPoint,Person,Audience","EncryptedContextEntity,EncryptedGraphMessage"