There are multiple uses for keys.
I've published a key so that people can verify the signatures on some software releases. I don't expect anyone to try sending me an email encrypted with that key. And I really wouldn't expect such an email to work.
I've published a key so that people can verify the signatures on some software releases. I don't expect anyone to try sending me an email encrypted with that key. And I really wouldn't expect such an email to work.
https://datatracker.ietf.org/doc/html/rfc4880#section-5.2.3....
I believe separate keys for encryption and signing is the default in most implementations.