labriqueinternet / torclient_ynh

Tor Client app for YunoHost - No more supported
GNU Affero General Public License v3.0
9 stars 3 forks source link

GPG warning with Jessie repo #14

Closed jvaubourg closed 9 years ago

jvaubourg commented 9 years ago

Since we changed the release from Wheezy to Jessie, we have this warning (non-blocking) at the installation step:

W: GPG error: http://deb.torproject.org jessie InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 74A941BA219EC810

sbadia commented 9 years ago

Fixed in #15 (thanks Yoshi! cf. this mail)

❯ docker run -i -t debian:jessie /bin/bash
root@34b1e5c3330f:/# echo 'deb http://deb.torproject.org/torproject.org jessie main' | tee "/etc/apt/sources.list.d/torproject.list"
deb http://deb.torproject.org/torproject.org jessie main
root@34b1e5c3330f:/# apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xee8cbc9e886ddd89
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.cSiPe6yJrj --no-auto-check-trustdb --trust-model always --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-security-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-stable.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-squeeze-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-squeeze-stable.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-wheezy-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-wheezy-stable.gpg --recv-keys --keyserver keyserver.ubuntu.com 0xee8cbc9e886ddd89
gpg: requesting key 886DDD89 from hkp server keyserver.ubuntu.com
gpg: key 886DDD89: public key "deb.torproject.org archive signing key" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
root@34b1e5c3330f:/# apt-get update
Get:1 http://security.debian.org jessie/updates InRelease [63.1 kB]
Get:2 http://deb.torproject.org jessie InRelease [4246 B]                                  
Get:3 http://httpredir.debian.org jessie InRelease [134 kB]                             
Get:4 http://httpredir.debian.org jessie-updates InRelease [123 kB]
Get:5 http://security.debian.org jessie/updates/main amd64 Packages [148 kB]
Get:6 http://deb.torproject.org jessie/main amd64 Packages [2326 B]     
Get:7 http://httpredir.debian.org jessie/main amd64 Packages [9038 kB]
Get:8 http://httpredir.debian.org jessie-updates/main amd64 Packages [3616 B]
Fetched 9516 kB in 2s (3250 kB/s)                   
Reading package lists... Done
root@34b1e5c3330f:/# apt-get --assume-yes --force-yes install tor
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
[… snip …]
After this operation, 61.8 MB of additional disk space will be used.
Get:1 http://deb.torproject.org/torproject.org/ jessie/main tor amd64 0.2.6.10-1~d80.jessie+1 [1176 kB]
[… snip …]