Can you please unset AWS_PROFILE as well (or instead)?
It's documented here:
https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html
I'm not sure where AWS_DEFAULT_PROFILE comes from - I've seen AWS_DEFAULT_REGION documented but not the first one.
I guess it must do something if it works for people. It make my pedantic brain explode a bit since it exists to override the default region, and makes no sense in any context where there isn't an existing profile configured via ~/.aws/config. Maybe it's possible to have that file exist without a [default] section, that would make sense. AWS authentication and authorization models are a many layered rotting onion.
Anyway, thanks for coming to my ted talk.
Pinned Comments
kstolp commented on 2024-10-23 05:14 (UTC)
If you receive this error when trying to build, it is because you have not imported the GPG keys used for verification.
You have two options:
1) Import the key into your keyring. ArchWiki article. The key is available in this repo, which is copied from the AWS documentation. e.g.
gpg --import keys/pgp/FB5DB77FD5C118B80511ADA8A6310ACC4672475C.asc
. (recommended)2) Alternatively, you can skip this verification by passing the
--skippgpcheck
argument tomakepkg
when building. (not recommended)