Skip to content

Commit 5daf9f7

Browse files
authored
Use Secure WebSocket (#180)
Resolution for CLN-001. * Use Secure WebSocket * update pubsub image * update websocket client code * update to https
1 parent 7ff13b8 commit 5daf9f7

File tree

5 files changed

+228
-88
lines changed

5 files changed

+228
-88
lines changed

.github/workflows/solid-tests-suites.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Solid Test Suites
33

44
env:
55
# Docker Hub digest (i.e. hash) of the used Docker Images that do not have a version tag.
6-
PUBSUB_TAG: latest@sha256:35166933e3d30bde801fd156bd2f21ebba9cdeca464ebd574c6be4cdb14d35cd
6+
PUBSUB_TAG: latest@sha256:b73a2a5c98d2005bb667dfc69d1c859d704366024298b9caa24ea2e182c456c2
77
COOKIE_TAG: latest@sha256:c71a3947f97d96ce09823743182582e0d919738be0d4ef5c8c55a9c22c615b91
88

99
on:
@@ -153,6 +153,10 @@ jobs:
153153
--env-file ./env-vars-testers.list \
154154
${{ matrix.test }}
155155
156+
# - name: Setup tmate session - ${{ matrix.test }}
157+
# if: failure()
158+
# uses: mxschmitt/action-tmate@v3
159+
156160
- name: Show nextcloud logs - ${{ matrix.test }}
157161
if: always()
158162
run: |

env-vars-server.list

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ ALICE_WEBID=https://server/apps/solid/~alice/profile/card#me
44
COOKIE_TYPE=nextcloud-compatible
55
USERNAME=alice
66
PASSWORD=alice123
7-
PUBSUB_URL=http://pubsub:8080
7+
PUBSUB_URL=https://pubsub:8080

solid/composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@
3131
"lcobucci/jwt": "^4.1",
3232
"pdsinterop/flysystem-nextcloud": "^0.2",
3333
"pdsinterop/flysystem-rdf": "^0.6",
34-
"pdsinterop/solid-auth": "^0.12.2",
34+
"pdsinterop/solid-auth": "^0.13",
3535
"pdsinterop/solid-crud": "^0.8",
36+
"phrity/websocket": "^3.5",
3637
"psr/log": "^1.1"
3738
},
3839
"require-dev": {

0 commit comments

Comments
 (0)