Files
heimdal/lib/hx509
Nicolas Williams 005ba36b83 hxtool request-create: fix --key argument handling
```
    hxtool request-create --subject=... \
                          --generate-key=... \
                          --key-bits=... \
                          --key=STORE \
                          store
```

wants to generate a key, store it in the location specified by the --key
argument, then read it back, then generate the CSR, and store it in
`store`.

But it didn't work because for generating a key this really wants the
`--key` argument to be a file path into which a raw DER-encoded RSA key
will be written (only RSA is supported, ay!), but for reading the key
back it uses `hx509_certs_init()`, which wants `TYPE:name` keystore
specification.  A deadly embrace.

Now that we have improved libhx509 functionality for reading/writing
private keys from/to PEM files we use this functionality and require a
store type in the `--key=STORE` argument.
2019-10-03 13:09:18 -05:00
..
2015-12-09 10:59:08 +11:00
2008-09-13 08:53:55 +00:00
2011-05-21 11:57:31 -07:00
2014-04-25 02:42:17 +02:00
2014-04-25 02:42:17 +02:00
2009-11-22 13:51:28 -08:00
2006-04-01 09:46:57 +00:00
2009-11-22 13:51:20 -08:00
2017-05-26 23:24:30 -04:00
2017-05-26 23:24:30 -04:00
2014-02-12 09:46:02 -08:00
2011-10-31 21:27:51 -07:00
2014-03-12 21:18:03 -04:00
2014-03-12 21:18:03 -04:00
2011-05-21 11:57:31 -07:00
2011-05-07 17:22:24 -07:00
2011-05-07 17:22:37 -07:00
2009-09-21 19:15:00 -07:00
2010-09-30 18:36:58 -07:00
2009-03-26 23:12:02 +00:00
2009-03-26 23:11:48 +00:00
2007-05-30 23:19:01 +00:00