search for: trykey1

Displaying 8 results from an estimated 8 matches for "trykey1".

Did you mean: trykey2
2019 Nov 27
1
Re: [PATCH common v2 2/3] options: Allow multiple --key parameters.
On Tuesday, 26 November 2019 17:40:47 CET Richard W.M. Jones wrote: > This allows multiple --key parameters on the command line to match a > single device. For example: > > tool --key /dev/sda1:key:trykey1 --key /dev/sda1:key:trykey2 > > would try "trykey1" and "trykey2" against /dev/sda1. > --- Mostly LGTM, just one note/question below. > + CLEANUP_FREE_STRING_LIST char **keys = get_keys (ks, partitions[i]); > + > + if (guestfs_int_count_strings (ke...
2019 Nov 15
2
Re: [PATCH 2/2] options: Allow multiple --key parameters and default keys.
On Tuesday, 12 November 2019 19:35:12 CET Richard W.M. Jones wrote: > This allows multiple --key parameters on the command line to match a > single device. This could either be specified as: > > tool --key /dev/sda1:key:trykey1 --key /dev/sda1:key:trykey2 > > which would try "trykey1" and "trykey2" against /dev/sda1. This seems OK for me, so you can attempt multiple keys for a device. > And/or you can specify default keys which are tried against each > device (after more specific keys fa...
2019 Nov 12
4
[PATCH 1/2] options: Fixes and enhancements to --key parsing.
The first patch fixes a rather serious bug, the second patch allows multiple --key parameters and default parameters. There is a third patch to libguestfs which adds a test, coming up. I did not yet review and fix the documentation. I think we need to centralize it in one place because at the moment the same documentation for --key is copy/pasted all over the tools. Rich.
2019 Nov 16
0
Re: [PATCH 2/2] options: Allow multiple --key parameters and default keys.
...03:23:02PM +0100, Pino Toscano wrote: > On Tuesday, 12 November 2019 19:35:12 CET Richard W.M. Jones wrote: > > This allows multiple --key parameters on the command line to match a > > single device. This could either be specified as: > > > > tool --key /dev/sda1:key:trykey1 --key /dev/sda1:key:trykey2 > > > > which would try "trykey1" and "trykey2" against /dev/sda1. > > This seems OK for me, so you can attempt multiple keys for a device. > > > And/or you can specify default keys which are tried against each > >...
2019 Nov 26
6
[PATCH options v2 0/3] options: Allow multiple and default --key parameters.
v1: https://www.redhat.com/archives/libguestfs/2019-November/msg00036.html
2019 Nov 26
0
[PATCH common v2 2/3] options: Allow multiple --key parameters.
This allows multiple --key parameters on the command line to match a single device. For example: tool --key /dev/sda1:key:trykey1 --key /dev/sda1:key:trykey2 would try "trykey1" and "trykey2" against /dev/sda1. --- options/decrypt.c | 41 ++++++++++++++++++++++++++++++++--------- options/keys.c | 45 +++++++++++++++++++++++++++++++++++---------- options/options.h | 6 ++++-- 3 files changed, 71 inser...
2019 Nov 12
0
[PATCH 2/2] options: Allow multiple --key parameters and default keys.
This allows multiple --key parameters on the command line to match a single device. This could either be specified as: tool --key /dev/sda1:key:trykey1 --key /dev/sda1:key:trykey2 which would try "trykey1" and "trykey2" against /dev/sda1. And/or you can specify default keys which are tried against each device (after more specific keys fail), eg: tool --key :key:defaultkey1 --key :key:defaultkey2 which would try "defa...
2019 Nov 18
1
Re: [PATCH 2/2] options: Allow multiple --key parameters and default keys.
...oscano wrote: > > On Tuesday, 12 November 2019 19:35:12 CET Richard W.M. Jones wrote: > > > This allows multiple --key parameters on the command line to match a > > > single device. This could either be specified as: > > > > > > tool --key /dev/sda1:key:trykey1 --key /dev/sda1:key:trykey2 > > > > > > which would try "trykey1" and "trykey2" against /dev/sda1. > > > > This seems OK for me, so you can attempt multiple keys for a device. > > > > > And/or you can specify default keys which are...