2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-24 20:00:21 +00:00
restic/vendor/golang.org/x/crypto/openpgp/packet
Alexander Neumann 6e1a3987b7 Add 'self-update' command
This commit adds a command called `self-update` which downloads the
latest released version of restic from GitHub and replacing the current
binary with it. It does not rely on any external program (so it'll work
everywhere), but still verifies the GPG signature using the embedded GPG
public key.

By default, the `self-update` command is hidden behind the `selfupdate`
built tag, which is only set when restic is built using `build.go`. The
reason for this is that downstream distributions will then not include
the command by default, so users are encouraged to use the
platform-specific distribution mechanism.
2018-08-12 23:34:47 +02:00
..
compressed.go Add 'self-update' command 2018-08-12 23:34:47 +02:00
config.go Add 'self-update' command 2018-08-12 23:34:47 +02:00
encrypted_key.go Add 'self-update' command 2018-08-12 23:34:47 +02:00
literal.go Add 'self-update' command 2018-08-12 23:34:47 +02:00
ocfb.go Add 'self-update' command 2018-08-12 23:34:47 +02:00
one_pass_signature.go Add 'self-update' command 2018-08-12 23:34:47 +02:00
opaque.go Add 'self-update' command 2018-08-12 23:34:47 +02:00
packet.go Add 'self-update' command 2018-08-12 23:34:47 +02:00
private_key.go Add 'self-update' command 2018-08-12 23:34:47 +02:00
public_key_v3.go Add 'self-update' command 2018-08-12 23:34:47 +02:00
public_key.go Add 'self-update' command 2018-08-12 23:34:47 +02:00
reader.go Add 'self-update' command 2018-08-12 23:34:47 +02:00
signature_v3.go Add 'self-update' command 2018-08-12 23:34:47 +02:00
signature.go Add 'self-update' command 2018-08-12 23:34:47 +02:00
symmetric_key_encrypted.go Add 'self-update' command 2018-08-12 23:34:47 +02:00
symmetrically_encrypted.go Add 'self-update' command 2018-08-12 23:34:47 +02:00
userattribute.go Add 'self-update' command 2018-08-12 23:34:47 +02:00
userid.go Add 'self-update' command 2018-08-12 23:34:47 +02:00