Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

Re: make check -> ./1-cre_cadb.sh: !: not found

Subject: Re: make check -> ./1-cre_cadb.sh: !: not found
Date: Fri, 25 Feb 2005 23:03:31 +0200
ervanborren-ext@airfrance.fr wrote:

Hello M. Roumen Petrov,

Thanks for your First Help ! 2d question :

root@qvgdisy3 # uname -a
SunOS qvgdisy3 5.8 Generic_117350-08 sun4u sparc SUNW,Ultra-X
root@qvgdisy3 #

root@qvgdisy3 # make check
...
[SNIP]
/bin/sh ./1-cre_cadb.sh
OpenSSL executable version: OpenSSL 0.9.7e 25 Oct 2004
RSA digest list: md5 sha1 md2 md4 rmd160
./1-cre_cadb.sh: local: not found
[SNIP]


Short answer: see section 4.1 from README.x509v3.
You can  run only tests for certificates with command
make check-certs SHELL=/bin/ksh
Note replace /bin/ksh with "korn shell" installed on your system.

Details: Some Unix shells don't accept local keyword in shell scripts. Work around is to run regression test with other shells. As example ksh simply ignore local keyword and this allow test related to X.509 certificates to succeed.

On page http://roumenpetrov.info.localhost/openssh/index-20040309.html is archived announce for version x509g3 from 25 Feb 2004.
Details from announce:
* code cleanup:
Version x509g3 follow up OpenSSH 3.8p1 and don't contain any new functions
* X.509 test shell scripts cleanup:
Now all X.509 tests are without local keyword.
Before changes accepted shell are bash, ksh, zsh and ash. Now I hope they can be run on Unix with standard sh.
**


If I understand well, ( not for programming, but functionality )
Why do you want to recreate openssl.cnf; That I have already Done !
or is it just for Test/CA !
Why don't you hask to user/root where is my conf, and ca.crt or *.pem ? (already done for https/Mozilla).


Regression test should not depend from user configuration. As example test check certificates with different signature algorithms.
The file tests/CA/ca-test/catest.config contain openssl configuration suitable for test. Created keys and certficates are only for test of course.



Regards, Roumen Petrov

<Prev in Thread] Current Thread [Next in Thread>
  • Re: make check -> ./1-cre_cadb.sh: !: not found, Roumen Petrov <=