diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-05-20 23:18:09 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-05-25 00:00:28 +0200 |
commit | 9744cc7b4636fafb772c94adb8f05961b5b39f16 (patch) | |
tree | a06d57b21b197ebe1d3f9a85d81d6ecc795146a1 /graph.js | |
parent | 872898f768ae6d3b41eb93c5e183624bd1d157ff (diff) | |
download | guix-9744cc7b4636fafb772c94adb8f05961b5b39f16.tar.gz |
pull: Protect against downgrade attacks.
* guix/scripts/pull.scm (%default-options): Add 'validate-pull'. (%options, show-help): Add '--allow-downgrades'. (warn-about-backward-updates): New procedure. (guix-pull): Pass #:current-channels and #:validate-pull to 'latest-channel-instances'. * guix/channels.scm (ensure-forward-channel-update): Add hint for when (channel-commit channel) is true. * doc/guix.texi (Invoking guix pull): Document '--allow-downgrades'.
Diffstat (limited to 'graph.js')
0 files changed, 0 insertions, 0 deletions