Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)). #74

Closed
mammarelm7 opened this issue Feb 24, 2021 · 0 comments · Fixed by #80

Comments

@mammarelm7
Copy link

When using apt 2.1.18 after doing apt --assume-yes upgrade, apt-key is deprecated and pointless.gpg is in an unsupported format to use in trusted.gpg.d

~ $ apt -v 
apt 2.1.18 (aarch64)

Output when using apt-key add which is used in https://its-pointless.github.io/setup-pointless-repo.sh

~ $  curl -sL https://its-pointless.github.io/pointless.gpg | apt-key add -
~ $  apt update
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).

Output when trying to use key in trusted.gpg.d

~ $ curl -sL https://its-pointless.github.io/pointless.gpg > $PREFIX/etc/apt/trusted.gpg.d/pointless.gpg
~ $  apt update
https://its-pointless.github.io/files/24/dists/termux/InRelease: The key(s) in the keyring /data/data/com.termux/files/usr/etc/apt/trusted.gpg.d/pointless.gpg are ignored as the file has an unsupported filetype.

Output when looking at the filetype for pointless.gpg

~ $ file $PREFIX/etc/apt/trusted.gpg.d/pointless.gpg
/data/data/com.termux/files/usr/etc/apt/trusted.gpg.d/pointless.gpg: PGP public key block Public-Key (old)

Output when looking at the filetype of another key in the trusted.gpg.d which works

~ $ file $PREFIX/etc/apt/trusted.gpg.d/grimler.gpg
/data/data/com.termux/files/usr/etc/apt/trusted.gpg.d/grimler.gpg: PGP/GPG key public ring (v4) created Wed Jan  4 18:06:20 2017 RSA (Encrypt or Sign) 2048 bits MPI=0xa557bc8a1cdc9e66...

Can you provide an alternate pointless.gpg which will work with newer versions of apt?

its-pointless pushed a commit that referenced this issue Apr 11, 2021
* add IPFS detection, fix #74

* serverside dearmor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant