Skip to content

Commit 00dc614

Browse files
Update bash.sh
1 parent aaba0a8 commit 00dc614

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

var/www/repo/bash.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,18 @@ apm install hello-world
3030
# apm verifies:
3131
# - SHA256 hash from index.json
3232
# - GPG signature on package + index
33+
# Import repo public key (once)
34+
gpg --import aura-public.gpg
35+
36+
# Install package
37+
apm install hello-world
38+
39+
# apm verifies:
40+
# - SHA256 hash from index.json
41+
# - GPG signature on package + index
42+
# Generate Aura signing key
43+
gpg --quick-gen-key "AuraOS Repo <repo@auraos.org>" rsa4096 sign 1y
44+
45+
# Export public key for clients
46+
gpg --armor --export "AuraOS Repo" > /var/www/repo/keys/aura-public.gpg
47+

0 commit comments

Comments
 (0)