# ROS GPG Key Change

**URL:** <https://forum.ubiquityrobotics.com/t/ros-gpg-key-change/320>\
**Category:** Annoucements\
**Created:** [June 18, 2019, 4:52am UTC](https://forum.ubiquityrobotics.com/t/ros-gpg-key-change/320 "2019-06-18T04:52:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rohbotics](https://forum.ubiquityrobotics.com/user_avatar/forum.ubiquityrobotics.com/rohbotics/32/222_2.png) [@rohbotics](https://forum.ubiquityrobotics.com/u/rohbotics)\
**Post date:** [June 18, 2019, 4:52am UTC](https://forum.ubiquityrobotics.com/t/ros-gpg-key-change/320/1 "2019-06-18T04:52:46Z")

</div>

Hey All,

The ROS buildfarm recently changed its GPG signing key out of security concerns. This means that you have to add the new key to your trusted list, and remove the old one.

On both the robot and your workstation you need to add the new key:

```auto
sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654

```

And remove the old one:

```auto
sudo apt-key del 421C365BD9FF1F717815A3895523BAEEB01FA116

```

More info here:

> **[New GPG keys deployed for packages.ros.org](https://discourse.ros.org/t/new-gpg-keys-deployed-for-packages-ros-org/9454)**
>
> As a follow up to Security issue on ROS build farm we have now deployed new GPG keys to packages.ros.org. This will require anyone using packages.ros.org to update your trusted GPG keys to be able to update packages going forward. tldr; At this...
