Skip to content

Commit

Permalink
Update signatures and proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
ocdtrekkie committed Feb 21, 2023
1 parent c5bbe69 commit c154990
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 37 deletions.
2 changes: 1 addition & 1 deletion .sandstorm/changeLog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## v2023.01.25 (4.9.8)
## v2023.02.20 (4.9.8)
- Add support for external network requests using the Sandstorm Powerbox.
- Updated environment and fixed bitrot
## v2018.09.11 (4.9.8)
Expand Down
Binary file modified .sandstorm/pgp-keyring
Binary file not shown.
Binary file modified .sandstorm/pgp-signature
Binary file not shown.
30 changes: 1 addition & 29 deletions .sandstorm/sandstorm-pkgdef.capnp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const pkgdef :Spk.PackageDefinition = (

appVersion = 17, # Increment this for every release.

appMarketingVersion = (defaultText = "v2023.01.25 (4.9.8)"),
appMarketingVersion = (defaultText = "v2023.02.20 (4.9.8)"),
# Human-readable representation of appVersion. Should match the way you
# identify versions of your app in documentation and marketing.

Expand Down Expand Up @@ -58,43 +58,15 @@ const pkgdef :Spk.PackageDefinition = (
categories = [webPublishing,],

author = (
# Fields relating to the author of this app.

contactEmail = "inbox@jacobweisz.com",
# Email address to contact for any issues with this app. This includes end-user support
# requests as well as app store administrator requests, so it is very important that this be a
# valid address with someone paying attention to it.

pgpSignature = embed "pgp-signature",
# PGP signature attesting responsibility for the app ID. This is a binary-format detached
# signature of the following ASCII message (not including the quotes, no newlines, and
# replacing <app-id> with the standard base-32 text format of the app's ID):
#
# "I am the author of the Sandstorm.io app with the following ID: <app-id>"
#
# You can create a signature file using `gpg` like so:
#
# echo -n "I am the author of the Sandstorm.io app with the following ID: <app-id>" | gpg --sign > pgp-signature
#
# Further details including how to set up GPG and how to use keybase.io can be found
# at https://docs.sandstorm.io/en/latest/developing/publishing-apps/#verify-your-identity

upstreamAuthor = "WordPress Project",
# Name of the original primary author of this app, if it is different from the person who
# produced the Sandstorm package. Setting this implies that the author connected to the PGP
# signature only "packaged" the app for Sandstorm, rather than developing the app.
# Remove this line if you consider yourself as the author of the app.
),

pgpKeyring = embed "pgp-keyring",
# A keyring in GPG keyring format containing all public keys needed to verify PGP signatures in
# this manifest (as of this writing, there is only one: `author.pgpSignature`).
#
# To generate a keyring containing just your public key, do:
#
# gpg --export <key-id> > keyring
#
# Where `<key-id>` is a PGP key ID or email address associated with the key.

description = (defaultText = embed "description.md"),
# The app's description in Github-flavored Markdown format, to be displayed e.g.
Expand Down
7 changes: 1 addition & 6 deletions .sandstorm/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,7 @@ echo 'export PATH=/usr/local/go/bin:$PATH' > /etc/profile.d/go.sh
# Get the same version next time
/usr/local/go/bin/go version | cut -d ' ' -f 3 > /opt/app/.sandstorm/go-version

# Install node, to build the client-side part of the powerbox server:
apt-get install -y apt-transport-https
curl -sL https://deb.nodesource.com/setup_14.x | bash -
apt-get install -y nodejs

cd /opt && git clone https://github.com/zenhack/powerbox-http-proxy
cd /opt/powerbox-http-proxy && /usr/local/go/bin/go build && npm install && npm run build
cd /opt/powerbox-http-proxy && /usr/local/go/bin/go build

exit 0
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ wordpress-read-only: $(git_repo_dir)/wordpress/.git
cp -r $(git_repo_dir)/wordpress wordpress-read-only
rm -rf wordpress-read-only/.git
cp wp-config.php wordpress-read-only/
cp /opt/powerbox-http-proxy/build/index.js wordpress-read-only/powerbox.js
cp /opt/powerbox-http-proxy/powerbox-http-proxy.js wordpress-read-only/powerbox.js
mv wordpress-read-only/wp-content wordpress-read-only/wp-content-read-only
ln -s /var/wordpress/wp-content wordpress-read-only/wp-content
cp read-only-plugins/sqlite-integration/db.php wordpress-read-only/wp-content-read-only/
Expand Down

0 comments on commit c154990

Please sign in to comment.