summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* certtool: fixed documentation of sign-paramsNikos Mavrogiannopoulos2017-08-171-2/+2
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* updated auto-generated filestmp-to-rsaNikos Mavrogiannopoulos2017-08-152-636/+668
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* certtool: introduced --to-rsa optionNikos Mavrogiannopoulos2017-08-152-1/+76
| | | | | | This allows converting an RSA-PSS key to raw RSA. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* gnutls-serv: --require-client-cert no longer implies --verify-client-certNikos Mavrogiannopoulos2017-08-102-2/+3
| | | | | | | That is, it is now possible to require a client certificate without verifying it. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* updated auto-generated filestmp-p11tool-generate-updateNikos Mavrogiannopoulos2017-08-092-462/+495
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* p11tool: --generate-xxx options were replaced by generate-privkeyNikos Mavrogiannopoulos2017-08-095-23/+47
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* certtool: eliminated unused variableNikos Mavrogiannopoulos2017-08-082-7/+0
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* certtool: improved documentation on --provable optionNikos Mavrogiannopoulos2017-08-071-2/+11
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* certtool: create mapping between --load-x and --info optionsNikos Mavrogiannopoulos2017-08-071-12/+31
| | | | | | | | | That allows using: certtool --certificate-info --load-certificate FILE and certtool --certificate-info --infile FILE Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* certtool: removed definitions of non-existing functionsNikos Mavrogiannopoulos2017-08-071-3/+0
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* gnutls_x509_privkey_verify_seed: improved error on missing validation parametersNikos Mavrogiannopoulos2017-08-071-1/+4
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* certtool: silence warnings related to --pkcs8Nikos Mavrogiannopoulos2017-08-071-3/+5
| | | | | | There is no reason to bug the user with such details by default. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* certtool: better print provable key validation parametersNikos Mavrogiannopoulos2017-08-071-6/+9
| | | | | | | That is, include hash in the printable set, and keep spaces from next fields. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* certtool: provable private keys are always exported in PKCS#8 formNikos Mavrogiannopoulos2017-08-073-21/+15
| | | | | | That allows the provable parameters to be included. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* p11tool: auto-generate the list of PKCS#11 mechanisms from p11-kitNikos Mavrogiannopoulos2017-08-044-216/+257
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* updated auto-generated filesNikos Mavrogiannopoulos2017-08-042-1374/+1593
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* spki: combined all exported functions to a single set and getNikos Mavrogiannopoulos2017-08-042-19/+20
| | | | | | | | This simplifies setting parameters for a particular key type, as well as getting them. The advantage is that they are set atomically, preventing an inadverterly half-filled structure. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* certtool: set RSA-PSS parameters using GNUTLS_KEYGEN_SPKI kdata typeNikos Mavrogiannopoulos2017-08-041-4/+19
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* certtool: print signature algorithm in cert verification outputNikos Mavrogiannopoulos2017-08-041-0/+19
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* certtool: sign_params_to_flags: use strtok to parse inputNikos Mavrogiannopoulos2017-08-041-5/+20
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* certtool: copy SPKI information from private key when availableNikos Mavrogiannopoulos2017-08-041-15/+14
| | | | | | That also addresses a bug due to which SPKI information was not set. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* certtool: allow specifying RSA-PSS parameters for key generationNikos Mavrogiannopoulos2017-08-042-14/+30
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* certtool: group together common optionsNikos Mavrogiannopoulos2017-08-041-202/+279
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* certtool: do not print error on missing RSA-PSS parameters on keyNikos Mavrogiannopoulos2017-08-031-0/+3
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* x509.h: Renamed SPKI related functionsNikos Mavrogiannopoulos2017-08-032-4/+15
| | | | | | | | This better reflects their purpose as providers of information for subject public key. In addition use 'const' for fields that should be left intact. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* updated auto-generated filesNikos Mavrogiannopoulos2017-08-032-329/+395
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* gnutls-cli: introduced options to save client and server tracesNikos Mavrogiannopoulos2017-08-034-7/+90
| | | | | | This allows to easier obtain traces for use in fuzzers. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* gnutls-cli: use FFDHE3072 parameters for benchmarkingNikos Mavrogiannopoulos2017-08-021-54/+2
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* cli,serv: do not print any information on compressionNikos Mavrogiannopoulos2017-08-021-9/+0
| | | | | | Compression is always NULL. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* cli,serv: no longer print parameters when FFDHE groups are usedNikos Mavrogiannopoulos2017-08-021-0/+7
| | | | | | | | The negotiated RFC7919 group is now printed as part of the Description string, and there is no reason to print more information on parameters defined by the protocol. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* gnutls-cli: print the supported groups instead of curvesNikos Mavrogiannopoulos2017-08-021-7/+7
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* gnutls-cli: use gnutls_priority_setNikos Mavrogiannopoulos2017-07-251-2/+2
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* gnutls-cli: re-use priorities for both client and server on benchmarksNikos Mavrogiannopoulos2017-07-181-2/+2
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* gnutls-cli: re-use priorities when measuring performancetmp-gnutls-benchmark-updateNikos Mavrogiannopoulos2017-07-171-2/+10
| | | | | | This avoids measuring cache misses due to priority processing time. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* updated auto-generated filesNikos Mavrogiannopoulos2017-07-172-133/+134
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* gnutls-cli: added RSA-PSS signatures in benchmarkNikos Mavrogiannopoulos2017-07-171-12/+54
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* gnutls-cli: added benchmark on X25519-Ed25519 key exchangeNikos Mavrogiannopoulos2017-07-171-13/+49
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* tests: replaced rsa-pss/eddsa certtool options with --key-typeNikos Mavrogiannopoulos2017-07-171-5/+5
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* certtool: introduced the --key-type optionNikos Mavrogiannopoulos2017-07-172-18/+35
| | | | | | This replaces the --rsa-pss and --eddsa options. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* Added support for EdDSA (Ed25519) curve keysNikos Mavrogiannopoulos2017-07-174-25/+51
| | | | | | | | This adds support for draft-ietf-curdle-pkix-04. Resolves #25 Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* updated auto-generated filesNikos Mavrogiannopoulos2017-07-132-200/+232
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* gnutls-cli: added option to allow verification with broken algorithmsNikos Mavrogiannopoulos2017-07-132-0/+13
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* gnutls-serv: allow receiving requests up to 16kbNikos Mavrogiannopoulos2017-07-111-5/+4
| | | | | | This makes gnutls-serv useful for few tlsfuzzer test cases. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* updated auto-generated filestmp-alpn-updatesNikos Mavrogiannopoulos2017-07-062-344/+409
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* gnutls-serv: added the --alpn and --alpn-fatal optionsNikos Mavrogiannopoulos2017-07-042-0/+41
| | | | | | | This allows specifying ALPN protocols supported by server, allowing to test the ALPN negotiation. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* gnutls-cli: save OCSP response at the time certificate is savedNikos Mavrogiannopoulos2017-06-291-8/+17
| | | | | | | That ensures that we always save the OCSP response, even when certificate verification fails. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* gnutls-cli: be less verbose in OCSP error messagestmp-ocsptool-updatesNikos Mavrogiannopoulos2017-06-201-1/+2
| | | | | | | | Previously we were reporting "No issuer found" if any certificate in a chain could not be verified. That was confusing information and not strictly necessary. No longer print that. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* gnutls-cli: improved error message of OCSP failureNikos Mavrogiannopoulos2017-06-201-2/+2
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* updated auto-generated filesNikos Mavrogiannopoulos2017-06-202-151/+238
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* ocsptool: verify_response will print information on the responseNikos Mavrogiannopoulos2017-06-201-0/+12
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>