Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | pki: Support complex trustchain and revocation checking in --verify | Martin Willi | 2014-06-04 | 1 | -48/+86 |
| | |||||
* | pki: Provide a fallback if strptime() not supported | Martin Willi | 2014-06-04 | 1 | -9/+63 |
| | | | | | For simplicity, we support the default pki datetime format only, but optionally accept four digit years for longer lifetimes. | ||||
* | pki: Switch to binary mode on Windows when reading/writing DER to FDs | Martin Willi | 2014-06-04 | 13 | -1/+49 |
| | |||||
* | pki: Stop prompting for password when entering empty string | Martin Willi | 2014-06-04 | 1 | -1/+1 |
| | |||||
* | Make sure getpass() is available | Tobias Brunner | 2014-05-29 | 1 | -1/+3 |
| | | | | It's not on Android for example. | ||||
* | enum: Return boolean result for enum_from_name() lookup | Martin Willi | 2014-05-16 | 5 | -10/+5 |
| | | | | | | | | | | | Handling the result for enum_from_name() is difficult, as checking for negative return values requires a cast if the enum type is unsigned. The new signature clearly differentiates lookup result from lookup value. Further, this actually allows to convert real -1 enum values, which could not be distinguished from "not-found" and the -1 return value. This also fixes several clang warnings where enums are unsigned. | ||||
* | pki: Fix memory leak when printing unknown AC group OIDs | Tobias Brunner | 2014-04-09 | 1 | -0/+1 |
| | |||||
* | pki: Removed extra continue statement | Tobias Brunner | 2014-04-09 | 1 | -1/+0 |
| | |||||
* | Added support for msSmartcardLogon EKU | Andreas Steffen | 2014-04-08 | 3 | -2/+14 |
| | |||||
* | pki: Document --not-before/after and --dateform options in manpages | Martin Willi | 2014-03-31 | 4 | -7/+99 |
| | |||||
* | pki: Support absolute --this/next-update CRL lifetimes | Martin Willi | 2014-03-31 | 1 | -6/+22 |
| | |||||
* | pki: Support absolute --not-before/after issued certificate lifetimes | Martin Willi | 2014-03-31 | 2 | -7/+22 |
| | |||||
* | pki: Support absolute --not-before/after self-signed certificate lifetimes | Martin Willi | 2014-03-31 | 1 | -5/+22 |
| | |||||
* | pki: Support absolute --not-before/after acert lifetimes | Martin Willi | 2014-03-31 | 1 | -7/+26 |
| | |||||
* | pki: Add a certificate lifetime calculation helper function | Martin Willi | 2014-03-31 | 2 | -1/+69 |
| | |||||
* | pki: Add acert and extend pki/print manpages | Martin Willi | 2014-03-31 | 4 | -2/+115 |
| | |||||
* | pki: Implement an acert command to issue attribute certificates | Martin Willi | 2014-03-31 | 3 | -1/+275 |
| | |||||
* | pki: Support printing attribute certificates | Martin Willi | 2014-03-31 | 1 | -1/+89 |
| | |||||
* | pki: Don't generate negative random serial numbers in X.509 certificates | Martin Willi | 2014-03-31 | 2 | -0/+2 |
| | | | | According to RFC 5280 4.1.2.2 we MUST force non-negative serial numbers. | ||||
* | pki: When dispatching commands, don't look beyond non-null-terminated array | Martin Willi | 2014-03-19 | 1 | -1/+1 |
| | |||||
* | pki: Check length of commands array before accessing command in --help | Martin Willi | 2014-03-19 | 1 | -1/+1 |
| | | | | | | | As --help is counted as command as well, the array is not null-terminated and we have to check for MAX_COMMANDS. Fixes #550. | ||||
* | pki: Make cmds array static, ensuring that it is zero-initialized | Martin Willi | 2014-02-20 | 1 | -2/+1 |
| | | | | | As pki --help relies on a zero-terminated array, make the actually non-public cmds array static to ensure initialization. | ||||
* | pki: Fix minor resource leak on failure to read the private key in --req5.1.2rc2 | Tobias Brunner | 2014-02-18 | 1 | -1/+2 |
| | |||||
* | lib: Add global config namespace | Tobias Brunner | 2014-02-12 | 1 | -1/+1 |
| | |||||
* | pki: Declare correct section in pki --issue man page | Tobias Brunner | 2014-01-24 | 1 | -1/+1 |
| |