Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add namespace for GPG crates #32

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions openpgp/context.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
10 changes: 10 additions & 0 deletions openpgp/context.jsonld
Original file line number Diff line number Diff line change
@@ -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"
}
}
10 changes: 10 additions & 0 deletions openpgp/readme.md
Original file line number Diff line number Diff line change
@@ -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
7 changes: 7 additions & 0 deletions openpgp/vocabulary.csv
Original file line number Diff line number Diff line change
@@ -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
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
encryptedFor,Property,encryptedFor,"""Message this entity is a recipient of, inverse of recipient""","ContactPoint,Person,Audience","EncryptedContextEntity,EncryptedGraphMessage"