mirror of
https://github.com/rclone/rclone.git
synced 2025-01-13 20:38:12 +02:00
parent
2a6675cffd
commit
e8879f3e77
@ -5,9 +5,10 @@ package selfupdate
|
||||
|
||||
// Note: "|" will be replaced by backticks in the help string below
|
||||
var selfUpdateHelp = `
|
||||
This command downloads the latest release of rclone and replaces
|
||||
the currently running binary. The download is verified with a hashsum
|
||||
and cryptographically signed signature.
|
||||
This command downloads the latest release of rclone and replaces the
|
||||
currently running binary. The download is verified with a hashsum and
|
||||
cryptographically signed signature; see [the release signing
|
||||
docs](/release_signing/) for details.
|
||||
|
||||
If used without flags (or with implied |--stable| flag), this command
|
||||
will install the latest stable release. However, some issues may be fixed
|
||||
@ -40,7 +41,7 @@ your OS) to update these too. This command with the default |--package zip|
|
||||
will update only the rclone executable so the local manual may become
|
||||
inaccurate after it.
|
||||
|
||||
The |rclone mount| command (https://rclone.org/commands/rclone_mount/) may
|
||||
The [rclone mount](/commands/rclone_mount/) command may
|
||||
or may not support extended FUSE options depending on the build and OS.
|
||||
|selfupdate| will refuse to update if the capability would be discarded.
|
||||
|
||||
|
138
docs/content/KEYS
Normal file
138
docs/content/KEYS
Normal file
@ -0,0 +1,138 @@
|
||||
This file contains the PGP keys that are and have been used to sign
|
||||
rclone releases.
|
||||
|
||||
Users: pgp < KEYS
|
||||
or
|
||||
gpg --import KEYS
|
||||
|
||||
Developers:
|
||||
pgp -kxa <your name> and append it to this file.
|
||||
or
|
||||
(pgpk -ll <your name> && pgpk -xa <your name>) >> this file.
|
||||
or
|
||||
(gpg --list-sigs <your name> && gpg --armor --export <your name>) >> this file.
|
||||
|
||||
pub dsa1024 2001-09-27 [SCA]
|
||||
FBF737ECE9F8AB18604BD2AC93935E02FF3B54FA
|
||||
uid [ultimate] Nick Craig-Wood <nick@craig-wood.com>
|
||||
sig 3 93935E02FF3B54FA 2001-09-27 Nick Craig-Wood <nick@craig-wood.com>
|
||||
sig 3 93935E02FF3B54FA 2020-02-03 Nick Craig-Wood <nick@craig-wood.com>
|
||||
sig 3 93935E02FF3B54FA 2001-09-27 Nick Craig-Wood <nick@craig-wood.com>
|
||||
sig A54E275E4248E016 2019-11-04 [User ID not found]
|
||||
sig CB0DBEBC5F32C81D 2023-09-03 Nick Craig-Wood <nick@craig-wood.com>
|
||||
sub elg2048 2001-09-27 [E]
|
||||
sig 93935E02FF3B54FA 2001-09-27 Nick Craig-Wood <nick@craig-wood.com>
|
||||
|
||||
pub rsa4096 2022-09-16 [SC]
|
||||
E3B358DC858FB307F48170B9CB0DBEBC5F32C81D
|
||||
uid [ultimate] Nick Craig-Wood <nick@craig-wood.com>
|
||||
sig 3 CB0DBEBC5F32C81D 2022-09-16 Nick Craig-Wood <nick@craig-wood.com>
|
||||
sig 93935E02FF3B54FA 2023-09-03 Nick Craig-Wood <nick@craig-wood.com>
|
||||
sub rsa4096 2022-09-16 [E]
|
||||
sig CB0DBEBC5F32C81D 2022-09-16 Nick Craig-Wood <nick@craig-wood.com>
|
||||
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
|
||||
mQGiBDuy3V0RBADVQOAF5aFiCxD3t2h6iAF2WMiaMlgZ6kX2i/u7addNkzX71VU9
|
||||
7NpI0SnsP5YWt+gEedST6OmFbtLfZWCR4KWn5XnNdjCMNhxaH6WccVqNm4ALPIqT
|
||||
59uVjkgf8RISmmoNJ1d+2wMWjQTUfwOEmoIgH6n+2MYNUKuctBrwAACflwCg1I1Q
|
||||
O/prv/5hczdpQCs+fL87DxsD/Rt7pIXvsIOZyQWbIhSvNpGalJuMkW5Jx92UjsE9
|
||||
1Ipo3Xr6SGRPgW9+NxAZAsiZfCX/19knAyNrN9blwL0rcPDnkhdGwK69kfjF+wq+
|
||||
QbogRGodbKhqY4v+cMNkKiemBuTQiWPkpKjifwNsD1fNjNKfDP3pJ64Yz7a4fuzV
|
||||
X1YwBACpKVuEen34lmcX6ziY4jq8rKibKBs4JjQCRO24kYoHDULVe+RS9krQWY5b
|
||||
e0foDhru4dsKccefK099G+WEzKV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jqMlCgCrggqtUzTgKYl1S/
|
||||
6jXcPGkEadKE/t3kelkupnlwlyVLxF7NaIrb8fAqCau0MWIh4g==
|
||||
=Iv9u
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
@ -29,6 +29,9 @@ See also [Android builds](https://beta.rclone.org/{{% version %}}/testbuilds/).
|
||||
These are built as part of the official release, but haven't been
|
||||
adopted as first class builds yet.
|
||||
|
||||
See [the release signing docs](/release_signing/) for how to verify
|
||||
signatures on the release.
|
||||
|
||||
## Script download and install ##
|
||||
|
||||
To install rclone on Linux/macOS/BSD systems, run:
|
||||
|
@ -22,6 +22,9 @@ run `rclone -h`.
|
||||
Already installed rclone can be easily updated to the latest version
|
||||
using the [rclone selfupdate](/commands/rclone_selfupdate/) command.
|
||||
|
||||
See [the release signing docs](/release_signing/) for how to verify
|
||||
signatures on the release.
|
||||
|
||||
## Script installation
|
||||
|
||||
To install rclone on Linux/macOS/BSD systems, run:
|
||||
|
158
docs/content/release_signing.md
Normal file
158
docs/content/release_signing.md
Normal file
@ -0,0 +1,158 @@
|
||||
---
|
||||
title: "Release Signing"
|
||||
description: "How the release is signed and how to check the signature."
|
||||
---
|
||||
|
||||
# Release signing
|
||||
|
||||
The hashes of the binary artefacts of the rclone release are signed
|
||||
with a public PGP/GPG key. This can be verified manually as described
|
||||
below.
|
||||
|
||||
The same mechanism is also used by [rclone selfupdate](/commands/rclone_selfupdate/)
|
||||
to verify that the release has not been tampered with before the new
|
||||
update is installed. This checks the SHA256 hash and the signature
|
||||
with a public key compiled into the rclone binary.
|
||||
|
||||
## Release signing key
|
||||
|
||||
You may obtain the release signing key from:
|
||||
|
||||
- From [KEYS](/KEYS) on this website - this file contains all past signing keys also.
|
||||
- The git repository hosted on GitHub - https://github.com/rclone/rclone/blob/master/docs/content/KEYS
|
||||
- `gpg --keyserver hkps://keys.openpgp.org --search nick@craig-wood.com`
|
||||
- `gpg --keyserver hkps://keyserver.ubuntu.com --search nick@craig-wood.com`
|
||||
- https://www.craig-wood.com/nick/pub/pgp-key.txt
|
||||
|
||||
After importing the key, verify that the fingerprint of one of the
|
||||
keys matches: `FBF737ECE9F8AB18604BD2AC93935E02FF3B54FA` as this key is used for signing.
|
||||
|
||||
We recommend that you cross-check the fingerprint shown above through
|
||||
the domains listed below. By cross-checking the integrity of the
|
||||
fingerprint across multiple domains you can be confident that you
|
||||
obtained the correct key.
|
||||
|
||||
- The [source for this page on GitHub](https://github.com/rclone/rclone/blob/master/docs/content/release_signing.md).
|
||||
- Through DNS `dig key.rclone.org txt`
|
||||
|
||||
If you find anything that doesn't not match, please contact the
|
||||
developers at once.
|
||||
|
||||
## How to verify the release
|
||||
|
||||
In the release directory you will see the release files and some files called `MD5SUMS`, `SHA1SUMS` and `SHA256SUMS`.
|
||||
|
||||
```
|
||||
$ rclone lsf --http-url https://downloads.rclone.org/v1.63.1 :http:
|
||||
MD5SUMS
|
||||
SHA1SUMS
|
||||
SHA256SUMS
|
||||
rclone-v1.63.1-freebsd-386.zip
|
||||
rclone-v1.63.1-freebsd-amd64.zip
|
||||
...
|
||||
rclone-v1.63.1-windows-arm64.zip
|
||||
rclone-v1.63.1.tar.gz
|
||||
version.txt
|
||||
```
|
||||
|
||||
The `MD5SUMS`, `SHA1SUMS` and `SHA256SUMS` contain hashes of the
|
||||
binary files in the release directory along with a signature.
|
||||
|
||||
For example:
|
||||
|
||||
```
|
||||
$ rclone cat --http-url https://downloads.rclone.org/v1.63.1 :http:SHA256SUMS
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA1
|
||||
|
||||
f6d1b2d7477475ce681bdce8cb56f7870f174cb6b2a9ac5d7b3764296ea4a113 rclone-v1.63.1-freebsd-386.zip
|
||||
7266febec1f01a25d6575de51c44ddf749071a4950a6384e4164954dff7ac37e rclone-v1.63.1-freebsd-amd64.zip
|
||||
...
|
||||
66ca083757fb22198309b73879831ed2b42309892394bf193ff95c75dff69c73 rclone-v1.63.1-windows-amd64.zip
|
||||
bbb47c16882b6c5f2e8c1b04229378e28f68734c613321ef0ea2263760f74cd0 rclone-v1.63.1-windows-arm64.zip
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iF0EARECAB0WIQT79zfs6firGGBL0qyTk14C/ztU+gUCZLVKJQAKCRCTk14C/ztU
|
||||
+pZuAJ0XJ+QWLP/3jCtkmgcgc4KAwd/rrwCcCRZQ7E+oye1FPY46HOVzCFU3L7g=
|
||||
=8qrL
|
||||
-----END PGP SIGNATURE-----
|
||||
```
|
||||
|
||||
### Download the files
|
||||
|
||||
The first step is to download the binary and SUMs file and verify that
|
||||
the SUMs you have downloaded match. Here we download
|
||||
`rclone-v1.63.1-windows-amd64.zip` - choose the binary (or binaries)
|
||||
appropriate to your architecture. We've also chosen the `SHA256SUMS`
|
||||
as these are the most secure. You could verify the other types of hash
|
||||
also for extra security. `rclone selfupdate` verifies just the
|
||||
`SHA256SUMS`.
|
||||
|
||||
```
|
||||
$ mkdir /tmp/check
|
||||
$ cd /tmp/check
|
||||
$ rclone copy --http-url https://downloads.rclone.org/v1.63.1 :http:SHA256SUMS .
|
||||
$ rclone copy --http-url https://downloads.rclone.org/v1.63.1 :http:rclone-v1.63.1-windows-amd64.zip .
|
||||
```
|
||||
|
||||
### Verify the signatures
|
||||
|
||||
First verify the signatures on the SHA256 file.
|
||||
|
||||
Import the key. See above for ways to verify this key is correct.
|
||||
|
||||
```
|
||||
$ gpg --keyserver keyserver.ubuntu.com --receive-keys FBF737ECE9F8AB18604BD2AC93935E02FF3B54FA
|
||||
gpg: key 93935E02FF3B54FA: public key "Nick Craig-Wood <nick@craig-wood.com>" imported
|
||||
gpg: Total number processed: 1
|
||||
gpg: imported: 1
|
||||
```
|
||||
|
||||
Then check the signature:
|
||||
|
||||
```
|
||||
$ gpg --verify SHA256SUMS
|
||||
gpg: Signature made Mon 17 Jul 2023 15:03:17 BST
|
||||
gpg: using DSA key FBF737ECE9F8AB18604BD2AC93935E02FF3B54FA
|
||||
gpg: Good signature from "Nick Craig-Wood <nick@craig-wood.com>" [ultimate]
|
||||
```
|
||||
|
||||
Verify the signature was good and is using the fingerprint shown above.
|
||||
|
||||
Repeat for `MD5SUMS` and `SHA1SUMS` if desired.
|
||||
|
||||
### Verify the hashes
|
||||
|
||||
Now that we know the signatures on the hashes are OK we can verify the
|
||||
binaries match the hashes, completing the verification.
|
||||
|
||||
```
|
||||
$ sha256sum -c SHA256SUMS 2>&1 | grep OK
|
||||
rclone-v1.63.1-windows-amd64.zip: OK
|
||||
```
|
||||
|
||||
Or do the check with rclone
|
||||
|
||||
```
|
||||
$ rclone hashsum sha256 -C SHA256SUMS rclone-v1.63.1-windows-amd64.zip
|
||||
2023/09/11 10:53:58 NOTICE: SHA256SUMS: improperly formatted checksum line 0
|
||||
2023/09/11 10:53:58 NOTICE: SHA256SUMS: improperly formatted checksum line 1
|
||||
2023/09/11 10:53:58 NOTICE: SHA256SUMS: improperly formatted checksum line 49
|
||||
2023/09/11 10:53:58 NOTICE: SHA256SUMS: 4 warning(s) suppressed...
|
||||
= rclone-v1.63.1-windows-amd64.zip
|
||||
2023/09/11 10:53:58 NOTICE: Local file system at /tmp/check: 0 differences found
|
||||
2023/09/11 10:53:58 NOTICE: Local file system at /tmp/check: 1 matching files
|
||||
```
|
||||
|
||||
### Verify signatures and hashes together
|
||||
|
||||
You can verify the signatures and hashes in one command line like this:
|
||||
|
||||
```
|
||||
$ gpg --decrypt SHA256SUMS | sha256sum -c --ignore-missing
|
||||
gpg: Signature made Mon 17 Jul 2023 15:03:17 BST
|
||||
gpg: using DSA key FBF737ECE9F8AB18604BD2AC93935E02FF3B54FA
|
||||
gpg: Good signature from "Nick Craig-Wood <nick@craig-wood.com>" [ultimate]
|
||||
gpg: aka "Nick Craig-Wood <nick@memset.com>" [unknown]
|
||||
rclone-v1.63.1-windows-amd64.zip: OK
|
||||
```
|
Loading…
Reference in New Issue
Block a user