Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | pki: Enable PSS padding if enabled in strongswan.conf | Tobias Brunner | 2017-11-08 | 5 | -5/+11 |
| | |||||
* | pki: Optionally generate RSA/PSS signatures | Tobias Brunner | 2017-11-08 | 13 | -45/+179 |
| | |||||
* | pki: Indent usage lines properly automatically | Tobias Brunner | 2017-11-08 | 5 | -13/+13 |
| | |||||
* | pki: Properly forward digest to attribute certificate builder | Tobias Brunner | 2017-11-08 | 1 | -0/+1 |
| | |||||
* | ikev2: Enumerate RSA/PSS schemes and use them if enabled | Tobias Brunner | 2017-11-08 | 1 | -3/+3 |
| | |||||
* | auth-cfg: Store signature schemes as signature_params_t objects | Tobias Brunner | 2017-11-08 | 1 | -1/+1 |
| | | | | | Due to circular references the hasher_from_signature_scheme() helper does not take a signature_params_t object. | ||||
* | certificates: Use shared destructor for x509_cdp_t | Tobias Brunner | 2017-09-18 | 1 | -11/+2 |
| | |||||
* | pki: Fix typo in --print man page | Tobias Brunner | 2017-07-05 | 1 | -3/+3 |
| | |||||
* | Change interface for enumerator_create_filter() callback | Tobias Brunner | 2017-05-26 | 1 | -10/+18 |
| | | | | | This avoids the unportable 5 pointer hack, but requires enumerating in the callback. | ||||
* | pki: Reset variable so error handling works properly | Tobias Brunner | 2017-04-19 | 1 | -0/+1 |
| | | | | | If we jump to `end` without this we crash (not necessarily visibly) due to a double free and the actual error message is not printed. | ||||
* | pki: Actually make the default key type KEY_ANY for --self | Tobias Brunner | 2017-03-24 | 1 | -1/+1 |
| | | | | | Fixes: 05ccde0a8bd9 ("pki: Add generic 'priv' key type that loads any type of private key") | ||||
* | pki: Cast length derived from pointer arithmetic to int | Tobias Brunner | 2017-03-23 | 1 | -1/+1 |
| | |||||
* | pki: Add key object handle of smartcard or TPM private key as an argument to ↵ | Andreas Steffen | 2017-03-06 | 2 | -5/+25 |
| | | | | pki --keyid | ||||
* | pki: Edited keyid parameter use in various pki man pages and usage outputs | Andreas Steffen | 2017-03-06 | 12 | -19/+34 |
| | |||||
* | Add keyid of smartcard or TPM private key as an argument to pki --req | Andreas Steffen | 2017-03-02 | 1 | -2/+15 |
| | |||||
* | pki: Add a note about constructing RFC 3779 compliant certificates to manpage | Martin Willi | 2017-02-27 | 2 | -0/+6 |
| | |||||
* | pki: Support an --addrblock option for issued certificates | Martin Willi | 2017-02-27 | 2 | -1/+22 |
| | |||||
* | pki: Support an --addrblock option for self-signed certificates | Martin Willi | 2017-02-27 | 2 | -0/+23 |
| | |||||
* | pki: Add a helper function parse traffic selectors from CIDR subnets or ranges | Martin Willi | 2017-02-27 | 2 | -0/+31 |
| | |||||
* | Added support of EdDSA signatures | Andreas Steffen | 2016-12-14 | 8 | -20/+43 |
| | |||||
* | pki: Don't remove zero bytes in CRL serials anymore | Tobias Brunner | 2016-10-11 | 1 | -6/+7 |
| | | | | | | This was added a few years ago because pki --signcrl once encoded serials incorrectly as eight byte blobs. But still ensure we have can handle overflows in case the serial is encoded incorrectly without zero-prefix. | ||||
* | pki: Use serial of base CRL for delta CRLs | Tobias Brunner | 2016-10-11 | 1 | -1/+4 |
| | | | | | According to RFC 5280 delta CRLs and complete CRLs MUST share one numbering sequence. | ||||
* | pki: Add generic 'priv' key type that loads any type of private key | Tobias Brunner | 2016-10-05 | 12 | -28/+59 |
| | |||||
* | pki: Drop -priv suffix to specify private key types | Tobias Brunner | 2016-10-05 | 4 | -16/+23 |
| | |||||
* | pki: Allow to load CRLs from files in --verify | Tobias Brunner | 2016-08-25 | 2 | -3/+21 |
| | |||||
* | configure: Check for and explicitly link against -latomic | Martin Willi | 2016-06-14 | 1 | -1/+1 |
| | | | | | Some C libraries, such as uClibc, require an explicit link for some atomic functions. Check for any libatomic, and explcily link it. | ||||
* | pki: Increase MAX_LINES | Tobias Brunner | 2015-12-16 | 1 | -1/+1 |
| | | | | | The --issue and --self commands both define 10 lines of usage summary text. | ||||
* | pki: Never print more than MAX_LINES of usage summary | Tobias Brunner | 2015-12-16 | 1 | -1/+10 |
| | | | | Print a warning if a registered command exceeds that limit. | ||||
* | Standardized printing of certificate information | Andreas Steffen | 2015-12-11 | 1 | -523/+20 |
| | | | | | | | The certificate_printer class allows the printing of certificate information to a text file (usually stdout). This class is used by the pki --print and swanctl --list-certs commands as well as by the stroke plugin. | ||||
* | pki: Explicitly link against -lpthread and -ldl if required | Martin Willi | 2015-12-04 | 1 | -1/+4 |
| | | | | | We already do this for charon, as some toolchains require an explicit link even if libstrongswan already depends on it. | ||||
* | Support BLISS signatures with SHA-3 hash | Andreas Steffen | 2015-11-03 | 5 | -5/+9 |
| | |||||
* | pki: Add new type options to --issue command usage output | Tobias Brunner | 2015-08-27 | 1 | -2/+2 |
| | |||||
* | pki: Add --dn command to extract the subject DN of a certificate | Tobias Brunner | 2015-08-17 | 6 | -11/+219 |
| | |||||
* | pki: Optionally extract public key from given private key in --issue | Tobias Brunner | 2015-08-10 | 2 | -6/+30 |
| | | | | Fixes #618. | ||||
* | pki: Choose default digest based on the signature key | Tobias Brunner | 2015-03-23 | 12 | -20/+69 |
| | |||||
* | pki: Use SHA-256 as default for signatures | Tobias Brunner | 2015-03-23 | 10 | -55/+15 |
| | | | | | | Since the BLISS private key supports this we don't do any special handling anymore (if the user choses a digest that is not supported, signing will simply fail later because no signature scheme will be found). | ||||
* | Allow SHA256 and SHA384 data hash for BLISS signatures. | Andreas Steffen | 2015-02-26 | 7 | -16/+36 |
| | | | | | The default is SHA512 since this hash function is also used for the c_indices random oracle. | ||||
* | pki: Document correct output formats for --pkcs12 --export | Tobias Brunner | 2014-12-19 | 1 | -2/+2 |
| | |||||
* | pki: Properly clean up if output format for --pkcs12 is wrong | Tobias Brunner | 2014-12-19 | 1 | -0/+2 |
| | |||||
* | pki: Add command to export certificates and keys from PKCS#12 containers | Tobias Brunner | 2014-12-12 | 2 | -9/+112 |
| | |||||
* | pki: Reformat PKCS#12 output and add an index for each certificate/key | Tobias Brunner | 2014-12-12 | 2 | -14/+17 |
| | |||||
* | pki: Add simple PKCS#12 display command | Tobias Brunner | 2014-12-12 | 4 | -1/+203 |
| | |||||
* | pki: Cache entered secrets in case they are needed more than once | Tobias Brunner | 2014-12-12 | 1 | -2/+23 |
| | |||||
* | Implemented full BLISS support for IKEv2 public key authentication and the ↵ | Andreas Steffen | 2014-11-29 | 6 | -3/+37 |
| | | | | pki tool | ||||
* | Started implementing BLISS signature generation | Andreas Steffen | 2014-11-29 | 1 | -2/+8 |
| | |||||
* | Store and parse BLISS private and public keys in DER and PEM format | Andreas Steffen | 2014-11-29 | 2 | -4/+17 |
| | | | | | | | | Additionally generate SHA-1 fingerprints of raw BLISS subjectPublicKey and subjectPublicKeyInfo objects. Some basic functions used by the bliss_public_key class are shared with the bliss_private_key class. | ||||
* | Created framework for BLISS post-quantum signature algorithm | Andreas Steffen | 2014-11-29 | 1 | -3/+11 |
| | |||||
* | pki: Print and document the name constraint type for DNS or email constraints | Martin Willi | 2014-10-30 | 3 | -6/+46 |
| | | | | | As email constraints may be for a specific host, it is not clear from the name itself if it is a DNS or email constraint. | ||||
* | pki: Document --online option for pki --verify and all exit codes | Tobias Brunner | 2014-06-30 | 1 | -5/+11 |
| | |||||
* | pki: Also check for MAX_COMMANDS when building getopt_long arguments | Tobias Brunner | 2014-06-24 | 1 | -1/+1 |
| | | | | Completes 87e53819a6 and 0a8c399a21. |