Skip to content

Commit 23a58b9

Browse files
authored
Update url to use an https url for better security (ros2#299)
* Update url to use an https url for better security
1 parent 11fd05a commit 23a58b9

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

source/Contributing/CI-Server-Setup.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Install stuff (needed on master and slaves)
7373
# qemu and vcs are required for ARM builds
7474
sudo apt install -y qemu-user-static
7575
sudo bash -c 'echo "deb http://repositories.ros.org/ubuntu/testing/ `lsb_release -cs` main" > /etc/apt/sources.list.d/ros-latest.list'
76-
sudo bash -c 'curl --silent http://repositories.ros.org/repos.key |sudo apt-key add -'
76+
sudo bash -c 'curl --silent https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc |sudo apt-key add -'
7777
# Or, on aarch64:
7878
#sudo apt install docker.io
7979
sudo apt update

source/Contributing/Set-up-a-new-Linux-CI-node.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ In short, make sure the jenkins master can ssh into the new node and run docker.
4848
sudo apt install -y git
4949
sudo apt install -y openjdk-8-jre-headless
5050
sudo bash -c 'echo "deb http://repositories.ros.org/ubuntu/testing/ `lsb_release -cs` main" > /etc/apt/sources.list.d/ros-latest.list'
51-
sudo bash -c 'curl --silent http://repositories.ros.org/repos.key |sudo apt-key add -'
51+
sudo bash -c 'curl --silent https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc |sudo apt-key add -'
5252
sudo apt update
5353
sudo apt install -y python-vcstool
5454
curl -fsSL https://get.docker.com/ | sh

source/Installation/Crystal/Linux-Install-Debians.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ First you will need to authorize our gpg key with apt like this:
4747
.. code-block:: bash
4848
4949
sudo apt update && sudo apt install curl gnupg2 lsb-release
50-
curl http://repo.ros2.org/repos.key | sudo apt-key add -
50+
curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -
5151
5252
And then add the repository to your sources list:
5353

source/Installation/Dashing/Linux-Install-Debians.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ First you will need to authorize our gpg key with apt like this:
4040
.. code-block:: bash
4141
4242
sudo apt update && sudo apt install curl gnupg2 lsb-release
43-
curl http://repo.ros2.org/repos.key | sudo apt-key add -
43+
curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -
4444
4545
And then add the repository to your sources list:
4646

0 commit comments

Comments
 (0)