aboutsummaryrefslogtreecommitdiffstats
path: root/src/pki/commands/req.c
Commit message (Collapse)AuthorAgeFilesLines
* pki: Switch to binary mode on Windows when reading/writing DER to FDsMartin Willi2014-06-041-0/+2
|
* enum: Return boolean result for enum_from_name() lookupMartin Willi2014-05-161-2/+1
| | | | | | | | | | | 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 minor resource leak on failure to read the private key in --req5.1.2rc2Tobias Brunner2014-02-181-1/+2
|
* chunk: Use dynamically allocated buffer in chunk_from_fd()Martin Willi2014-01-231-1/+6
| | | | | | | | When acting on files, we can use fstat() to estimate the buffer size. On non-file FDs, we dynamically increase an allocated buffer. Additionally we slightly change the function signature to properly handle zero-length files and add appropriate unit tests.
* pki: Replace BUILD_FROM_FD with passing a chunk via BUILD_BLOBTobias Brunner2013-10-231-1/+5
| | | | This allows more than one builder to try parsing the data read from STDIN.
* pki: Add pki --req man pageTobias Brunner2013-09-131-3/+2
|
* Moved data structures to new collections subfolderTobias Brunner2012-10-241-1/+1
|
* Use centralized hasher names in pki utilityMartin Willi2012-07-171-2/+2
|
* Do proper cleanup in error case in pki req.Tobias Brunner2011-04-141-1/+2
|
* Use a dedicated build part for challenge passwords, BUILD_PASSPHRASE gets ↵Martin Willi2010-08-041-1/+1
| | | | obsolete
* Added pki PEM encoding support for certificates, CRLs and PKCS10 requestsMartin Willi2010-07-131-2/+10
|
* Support different encoding types in certificate.get_encoding()Martin Willi2010-07-131-2/+1
|
* Removed obsolete per-command debug level optionMartin Willi2009-09-161-3/+0
|
* corrected usageAndreas Steffen2009-09-151-2/+1
|
* pki --req generates a PKCS#10 certificate requestAndreas Steffen2009-09-151-0/+188