Credit to @OtherSystems and @Antagonym and some others who pointed this out. This
resolves#189 and #193 and #186 and #179.
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
The EASYRSA_ALGO, EASYRSA_KEY_SIZE, and EASYRSA_CURVE settings in
`vars`, as well as their runtime overrides are ignored during `build-ca`
since 6268cd9. This restores previous behavior of honring the settings.
Should also fix#179.
I knew this was hanging out there, but Antagoynm found it before I was
able to resolve it. There was a message from shellcheck regarding this
one:
SC2059: Don't use variables in the printf format string. Use
printf "..%s.." "$foo".
Should resolve#181
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
Some Linux distros and BSD sh don't support the -s option to the read
builin. This is the POSIX way to handle secure input to a tty.
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
Attempts at making shellcheck happy and a little bit of sanity checking
for travis-ci. Going to try and get some basic easyrsa commands going
next, once I figure out what travis-ci's environment looks like.
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
* Remove SC2006 from shellcheck: bashism
* Put variable declarations on separate lines (SC1007)
* Remove "local" from Windows sh script (SC2039)
* Remove "x" variable define from read in Windows sh script (SC2034)
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
* Run the Windows specific files through unix2dos for easier consumption
* Modify the tar command options to better support "build" on FreeBSD
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
amkhiv was kind enough to point out I failed to fix the "local" syntax
removal from cmd_help(). tincantech has pointed this out and I intended
on fixing, but missed it.
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
Also, update the README to indicate master is development. People don't
seem to understand that.
Resolves#167
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
This is the initial attempt to integrate the easyrsa project with
travis-ci by merging szepeviktor-master. Additional work is necessary,
but this gets us going in the right direction. Closes#165.
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
This is an alternative to the proposed patch in #154 and is easier to
read than the change.
Closes#154.
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>