← Go back to Securepub Status

Evaluate Pgs.sh (2)

January 8, 2024 at 4:00 PM UTC

pgs.sh SPA pgs.sh Status


Goals

Requirements

Previous Steps

Steps Taken

■ receive response on #pico.sh
    [06:12am] erock: pareidoliac: you now have access to pgs

■ verify with ssh
  % ssh pgs.sh help ╶╶╶╶╶╶╶╶╶╶╶ works now

■ copy test files to pgs.sh
  - create test files
  % scp -r * pgs.sh:/pgssh-test

■ open test link https://securepub-pgssh-test.pgs.sh/index.html
  - observe CSP issue

■ report on #pico.sh
    [08:58am] pareidoliac: erock: I deployed a trivial https://securepub-pgssh-test.pgs.sh
              but am seeing same CSP issue I experienced on sourcehut.
    [08:59am] pareidoliac: erock: Refused to connect to https://securepub-org.goatcounter.com...
    [08:59am] pareidoliac: erock: because it violates the following
              Content Security Policy directive: "default-src 'self'".
    [09:00am] erock: pareidoliac: got it we will accommodate you
    [09:04am] erock: pareidoliac: actually, i think the solution for you is to
              use your own domain: https://github.com/picosh/pico/pull/57

■ update DNS

    Type      Domain                     Data                   TTL        
    ───────── ────────────────────────── ────────────────────── ─────────
    A         app.securepub.org          pgs.sh                 5 minutes  
    TXT       _pgs.app.securepub.org     securepub              5 minutes  


■ test https://app.securepub.org
  - not working

■ report on #pico.sh
    [09:26am] erock: in the TXT you need to provide the project as well
    [09:26am] erock: "securepub-pgssh-test"

■ update DNS

    Type      Domain                     Data                   TTL        
    ───────── ────────────────────────── ────────────────────── ─────────
    A         app.securepub.org          pgs.sh                 5 minutes  
    TXT       _pgs.app.securepub.org     securepub-pgssh-test   5 minutes  
                                         ━━━━━━━━━ ━━━━━━━━━━
					 username  project

■ https://app.securepub.org works now

See also

Last updated: January 13, 2024 at 8:36 PM UTC