[PATCH setup 2/4] Add support for RSA key signatures

2020-02-24 Thread Jon Turney
--- crypto.cc | 162 ++ crypto.h | 5 +- 2 files changed, 103 insertions(+), 64 deletions(-) diff --git a/crypto.cc b/crypto.cc index e2ed7b2..118d4d7 100644 --- a/crypto.cc +++ b/crypto.cc @@ -52,7 +52,7 @@ static BoolOption UntrustedKeysOpt

[PATCH setup 3/4] Teach gpg-key-to-s-expr.sh to handle RSA pubkeys

2020-02-24 Thread Jon Turney
--- gpg-key-to-s-expr.sh | 49 +++- 1 file changed, 35 insertions(+), 14 deletions(-) diff --git a/gpg-key-to-s-expr.sh b/gpg-key-to-s-expr.sh index 1938bbf..f5c6799 100755 --- a/gpg-key-to-s-expr.sh +++ b/gpg-key-to-s-expr.sh @@ -13,7 +13,7 @@ # Written b

[PATCH setup 4/4] Teach --pubkey option to handle RSA keys

2020-02-24 Thread Jon Turney
--- crypto.cc | 106 +- 1 file changed, 65 insertions(+), 41 deletions(-) diff --git a/crypto.cc b/crypto.cc index 118d4d7..9a84376 100644 --- a/crypto.cc +++ b/crypto.cc @@ -42,10 +42,10 @@ /* Command-line options for specifying and control

[PATCH setup 0/4] Add support for RSA key signatures

2020-02-24 Thread Jon Turney
Jon Turney (4): Convert msg under CRYPTODEBUGGING to LogBabblePrintf Add support for RSA key signatures Teach gpg-key-to-s-expr.sh to handle RSA pubkeys Teach --pubkey option to handle RSA keys crypto.cc| 278 ++- crypto.h |

[PATCH setup 1/4] Convert msg under CRYPTODEBUGGING to LogBabblePrintf

2020-02-24 Thread Jon Turney
Convert msg under CRYPTODEBUGGING to LogBabblePrintf, missed in 6f2a7375. --- crypto.cc | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/crypto.cc b/crypto.cc index fabd097..e2ed7b2 100644 --- a/crypto.cc +++ b/crypto.cc @@ -161,7 +161,7 @@ pkt_cb_resp key_file_wa

[PATCH setup] Also AttachConsole() when not elevating

2020-02-24 Thread Jon Turney
Arrange to call AttachConsole() when not elevating (e.g. 'setup -B'). This seems to be needed for output to stdout to work via a Windows pseudo-console ('conpty'), as is used with cygwin >=3.0.0. Note that setup is a GUI application. I have no idea what it means to write to stdout without calling

Re: [ITP] cpuid

2020-02-24 Thread Brian Inglis
On 2020-02-23 07:24, Marco Atzeri wrote: > Am 22.02.2020 um 17:59 schrieb Brian Inglis: >> On 2020-02-21 23:24, Marco Atzeri wrote: >>> Am 22.02.2020 um 05:49 schrieb Brian Inglis: I would like to offer to package cpuid:  dumps CPUID information about the CPU(s) The pro