Coder-Spirit / Jupyter-PHP-Installer

An installer for Jupyter-PHP
MIT License
43 stars 20 forks source link

Invalid public key? #10

Open expz opened 8 years ago

expz commented 8 years ago

The public key seems to be invalid. Setup:

docker run -it --rm php:5.5 bash
curl -O https://litipk.github.io/Jupyter-PHP-Installer/dist/jupyter-php-installer.signed.phar
curl -O https://litipk.github.io/Jupyter-PHP-Installer/dist/jupyter-php-installer.signed.phar.sha256
curl -O https://litipk.github.io/Jupyter-PHP-Installer/dist/jupyter-php-installer.signed.phar.pubkey
curl -O https://litipk.github.io/Jupyter-PHP-Installer/dist/jupyter-php-installer.signed.phar.pubkey.sha256
sha256sum -c jupyter-php-installer.signed.phar.sha256
sha256sum -c jupyter-php-installer.signed.phar.pubkey.sha256

Try to import the public key:

gpg --import jupyter-php-installer.signed.phar.pubkey

output:

gpg: directory `/root/.gnupg' created
gpg: new configuration file `/root/.gnupg/gpg.conf' created
gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run
gpg: keyring `/root/.gnupg/secring.gpg' created
gpg: keyring `/root/.gnupg/pubring.gpg' created
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0

Also, checking the key with ssh-keygen returns an error saying it is not a key:

apt-get update && apt-get install -y ssh
ssh-keygen -l -f jupyter-php-installer.signed.phar.pubkey

output:

jupyter-php-installer.signed.phar.pubkey is not a public key file.
castarco commented 8 years ago

Hello @expz , thank you for your report, and excuse me for my late response. I'll dig into this issue to see what's happening (at most 24h since now [2016/07/12 08:48 UTC+2])

expz commented 8 years ago

Thanks. I used the unsigned version as a workaround for now.

castarco commented 7 years ago

I've seen that the problem appears because the public keys are not being updated on the deploy process.