Archive

Posts Tagged ‘gpg’

brave browser – The following signatures were invalid: EXPKEYSIG 4FE13824E3FFC656 Brave Software

April 30, 2019 Leave a comment

Problem:
Got the following error when trying to update. Mainly an issue with brave browser.


$ sudo apt-get update
...
snip
...
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://brave-browser-apt-release.s3.brave.com bionic InRelease: The following signatures were invalid: EXPKEYSIG 4FE13824E3FFC656 Brave Software
W: Failed to fetch https://brave-browser-apt-release.s3.brave.com/dists/bionic/InRelease The following signatures were invalid: EXPKEYSIG 4FE13824E3FFC656 Brave Software
W: Some index files failed to download. They have been ignored, or old ones used instead

Solution:
$ gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv 4FE13824E3FFC656
$ gpg --export --armor 4FE13824E3FFC656 | sudo apt-key add -

Source:
https://askubuntu.com/questions/13065/how-do-i-fix-the-gpg-error-no-pubkey

Note:
Running on Ubuntu 18.0

Advertisements

gpg

October 28, 2015 Leave a comment

Notes

$ gpg –local-user -a –detach-sign

$ gpg –fingerprint

$ gpg –send-key –keyserver hkp://keys.gnupg.net

To get your public key
$ gpg gpg –armor –export

To decrypt file that was shared with you
$ gpg –output


For this version of gpg

gpg (GnuPG/MacGPG2) 2.0.28
libgcrypt 1.6.3
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Categories: bash Tags: