Question: I am trying to push my staging repository on `oss.sonatype.org` to central repository, but this action is getting failed and i am getting following exception

```
Event: Failed: Signature Validation
typeId  signature-staging
failureMessage  No public key: Key with id: (XXXXX) was not able to be located on http://keyserver.ubuntu.com:11371. Upload your public key and try the operation again.

```

I used `gbp` to generate public and well private key for me and i even sent public key to the server with following command

```
gpg --keyserver hkp://pool.sks-keyservers.net --send-keys EE539F98

```

Still i am getting same exception.I cross checked and there is only one `Sub Key`, not sure what else i need to do to push public key so as this can be found by nexus

Answer: 
I got the error message:

> 
> No public key: Key with id: (xxxx) was not able to be
>  located on <http://keyserver.ubuntu.com:port>. Upload your public key
>  and try the operation again.
> 
> 
> 

Then i entered the following command on console:

```
gpg --keyserver hkp://keyserver.ubuntu.com --send-keys xxxx

```

(removed the :port from the end of the hostname)
It works!
```
gpg --keyserver hkp://keys.openpgp.org --send-keys your_public_key

```

I then retrived an email and cheked this key at <https://keys.openpgp.org/>