summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/ssh-pkcs11-helper.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* use the new variant log macros instead of prepending __func__ anddjm2020-10-181-41/+31
| | | | appending ssh_err(r) manually; ok markus@
* remove unused variables in ssh-pkcs11-helper; ok djmmarkus2020-03-061-8/+2
|
* expose PKCS#11 key labels/X.509 subjects as commentsdjm2020-01-251-8/+13
| | | | | | | | | | | Extract the key label or X.509 subject string when PKCS#11 keys are retrieved from the token and plumb this through to places where it may be used as a comment. based on https://github.com/openssh/openssh-portable/pull/138 by Danielle Church feedback and ok markus@
* fixes for !WITH_OPENSSL compilation; ok dtucker@djm2019-09-061-1/+18
|
* lots of things were relying on libcrypto headers to transitivelydjm2019-09-061-1/+2
| | | | | include various system headers (mostly stdlib.h); include them explicitly
* Replace calls to ssh_malloc_init() by a static init of malloc_options.otto2019-06-061-2/+1
| | | | Prepares for changes in the way malloc is initialized. ok guenther@ dtucker@
* Move a variable declaration to the block where it's used to make thingsdtucker2019-05-161-3/+3
| | | | a little tidier for -portable.
* switch mainloop from select(2) to poll(2); ok deraadt@djm2019-01-231-22/+19
|
* add "-v" flags to ssh-add and ssh-pkcs11-helper to turn up debugdjm2019-01-211-3/+21
| | | | | | | | | | verbosity. Make ssh-agent turn on ssh-pkcs11-helper's verbosity when it is run in debug mode ("ssh-agent -d"), so we get to see errors from the PKCS#11 code. ok markus@
* add support for ECDSA keys in PKCS#11 tokensdjm2019-01-201-10/+30
| | | | Work by markus@ and Pedro Martelletto, feedback and ok me@
* switch ssh-pkcs11-helper to new API; ok djm@markus2018-01-081-78/+105
|
* switch from Key typedef with struct sshkey; ok djm@markus2017-05-301-7/+7
|
* Add a function to enable security-related malloc_options. With and okdtucker2016-02-151-1/+2
| | | | deraadt@, something similar has been in the snaps for a while.
* Do not cast result of malloc/calloc/realloc* if stdlib.h is in scopederaadt2015-08-201-3/+3
| | | | ok krw millert
* Reduce use of <sys/param.h> and transition to <limits.h> throughout.deraadt2015-01-201-2/+1
| | | | ok djm markus
* explicitly include sys/param.h in files that use the howmany() macro;djm2014-12-111-2/+3
| | | | from portable
* New key API: refactor key-related functions to be more library-like,djm2014-06-241-2/+6
| | | | | | | | | existing API is offered as a set of wrappers. with and ok markus@ Thanks also to Ben Hawkes, David Tomaschik, Ivan Fratric, Matthew Dempsky and Ron Bowes for a detailed review a few months ago.
* use-after-free; bz#2175 patch from Loganaden Velvindron @ AfriNICdjm2013-12-021-2/+3
|
* bye, bye xfree(); ok markus@djm2013-05-171-12/+11
|
* remove unused extern optarg. ok markus@dtucker2013-05-101-2/+1
|
* fix a couple of "assigned but not used" warnings. ok markus@dtucker2012-07-021-3/+3
|
* Add $OpenBSD$ tags in comments, our portable-syncing scripts use thesedjm2010-02-241-0/+1
|
* gcc2 requires decls before codederaadt2010-02-191-3/+2
|
* replace our obsolete smartcard code with PKCS#11.markus2010-02-081-0/+349
ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs-11v2-20.pdf ssh(1) and ssh-keygen(1) use dlopen(3) directly to talk to a PKCS#11 provider (shared library) while ssh-agent(1) delegates PKCS#11 to a forked a ssh-pkcs11-helper process. PKCS#11 is currently a compile time option. feedback and ok djm@; inspired by patches from Alon Bar-Lev