Commit Graph

972 Commits

Author SHA1 Message Date
Trevor Bentley 86a0e72dbe Port fix from ykpiv-minidriver:
commit 79ae87153c2be06e8193a491e26b799e3b5ba028
Author: Oscar K So JR <oscar@yubico.com>
Date:   Mon Jan 30 22:08:29 2017 +0000

    Fixed Issue #78 - P2 Bug: MXCT352 - Importing PKCS#12 with key size 4096 bits crashed CertUtil.exe
2017-10-23 16:21:54 +02:00
Trevor Bentley 0d2b85fcef Switch test cases to use libcheck framework
This keeps the test logic the same, but moves most of them into the libcheck
test suite framework.  It gives better control over grouping related tests,
running them in parallel, and reporting on multiple failures.

Running in parallel also brings problems, so libykcs11 tests are left
untouched.  Parallel access to a single hardware DUT does not make sense,
and pcsc-lite doesn't work after a fork() in OS X 10.11+, so it can't run
in libcheck's tests anyway.
2017-10-23 16:21:50 +02:00
Trevor Bentley ba7d256ecf Fix test cases: uninitialized memory and non-terminated string compare 2017-10-23 16:21:46 +02:00
Emil Lundberg d5283fffae Explicitly link "Vagrant VM" to GitHub 2017-10-18 11:41:24 +02:00
Emil Lundberg 4fab1c8f77 Revert "Rewrite vagrant/development/README to asciidoc"
This reverts commit 558dcc1a2d.
2017-10-18 11:40:30 +02:00
Emil Lundberg 558dcc1a2d Rewrite vagrant/development/README to asciidoc 2017-10-18 11:01:39 +02:00
Klas Lindfors 7114410f36 bump version after release 2017-10-17 14:11:38 +02:00
Klas Lindfors 1d65419ac9 NEWS for 1.4.4 2017-10-17 13:43:03 +02:00
Klas Lindfors bf9c09f9e8 ykcs11: disable rsa keygeneration for yk4 < 4.3.5
see https://yubi.co/ysa201701/
relates #127
2017-10-17 12:51:48 +02:00
Klas Lindfors b666922eda try to find correct packages for travis 2017-10-17 10:18:42 +02:00
Klas Lindfors 6435a4fa35 Merge branch 'pr-128' 2017-10-17 10:06:29 +02:00
edent ea00678314 http->https 2017-10-17 08:02:02 +01:00
Emil Lundberg de61b83b4c Fix Vagrant VM link in README 2017-10-16 16:59:26 +02:00
Emil Lundberg 73dfa7b48b Add Vagrant VM for development 2017-10-16 16:52:25 +02:00
Klas Lindfors cd11196535 disable rsa keygen for yubikey4 before 4.3.5
point at https://yubi.co/ysa201701/
2017-10-16 15:32:25 +02:00
Klas Lindfors 82cd15db50 change _change_pin_internal to change_pin_internal to match style
all other internal functions have plain names
2017-05-30 13:05:24 +02:00
Klas Lindfors 0db87e8721 drop unused variable 2017-05-30 13:05:00 +02:00
Klas Lindfors 37a2f778dc Merge branch 'pr-115' 2017-05-30 13:03:36 +02:00
emersonl d1db8eb282 Improve the style based on comments from Klas 2017-05-30 13:02:49 +02:00
emersonl 6882bc5c7c Fix issue #116 2017-05-30 12:59:08 +02:00
emersonl c05d879968 Fix issue #88 and #102 2017-05-30 12:56:25 +02:00
Emerson Lin 729c70385b bump openssl to 1.0.2l
OpenSSL just released a new version and 1.0.2k no longer works
2017-05-30 12:55:58 +02:00
Klas Lindfors 8614d227cb touch-policy and pin-policy is only available on YubiKey 4 2017-04-24 08:27:58 +02:00
Klas Lindfors 6304a6c799 add a line about slot f9 to help output 2017-04-19 14:23:59 +02:00
Klas Lindfors 60e32d53c5 let help2adoc use the h2m file as extra include 2017-04-19 14:16:44 +02:00
Klas Lindfors 9dfe04cd06 update documentation and help output for how to specify secrets on stdin
also update all examples to have no space after short option.
2017-04-19 14:15:24 +02:00
Klas Lindfors a7ef1315f4 bump verions after release 2017-04-18 13:23:58 +02:00
Klas Lindfors b426c588be NEWS for 1.4.3 2017-04-18 13:10:09 +02:00
Klas Lindfors 6495a8fedc bump openssl to 1.0.2k 2017-04-18 13:05:27 +02:00
Klas Lindfors e6a7517050 add a new hidden flag --stdin-input for straight stdin input 2017-04-18 13:05:27 +02:00
Alessio Di Mauro d17aff4e0d Merge PR/113, fixup for PSS 2017-03-30 09:40:00 +02:00
Hannes Mehnert 03849d9722 alias RSA type, call openssl functions only in openssl_utils.c 2017-03-29 23:01:17 +01:00
Hannes Mehnert 847b0b4267 fix PSS signing support 2017-03-26 19:13:07 +02:00
Klas Lindfors 8e91c8ea2f drop dropped docs from dist sources 2016-11-29 14:40:11 +01:00
Dain Nilsson 627df69c43 Correct size of stored objects. 2016-11-03 11:09:25 +01:00
Dain Nilsson 20aa39ec21 Updated docs. 2016-10-19 15:40:54 +02:00
Alessio Di Mauro 127227fe4c Better approximation for signature size
Relates to #98.
2016-10-05 16:39:58 +02:00
Alessio Di Mauro af78e18151 Always set number of slots
Relates to #98.
2016-10-05 16:39:58 +02:00
Alessio Di Mauro 7b7c798ef6 Return correct modulus
When asked for CKA_MODULUS on a private key return only n and not the
whole key

Relates to #98.
2016-10-05 16:39:54 +02:00
Klas Lindfors 091e657a78 drop la files and pkgconfig files for mac and windows builds
since the location in these wont make sense anyways
2016-10-04 10:22:28 +02:00
Alessio Di Mauro ae63ca7ce8 Fix AsciiDoc issue 2016-10-03 15:33:12 +02:00
Alessio Di Mauro a2d602e767 Whitespace cleanup 2016-10-03 15:19:40 +02:00
Alessio Di Mauro 2e6702c5bb Merge pull request #90 from acdha/patch-1
Improve SSH with PIV and PKCS11 instructions
2016-10-03 15:18:04 +02:00
Chris Adams 002c291c31 Improve SSH with PIV and PKCS11 instructions for newbies
I kept some notes for things which I ran into while getting my system configured and working on private documentation:

* Explain how to use a non-default management key
* Explain why `-A RSA4096` isn't an option
* Remove `-P 123456` from the self-sign step to avoid encouraging people to leak their PIN into shell history files; `yubico-piv-tool` will securely prompt for the PIN by default
* Avoid forcing line-wrapping in shell examples, which complicated shell editing
* Show Mac Homebrew users how to reliably determine the opensc lib path
2016-09-30 16:38:03 -04:00
Klas Lindfors 0cf321d0fd Merge pull request #87 from fredemmott/patch-1
Update documentation on ssh-agent on macos
2016-09-23 13:00:07 +02:00
Klas Lindfors e2b07664aa apprently the travis libtool can get broken and need re-install 2016-09-23 12:51:18 +02:00
Klas Lindfors 1bc8a3fb14 add libtool for osx build 2016-09-23 11:22:25 +02:00
Klas Lindfors 9714414635 do autoreconf after adding packages and set -e for travis 2016-09-23 10:29:50 +02:00
Fred Emmott dce091aba7 Update documentation on ssh-agent on macos
Works fine on clean installs of sierra - just needs opensc from homebrew
2016-09-22 23:23:25 -07:00
Klas Lindfors 8bdf7378d6 fixup dependencies for yubico-piv-tool.1
should now support parallel builds
2016-09-12 09:54:04 +02:00