sesame ChangeLog,1.2,1.3 configure.in,1.1.1.1,1.2

David Zeuthen david at freedesktop.org
Fri Dec 31 05:35:49 PST 2004


Update of /cvs/hal/sesame
In directory gabe:/tmp/cvs-serv25990

Modified Files:
	ChangeLog configure.in 
Log Message:
2004-12-31  David Zeuthen  <davidz at redhat.com>

	Patch from W. Michael Petullo <mike at flyn.org>. I wrote a patch for
	the sesame code in CVS that adds a C implementation of
	sesame-setup.  I used OpenSSL's libraries for the crypto because
	this is what I am familiar with.  Cryptsetup is also required.  It
	seems to work.

	* configure.in: Check for openssl lib and cryptsetup
	
	* tools/Makefile.am: pass CRYPTSETUP to be the path of the cryptsetup
	binary
	
	* tools/sesame-setup.c: (print_usage), (sslerror), (hash_authtok),
	(decrypt), (decode), (strip_cr), (read_key), (msg),
	(run_cryptsetup), (main): New functions



Index: ChangeLog
===================================================================
RCS file: /cvs/hal/sesame/ChangeLog,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- ChangeLog	17 Dec 2004 17:02:42 -0000	1.2
+++ ChangeLog	31 Dec 2004 13:35:47 -0000	1.3
@@ -1,3 +1,20 @@
+2004-12-31  David Zeuthen  <davidz at redhat.com>
+
+	Patch from W. Michael Petullo <mike at flyn.org>. I wrote a patch for
+	the sesame code in CVS that adds a C implementation of
+	sesame-setup.  I used OpenSSL's libraries for the crypto because
+	this is what I am familiar with.  Cryptsetup is also required.  It
+	seems to work.
+
+	* configure.in: Check for openssl lib and cryptsetup
+	
+	* tools/Makefile.am: pass CRYPTSETUP to be the path of the cryptsetup
+	binary
+	
+	* tools/sesame-setup.c: (print_usage), (sslerror), (hash_authtok),
+	(decrypt), (decode), (strip_cr), (read_key), (msg),
+	(run_cryptsetup), (main): New functions
+
 2004-12-17  David Zeuthen  <davidz at redhat.com>
 
 	* tools/Makefile.am: Don't use @PACKAGE_LIBS@ as we are not using

Index: configure.in
===================================================================
RCS file: /cvs/hal/sesame/configure.in,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- configure.in	17 Dec 2004 16:56:52 -0000	1.1.1.1
+++ configure.in	31 Dec 2004 13:35:47 -0000	1.2
@@ -103,6 +103,14 @@
 
 #pkg_modules="hal >= 0.4.0, hal-storage >= 0.4.0, openssl >= 0.9.7a"
 #PKG_CHECK_MODULES(PACKAGE, [$pkg_modules])
+AC_CHECK_LIB(crypto, EVP_DecryptInit_ex)
+AC_CHECK_LIB(ssl, SSL_load_error_strings)
+
+AC_PATH_PROG(CRYPTSETUP, cryptsetup, no)
+if test x"$CRYPTSETUP" = xno; then
+        AC_MSG_ERROR([cryptsetup executable not found in your path])
+fi
+AC_SUBST(CRYPTSETUP)
 
 AS_AC_EXPAND(LOCALSTATEDIR, $localstatedir)
 AS_AC_EXPAND(SYSCONFDIR, $sysconfdir)




More information about the hal-commit mailing list