bpkg / get.bpkg.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SSL for get.bpkg.sh

francescobianco opened this issue · comments

If I try to install with CURL from HTTPS it still pending because no HTTPS is supported

$ curl -sLo- https://get.bpkg.sh | bash

not work by HTTPS protocol

Hi! Thank you for bringing this to our attention.

Until this is resolved, the best workaround is to curl to the source, as http://get.bpkg.sh is basically just a redirect to https://raw.githubusercontent.com/bpkg/bpkg/master/setup.sh

At the moment you can also use https://www.bpkg.sh/bpkg/setup.sh 1

curl -sLo- https://www.bpkg.sh/bpkg/setup.sh | bash

1 That is the same file but hosted through Github Pages

@jwerle Is there much work involved to set up SSL for get.bpkg.sh? And/Or is there any way I can assist?

Today my solution for a similar project was based on a Caddy server used as a proxy in a cheap VPS

This is the codebase for the proxy
https://github.com/javanile/ionos-proxy

This is a project using the proxy
https://github.com/javanile/binst.tk

@Potherca I think we can just have the get.bpkg.sh CNAME and domain set for https://github.com/bpkg/bpkg

@Potherca actually it won't be that simple :(

thank you @francescobianco !
I used that approach to setup https://github.com/bpkg/get.bpkg.sh for https://get.bpkg.sh/ (SSL/TLS certificate pending)