git.iko.soy/typeable/nixpkgs
on master help sign in
firefox-bin/update: hard-code Mozilla's pubkey

Mozilla has ended the gpg.mozilla.org SKS server and the key can't be imported from keys.openpgp.org because it lacks a user ID because Mozilla hasn't verified their email... Since the key isn't going to change any time soon and SKS is mostly busted, might as well hard-code it.

commit2b44f5640bf07a14dcb8c0dd5b8c410f205a4f09 authorAtemu <atemu.main@gmail.com> dateSun 20 Sep 2020, 20:05 (6 years ago) parent03860e0
2 files changed+2−1
pkgs/applications/networking/browsers/firefox-bin/mozilla.asc pkgs/applications/networking/browsers/firefox-bin/update.nix+2−1
pkgs/applications/networking/browsers/firefox-bin/mozilla.ascnew file

Binary file not shown.

pkgs/applications/networking/browsers/firefox-bin/update.nix+2−1
@@ -25,7 +25,8 @@ in writeScript "update-${name}" ''
2525
2626 HOME=`mktemp -d`
2727 export GNUPGHOME=`mktemp -d`
28− gpg --keyserver hkps://gpg.mozilla.org --recv-keys 14F26682D0916CDD81E37B6D61B7B526D98F0353
28+
29+ gpg --import ${./mozilla.asc}
2930
3031 tmpfile=`mktemp`
3132 url=${baseUrl}