49 Commits

Author SHA1 Message Date
Josh Cepek
2fe709339d Update ChangeLog for release: 3.0.0-rc2 2014-07-27 08:15:26 -05:00
Josh Cepek
1551e5f335 docs: fix typo 2014-07-27 08:02:43 -05:00
Josh Cepek
7ae44b3469 Add KNOWN_ISSUES to stage next -rc release 2014-07-27 07:49:34 -05:00
Josh Cepek
a0d58b2faf Update documentation 2014-07-27 07:24:40 -05:00
Josh Cepek
5758825baa Fix vars.example with proper path to extensions.temp
Related to issue #24. This does not yet resolve the vars_setup() logic
to assure unmodified variables use defaults rather than empty strings.
2014-07-27 07:19:49 -05:00
Josh Cepek
89f369c5bb Add support to change private key passphrases
Adds the 'set-rsa-pass' and 'set-ec-pass' commands. Both are able to set
or remove a passphrase, and can optionally act on a direct file path
instead of a relative filename base name.

Signed-off-by: Josh Cepek <josh.cepek@usa.net>
2013-12-23 12:36:00 -06:00
Josh Cepek
49d7c102ec Improve docs: add Upgrade-Notes; add online support refs
Upgrade-Notes includes v2 to v3 upgrade changes that users should be
aware of.

The updated top-level README helps point users to online support
locations.

Signed-off-by: Josh Cepek <josh.cepek@usa.net>
2013-12-23 12:35:40 -06:00
Josh Cepek
fcc4547542 Add build-dist packaging script; update Building docs
This initial packaging script creates a release-ready tarball for
Unix-alikes. Windows support will be added in a separate commit.

Signed-off-by: Josh Cepek <josh.cepek@usa.net>
2013-12-12 12:29:29 -06:00
Josh Cepek
f74d08eace docs: update Hacking.md with layout & git conventions
Updates include listing project dir layout, git conventions on
commits/merges/tags, and code spacing/indent recommendations.

Signed-off-by: Josh Cepek <josh.cepek@usa.net>
2013-12-12 08:33:49 -06:00
Josh Cepek
0754f23404 Offload temp file removal to a clean_temp() function
This simplifies code flow where temp files are used.

Signed-off-by: Josh Cepek <josh.cepek@usa.net>
2013-12-11 13:07:37 -06:00
Josh Cepek
1c90df94ea Fix incorrect handling of invalid --use-algo option
The prior warn/fallback to rsa didn't work, and fallback is probably the
wrong thing to do, especially for batch callers. It is now an error to
supply an invalid value.

No need to export the EASYRSA_ALGO_PARAMS either.

Signed-off-by: Josh Cepek <josh.cepek@usa.net>
2013-12-11 12:01:04 -06:00
Josh Cepek
c86289ba17 Fix batch-mode handling with changes in e75ad75
The --batch CLI arg now takes no options and enables batch-mode when
present.

init-pki no longer takes a 'force' value which did the same as --batch.

Signed-off-by: Josh Cepek <josh.cepek@usa.net>
2013-12-11 11:29:51 -06:00
Eric F Crist
e75ad75421 refine how booleans are evaluated
Signed-Off-By: Josh Cepek <josh.cepek@usa.net>
2013-12-10 14:23:11 -06:00
Josh Cepek
cc19823fb3 Merge PKCS#7 feature from pull req #14
This adds export support for PKCS#7 bundles, and adds the option to
export PKCS#12 without private keys

Author: Luiz Angelo Daros de Luca <luizluca@tre-sc.gov.br>
Signed-off-by: Josh Cepek <josh.cepek@usa.net>
2013-12-10 10:18:31 -06:00
Josh Cepek
90dc74c034 Modify error message from export_pkcs() to avoid console wrapping
Signed-off-by: Josh Cepek <josh.cepek@usa.net>
2013-12-10 10:08:53 -06:00
Luiz Angelo Daros de Luca
cf4cc319e5 - removed unecessary arg check in export_pkcs func
- Changed expanded tabs (spaces) to normal tabs
- fixed pkcs12 nokey message
- changed export dir for pkcs7 to issued
2013-12-10 12:55:47 -02:00
Luiz Angelo Daros de Luca
4fa57bff6b - added option nokey for pkcs12 to avoid exporting private keys
- added command export-p7 to export certs using pkcs7 format.
2013-12-10 12:55:47 -02:00
Josh Cepek
8b1fe0152f Support OpenSSL-0.9.8 with the EXTRA_EXTS feature
OpenSSL-0.9.8 cannot handle an empty extensions section. This change has
the dynamic extensions support place the section reference in the
temporary file at runtime, supporting both 0.9.8 and 1.0.* versions.

Signed-off-by: Josh Cepek <josh.cepek@usa.net>
2013-12-08 15:05:50 -06:00
Josh Cepek
d5516d5f5d Windows: make builds easier by using a matching dir structure
Now the entire distro/windows/ dir contents can be copied into a staging
dir during release prep.

Signed-off-by: Josh Cepek <josh.cepek@usa.net>
2013-12-01 14:42:36 -06:00
Josh Cepek
dc2e6dc7dc Windows: improve external checks and env-var help
Add test for `cat` external

Fix the env-var to read the correct EASYRSA_OPENSSL name

Signed-off-by: Josh Cepek <josh.cepek@usa.net>
2013-12-01 14:32:55 -06:00
Josh Cepek
8cf97e116f Update version strings to prepare for release tag v3.0.0-rc1
Signed-off-by: Josh Cepek <josh.cepek@usa.net>
2013-11-30 21:47:31 -06:00
Josh Cepek
b7a91b1dae Add release-keys
The GPG/PGP keys listed in this file are used to sign official releases
of Easy-RSA 3. The keys themselves can be downloaded from the many
public keyserver mirrors.

Signed-off-by: Josh Cepek <josh.cepek@usa.net>
2013-11-30 21:06:06 -06:00
Josh Cepek
9fc55916a1 Add Building info
Signed-off-by: Josh Cepek <josh.cepek@usa.net>
2013-11-30 18:43:48 -06:00
Josh Cepek
7fd95438bc Add Hacking docs
Signed-off-by: Josh Cepek <josh.cepek@usa.net>
2013-11-30 18:43:48 -06:00
Josh Cepek
cc65460437 Update ChangeLog for ECDSA contribution; clean up formatting
Signed-off-by: Josh Cepek <josh.cepek@usa.net>
2013-11-30 18:43:48 -06:00
Josh Cepek
cb74c35eb3 Update to ECDSA support from commit 45c27e9
Add documentation & help output; add quoting; add error messages; put
the ecparams dir under PKI dir with env-var tunable.

Signed-off-by: Josh Cepek <josh.cepek@usa.net>
2013-11-24 23:37:27 -06:00
Steffan Karger
45c27e9fb5 Add ECDSA support
This commit adds the possibility to specify the algorithm used by openssl
by adding the --use-algo and --curve parameters.

Signed-off-by: Steffan Karger <steffan@karger.me>
2013-11-19 23:32:14 +01:00
Josh Cepek
b0494ab243 Add initial 3.x codebase files
This is the initial re-write for the 3.x release series.

Signed-off-by: Josh Cepek <josh.cepek@usa.net>
2013-11-18 02:54:07 -06:00
Josh Cepek
346adba3f3 Remove all 2.x files prior to 3.x codebase drop
This cleans out the directory tree for the 3.x codebase re-write.

Signed-off-by: Josh Cepek <josh.cepek@usa.net>
2013-11-18 02:44:31 -06:00
Eric F Crist
fd11cf1983 update README file to mention new branches
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2013-11-08 21:48:45 -06:00
fredde-fisk
73e7e3a275 Invalid "-days" argument to openssl req in pkitool
See https://community.openvpn.net/openvpn/ticket/198
2013-10-28 10:00:17 +01:00
Eric Crist
3b471495bb Merge pull request #7 from christophecach/master
Rather obvious fix, thanks!
- Fixed installation script from Makefile.am
2013-10-22 11:47:22 -07:00
christophecach
abbafa1d27 - Fixed installation script from Makefile.am 2013-10-06 13:05:19 -04:00
Eric Crist
ce372dfb23 Merge pull request #3 from ab/master
Various mostly pointless style edits
2013-07-05 10:49:53 -07:00
Andy Brody
46f5fd5c86 Use heredocs rather than an echo every line. 2013-05-22 14:39:20 -07:00
Andy Brody
988f5e39a9 Fix up whitespace in 1.0 as well. 2013-05-22 14:30:40 -07:00
Andy Brody
4236454f93 Strip trailing whitespace. 2013-05-20 00:20:48 -04:00
Andy Brody
b2572dcbd8 Expand tabs. 2013-05-20 00:20:25 -04:00
Eric F Crist
ff5bfd1dd8 Change hash and keysize defaults to modern standards
Change keysize defaults from 1024 to 2048 bits and change the default
hash from md5 to sha256.  Also, removed an oddly-specific call for sha1
in one instance.

Signed-off-by: Josh Cepek <josh.cepek@usa.net>
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2013-01-30 14:59:18 -06:00
Nicholas Hall
8082464c0f Make vars file more sane.
* Removed duplicate KEY_EMAIL var
* Commented out KEY_PCS11 vars [1]
* Commented out KEY_CN with explanation
* Set saner defaults
* reorganized vars, "required" fields first

[1] I commented these out because they're already set to dummy and you only need to change them if you're indeed going to use them.  This makes it a little less confusing to newbies who may not be interested in PKCS11 and get confused when reading that they should now "leave any of these fields blank".

Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2012-07-03 08:37:23 -05:00
Eric F Crist
6bbe933bbf adding README with instructions for signing/verifying packages
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2012-06-27 08:26:50 -05:00
Eric F Crist
776cffbf9e Changed to version 2.2.x for added build system
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2012-06-27 07:08:04 -05:00
Alon Bar-Lev
cb2d7311eb build: change version to indicate the master branch is not a version
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2012-06-27 07:07:38 -05:00
Alon Bar-Lev
5499b10925 packaging: rpm: initial add
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2012-06-27 07:07:38 -05:00
Alon Bar-Lev
4886d517e5 build: doc
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2012-06-27 07:07:38 -05:00
Alon Bar-Lev
09968bb463 build: simple autotools build
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2012-06-27 07:07:38 -05:00
Samuli Seppänen
ee57a1db5f Moved 1.0, 2.0 and Windows directories in easy-rsa subdirectory
This is required to allow applying Alon's autotools/rpm/documentation patches
from GitHub OpenVPN/easy-rsa-old tree.

Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
2012-06-27 07:07:38 -05:00
Simon Deziel
a812fed7fb Properly detect OpenSSL version strings with numbers only
whichopensslcnf failed to return the right cnf for:

$ openssl version
OpenSSL 1.0.1 14 Mar 2012

Signed-off-by: Simon Deziel <simon.deziel@gmail.com>
Acked-by: Alon Bar-Lev <alon.barlev@gmail.com>
Message-Id: 4FAE87C1.6000509@gmail.com
URL: http://article.gmane.org/gmane.network.openvpn.devel/6534
Signed-off-by: David Sommerseth <davids@redhat.com>
2012-06-01 14:57:26 +02:00
David Sommerseth
f50a678a18 Initial easy-rsa commit
In the master branch of openvpn.git/openvpn-testing.git commit
26abb83cb1cf0c331db875186250b0c8d55d6013 removes easy-rsa from the
core OpenVPN tree.

This commit is the import of the easy-rsa based on the commit
mentioned.  The history before this import of easy-rsa can be found
in the openvpn.git/openvpn-testing.git trees.

Signed-off-by: David Sommerseth <davids@redhat.com>
2012-03-28 15:05:54 +02:00