mech_eap.git
9 years agoRebuild for wheezy-backports. wheezy-backports debian/0.9.2-3+deb8u1+bpo70+1
Sam Hartman [Wed, 8 Apr 2015 17:06:40 +0000 (13:06 -0400)]
Rebuild for wheezy-backports.

9 years ago0.9.2-3+deb8u1 jessie
Sam Hartman [Fri, 27 Mar 2015 12:19:40 +0000 (08:19 -0400)]
0.9.2-3+deb8u1

9 years agoAllow whitespace in cacerts
Kevin Wasserman [Wed, 25 Mar 2015 16:07:13 +0000 (12:07 -0400)]
Allow whitespace in cacerts

Makes base64Decode generally more tolerant of whitespace

(cherry picked from commit 6dbf073f937c5dd74a1fe05533e41bb56310a90c)

9 years agolibeap: don't shut down openssl
Sam Hartman [Thu, 12 Mar 2015 14:46:51 +0000 (10:46 -0400)]
libeap: don't shut down openssl

we're a library.  It's antisocial to close down openssl application
wide just because one eap state machine is ending.

(cherry picked from commit 90f04c984e78b9ef791b8fe72f471abaf3bb2fc7)

9 years agoReview security of libeap/wpa_supplicant and send mail to security team explaining...
Sam Hartman [Thu, 23 Oct 2014 16:06:01 +0000 (12:06 -0400)]
Review security of libeap/wpa_supplicant and send mail to security team explaining why I believe moonshot-gss-eap is supportable, Closes: #766476

9 years agoInstall correct /etc/gss/mech.d file
Sam Hartman [Wed, 22 Oct 2014 19:13:36 +0000 (15:13 -0400)]
Install correct /etc/gss/mech.d file

9 years agoMerge branch 'master' into debian
Sam Hartman [Wed, 22 Oct 2014 19:09:36 +0000 (15:09 -0400)]
Merge branch 'master' into debian

* Pull in change for  GSSEAP_TRACE
* pull in segfault fix

9 years agoUse C++ destructors not finalizers
Sam Hartman [Wed, 22 Oct 2014 18:20:37 +0000 (14:20 -0400)]
Use C++ destructors not finalizers

Rather than calling the attribute finalizer from a library level finalizer, do so from a C++ destructor.
Hopefully this addresses a segfault on process termination (LP: #1201939)

9 years agoMech_eap: only output debugging when GSSEAP_TRACE is set
Sam Hartman [Wed, 22 Oct 2014 18:18:09 +0000 (14:18 -0400)]
Mech_eap: only output debugging when GSSEAP_TRACE is set

Previously we only output informational messages from libeap.
However, we also output them all the time to stdout, which is bad
because it disrupts the output of the program.  Now, only output
debugging when the GSSEAP_TRACE environment variable is set.  In that
case output all the libeap debugging, not just informational messages.

In addition, use secure_getenv if it is available to avoid introducing yet more issues if run in a raised privilege situation.

9 years agoDocument changes debian/0.9.2-1
Sam Hartman [Tue, 16 Sep 2014 12:39:13 +0000 (08:39 -0400)]
Document changes

9 years agotodo file
Sam Hartman [Tue, 16 Sep 2014 12:36:33 +0000 (08:36 -0400)]
todo file

9 years agoremove bogus bug number; fix email address
Sam Hartman [Tue, 16 Sep 2014 12:22:10 +0000 (08:22 -0400)]
remove bogus bug number; fix email address

9 years agoFix dependencies for debugging package
Sam Hartman [Tue, 16 Sep 2014 12:21:51 +0000 (08:21 -0400)]
Fix dependencies for debugging package

9 years agoFix syntax error
Sam Hartman [Tue, 16 Sep 2014 12:21:41 +0000 (08:21 -0400)]
Fix syntax error

9 years agoDon't install la files
Sam Hartman [Tue, 16 Sep 2014 12:21:30 +0000 (08:21 -0400)]
Don't install la files

9 years agoInstall /usr/etc/gss/mech if required
Sam Hartman [Tue, 16 Sep 2014 11:55:03 +0000 (07:55 -0400)]
Install /usr/etc/gss/mech if required

9 years ago Add /etc/gss/mech.d support
Sam Hartman [Tue, 16 Sep 2014 11:31:41 +0000 (07:31 -0400)]
 Add /etc/gss/mech.d support

9 years agoNow we're using upstream tarballs.
Sam Hartman [Tue, 16 Sep 2014 11:25:32 +0000 (07:25 -0400)]
Now we're using upstream tarballs.

9 years agoMerge tag 'upstream/0.9.2' into debian
Sam Hartman [Tue, 16 Sep 2014 11:12:26 +0000 (07:12 -0400)]
Merge tag 'upstream/0.9.2' into debian

Conflicts:
.gitignore
Makefile.in
build-aux/config.guess
build-aux/config.sub
build-aux/depcomp
build-aux/install-sh
build-aux/ltmain.sh
build-aux/missing
configure
libeap/Makefile.in
m4/libtool.m4
mech_eap/.gitignore
mech_eap/Makefile.in

9 years agoImport moonshot-gss-eap_0.9.2.orig.tar.gz upstream/0.9.2
Sam Hartman [Tue, 16 Sep 2014 11:09:18 +0000 (07:09 -0400)]
Import moonshot-gss-eap_0.9.2.orig.tar.gz

9 years agoDistribute extra files 0.9.2
Sam Hartman [Tue, 16 Sep 2014 11:05:49 +0000 (07:05 -0400)]
Distribute extra files

9 years agoNew upstream version
Sam Hartman [Mon, 15 Sep 2014 21:49:41 +0000 (17:49 -0400)]
New upstream version

9 years agoMerge branch 'master' into debian
Sam Hartman [Mon, 15 Sep 2014 21:49:13 +0000 (17:49 -0400)]
Merge branch 'master' into debian
Merge in 0.9.2

9 years agoPrefer correct form of shibboleth resolver library
Sam Hartman [Mon, 15 Sep 2014 20:06:13 +0000 (16:06 -0400)]
Prefer correct form of shibboleth resolver library

9 years agoInclude dh-autoreconf, dh 9
Sam Hartman [Mon, 15 Sep 2014 19:07:52 +0000 (15:07 -0400)]
Include dh-autoreconf, dh 9

9 years agoVersion 0.9.2
Sam Hartman [Mon, 15 Sep 2014 19:03:57 +0000 (15:03 -0400)]
Version 0.9.2

9 years agoOnly permit ttls
Sam Hartman [Mon, 15 Sep 2014 19:02:41 +0000 (19:02 +0000)]
Only permit ttls

9 years agoInclude legal notices in distribution
Sam Hartman [Mon, 15 Sep 2014 17:46:01 +0000 (13:46 -0400)]
Include legal notices in distribution

9 years agofix build dependency
Sam Hartman [Mon, 15 Sep 2014 17:45:31 +0000 (13:45 -0400)]
fix build dependency

9 years agoUpdate mech_eap copyright
Sam Hartman [Fri, 12 Sep 2014 17:59:02 +0000 (13:59 -0400)]
Update mech_eap copyright

9 years agoautoreconf
Sam Hartman [Thu, 31 Jul 2014 20:38:43 +0000 (16:38 -0400)]
autoreconf

9 years agonew upstream release
Sam Hartman [Thu, 31 Jul 2014 20:34:58 +0000 (16:34 -0400)]
new upstream release

* new upstream release
  - Includes support for CA certificates.

9 years agoMerge branch 'master' into debian
Sam Hartman [Thu, 31 Jul 2014 20:31:25 +0000 (16:31 -0400)]
Merge branch 'master' into debian
Merge in 0.9.1

9 years agofix typo
Sam Hartman [Thu, 31 Jul 2014 18:15:42 +0000 (14:15 -0400)]
fix typo

9 years agoRegister new RADIUS attributes
Sam Hartman [Thu, 31 Jul 2014 14:38:14 +0000 (10:38 -0400)]
Register new RADIUS attributes

9 years agoVersion 0.9.1
Sam Hartman [Wed, 30 Jul 2014 22:02:37 +0000 (18:02 -0400)]
Version 0.9.1

9 years agoTreat caCertificate as base64-encoded DER rather than PEM
Kevin Wasserman [Thu, 12 Jun 2014 15:09:55 +0000 (11:09 -0400)]
Treat caCertificate as base64-encoded DER rather than PEM

Openssl's pem parser is very picky and requires newlines.
Moonshot-webp eats newlines from the raw xml, requiring
hand-placed '
' for successful parsing, which is
undersirable. So instead use mech_eap's base64Decode() to
convert caCertificate to DER.

9 years agoAvoid double-free of bio. Better error code for ca cert parsing failure.
Kevin Wasserman [Tue, 10 Jun 2014 22:11:59 +0000 (18:11 -0400)]
Avoid double-free of bio. Better error code for ca cert parsing failure.

9 years agoCorrectly handle "ca-cert" in peerGetConfigBlob
Kevin Wasserman [Tue, 10 Jun 2014 22:05:49 +0000 (18:05 -0400)]
Correctly handle "ca-cert" in peerGetConfigBlob

9 years agoTreat caCertificate as pem contents rather than pem filename
Kevin Wasserman [Fri, 6 Jun 2014 12:11:03 +0000 (08:11 -0400)]
Treat caCertificate as pem contents rather than pem filename

10 years agotake length of display_value, not value
Luke Howard [Mon, 2 Dec 2013 06:10:56 +0000 (17:10 +1100)]
take length of display_value, not value

10 years agogssHeaderLength redundantly initialized
Luke Howard [Mon, 2 Dec 2013 06:10:07 +0000 (17:10 +1100)]
gssHeaderLength redundantly initialized

10 years agoassert name non-NULL before dereferencing
Luke Howard [Mon, 2 Dec 2013 06:09:43 +0000 (17:09 +1100)]
assert name non-NULL before dereferencing

10 years agogss_trailerlen = 0 not used
Luke Howard [Mon, 2 Dec 2013 06:09:24 +0000 (17:09 +1100)]
gss_trailerlen = 0 not used

10 years agozeroAndReleasePassword must be called with non-NULL buffer
Luke Howard [Mon, 2 Dec 2013 06:09:03 +0000 (17:09 +1100)]
zeroAndReleasePassword must be called with non-NULL buffer

10 years agodon't set major = GSS_S_FAILURE twice
Luke Howard [Mon, 2 Dec 2013 06:07:19 +0000 (17:07 +1100)]
don't set major = GSS_S_FAILURE twice

10 years agodo not ignore sequenceCheck() return value
Luke Howard [Mon, 2 Dec 2013 06:04:51 +0000 (17:04 +1100)]
do not ignore sequenceCheck() return value

10 years agocheck gssEapRadiusAddAttr(REALM_NAME) return code
Luke Howard [Mon, 2 Dec 2013 06:03:50 +0000 (17:03 +1100)]
check gssEapRadiusAddAttr(REALM_NAME) return code

10 years agotok_type can never be -1
Luke Howard [Mon, 2 Dec 2013 06:03:36 +0000 (17:03 +1100)]
tok_type can never be -1

10 years agoBump release to turn on sha256
Sam Hartman [Wed, 27 Nov 2013 05:14:43 +0000 (00:14 -0500)]
Bump release to turn on sha256

10 years agolibeap: enable sha256
Sam Hartman [Wed, 20 Nov 2013 14:06:52 +0000 (09:06 -0500)]
libeap: enable sha256

10 years agoIgnore TLS errors before TLS calls are made
Sam Hartman [Tue, 26 Nov 2013 13:08:03 +0000 (08:08 -0500)]
Ignore TLS errors before TLS calls are made

10 years agoMerge branch 'master' into debian
Sam Hartman [Tue, 26 Nov 2013 13:07:22 +0000 (08:07 -0500)]
Merge branch 'master' into debian

Pull in change to ignore TLS errors

10 years agoBump specfile version
Sam Hartman [Tue, 26 Nov 2013 13:07:10 +0000 (08:07 -0500)]
Bump specfile version

10 years agolibeap: ignore TLS errors before any TLS calls
Sam Hartman [Tue, 26 Nov 2013 13:05:37 +0000 (08:05 -0500)]
libeap: ignore TLS errors before any TLS calls

Ignore any errors that take place before the packet is started.

10 years agobump release
Sam Hartman [Mon, 25 Nov 2013 14:23:40 +0000 (09:23 -0500)]
bump release

10 years agoutil:name: 1 component principals can be services too
Sam Hartman [Thu, 21 Nov 2013 18:27:52 +0000 (13:27 -0500)]
util:name: 1 component principals can be services too

accept_sec_context.c: Only add hostname if we have one

10 years agofix assert failure
Sam Hartman [Thu, 21 Nov 2013 19:05:19 +0000 (14:05 -0500)]
fix assert failure

10 years agoOnly add hostname if we have one
Sam Hartman [Thu, 21 Nov 2013 19:04:51 +0000 (14:04 -0500)]
Only add hostname if we have one

10 years agoPermit 1-component service names
Sam Hartman [Thu, 21 Nov 2013 18:28:46 +0000 (13:28 -0500)]
Permit 1-component service names

10 years agoutil:name: 1 component principals can be services too
Sam Hartman [Thu, 21 Nov 2013 18:27:52 +0000 (13:27 -0500)]
util:name: 1 component principals can be services too

10 years agoEnable sha256 in libeap
Sam Hartman [Wed, 20 Nov 2013 14:08:02 +0000 (09:08 -0500)]
Enable sha256 in libeap

10 years agoautoreconf
Sam Hartman [Wed, 20 Nov 2013 14:07:28 +0000 (09:07 -0500)]
autoreconf

10 years agolibeap: enable sha256
Sam Hartman [Wed, 20 Nov 2013 14:06:52 +0000 (09:06 -0500)]
libeap: enable sha256

10 years agoUpdate from upstream to fix segfault on no hostname
Sam Hartman [Thu, 14 Nov 2013 03:31:28 +0000 (22:31 -0500)]
Update from upstream to fix segfault on no hostname

10 years agoMerge branch 'master' of ssh://moonshot.suchdamage.org/srv/git/mech_eap into debian
Sam Hartman [Thu, 14 Nov 2013 03:30:49 +0000 (22:30 -0500)]
Merge branch 'master' of ssh://moonshot.suchdamage.org/srv/git/mech_eap into debian

10 years agospecfile: new release
Sam Hartman [Mon, 11 Nov 2013 19:52:11 +0000 (14:52 -0500)]
specfile: new release

10 years agoFix logic for parsing princ components (LP 1249863)
Kevin Wasserman [Mon, 11 Nov 2013 12:09:39 +0000 (07:09 -0500)]
Fix logic for parsing princ components (LP 1249863)

Avoid segfault when missing acceptor realm.

10 years agoSend flags token with mutual authentication forced
Sam Hartman [Tue, 29 Oct 2013 14:42:49 +0000 (10:42 -0400)]
Send flags token with mutual authentication forced

10 years agospecfile: %post handles /etc/gss/mech
Sam Hartman [Mon, 28 Oct 2013 18:16:59 +0000 (14:16 -0400)]
specfile: %post handles /etc/gss/mech

10 years agoTemporary: set mutual in flags token
Sam Hartman [Mon, 28 Oct 2013 17:31:54 +0000 (13:31 -0400)]
Temporary: set mutual in flags token

Force mutual flag on the context prior to sending the flags token until channel binding is better deployed.

10 years agosetting flags in verify MIC too late
Sam Hartman [Mon, 28 Oct 2013 17:21:25 +0000 (13:21 -0400)]
setting flags in verify MIC too late

We've been force setting mutual authentication in the verify mic SM callback.  We need to set mutual authentication prior to sending the flags token.

10 years agoUpdate for another libradsec
Sam Hartman [Fri, 11 Oct 2013 14:03:40 +0000 (10:03 -0400)]
Update for another libradsec

10 years agoForce rebuild for rpm to pick up libmoonshot1
Sam Hartman [Fri, 11 Oct 2013 12:41:32 +0000 (08:41 -0400)]
Force rebuild for rpm to pick up libmoonshot1

10 years agonew release
Sam Hartman [Thu, 10 Oct 2013 16:17:09 +0000 (12:17 -0400)]
new release

10 years agonew release
Sam Hartman [Thu, 10 Oct 2013 16:17:09 +0000 (12:17 -0400)]
new release

10 years agoautoreconf
Sam Hartman [Thu, 10 Oct 2013 14:23:41 +0000 (10:23 -0400)]
autoreconf

10 years agoFix segfault (LP: #1237981 )
Sam Hartman [Thu, 10 Oct 2013 14:23:19 +0000 (10:23 -0400)]
Fix segfault (LP: #1237981 )

10 years agoMerge remote-tracking branch 'origin/master' into debian
Sam Hartman [Thu, 10 Oct 2013 14:22:04 +0000 (10:22 -0400)]
Merge remote-tracking branch 'origin/master' into debian

Fix segfault LP: 1237981

10 years agoDon't free parts of the principal in channel bindings (LP: #1237981 ...
Sam Hartman [Thu, 10 Oct 2013 14:13:48 +0000 (10:13 -0400)]
Don't free parts of the principal in channel bindings (LP: #1237981                                            )

10 years agoCreate moonshot-gss-eap-dbg
Sam Hartman [Thu, 10 Oct 2013 13:44:53 +0000 (09:44 -0400)]
Create moonshot-gss-eap-dbg

10 years agomake dist cleanups
Sam Hartman [Wed, 9 Oct 2013 22:50:25 +0000 (23:50 +0100)]
make dist cleanups

10 years agoMake dist cleanup
Sam Hartman [Wed, 9 Oct 2013 20:15:19 +0000 (16:15 -0400)]
Make dist cleanup

10 years agoautoreconf
Sam Hartman [Fri, 4 Oct 2013 20:39:56 +0000 (16:39 -0400)]
autoreconf

10 years agoautoreconf
Sam Hartman [Fri, 4 Oct 2013 20:38:46 +0000 (16:38 -0400)]
autoreconf

10 years agoDepend on moonshot-ui 0.6-2 to get libmoonshot1
Sam Hartman [Fri, 4 Oct 2013 13:41:31 +0000 (09:41 -0400)]
Depend on moonshot-ui 0.6-2 to get libmoonshot1

10 years agoBuild depend on openssl
Sam Hartman [Fri, 27 Sep 2013 12:53:41 +0000 (08:53 -0400)]
Build depend on openssl

* Build depend on openssl
* New upstream version

10 years agoMerge branch 'master' into debian
Sam Hartman [Fri, 27 Sep 2013 12:52:03 +0000 (08:52 -0400)]
Merge branch 'master' into debian

Conflicts:
libeap/Makefile.am

10 years agoAccept NULL data in mech_eap cb response cb
Sam Hartman [Thu, 26 Sep 2013 15:39:16 +0000 (11:39 -0400)]
Accept NULL data in mech_eap cb response cb

10 years agochbind: Always call response callback
Sam Hartman [Thu, 26 Sep 2013 15:34:18 +0000 (11:34 -0400)]
chbind: Always call response callback

Previously the response callback was only called if there was data for
the namespace that is registered.  Now, call the callback whenever any
channel binding response is received.  This permits callbacks to get
failure responses with no attributes.

10 years agoMerge remote-tracking branch 'origin/eap-tls'
Sam Hartman [Fri, 20 Sep 2013 17:04:12 +0000 (13:04 -0400)]
Merge remote-tracking branch 'origin/eap-tls'

The eap-tls branch includes build dependencies on openssl which we
need for the sha2 hash support in IDP certs.  The eap-tls changes are
not widely exposed, but to the extent they are present are harmless.

Conflicts:
libeap/Makefile.am
mech_eap/Makefile.am
mech_eap/gssapiP_eap.h
mech_eap/init_sec_context.c

10 years agoUse service spicifics utility functions correctly
Sam Hartman [Fri, 20 Sep 2013 01:39:11 +0000 (21:39 -0400)]
Use service spicifics utility functions correctly

10 years agoremove extranious declaration
Sam Hartman [Fri, 20 Sep 2013 01:34:36 +0000 (21:34 -0400)]
remove extranious declaration

10 years agotemporary: force mutual
Sam Hartman [Thu, 19 Sep 2013 19:31:19 +0000 (15:31 -0400)]
temporary: force mutual

Until channel bindings are more widely deployed force mutual
authentication even if channel binding fails.

10 years agoEAP Channel binding support
Sam Hartman [Fri, 13 Sep 2013 19:41:19 +0000 (15:41 -0400)]
EAP Channel binding support

Merge remote-tracking branch 'origin/eap-chbind'

Conflicts:
mech_eap/accept_sec_context.c
mech_eap/dictionary.ukerna
mech_eap/gsseap_err.et
mech_eap/util_radius.h

10 years agoupdate for another redhat build
Sam Hartman [Fri, 31 May 2013 13:35:01 +0000 (09:35 -0400)]
update for another redhat build

10 years agoUpdate RPM release to link against libmoonshot
Sam Hartman [Tue, 28 May 2013 19:06:58 +0000 (15:06 -0400)]
Update RPM release to link against libmoonshot

10 years agoIncrease version for redhat because of new OID and IETF changes; this should have...
Sam Hartman [Wed, 8 May 2013 11:58:28 +0000 (07:58 -0400)]
Increase version  for redhat because of new OID and IETF changes; this should have been done back in May

10 years agoUpdate build deps for shibboleth
Sam Hartman [Tue, 30 Apr 2013 19:55:05 +0000 (15:55 -0400)]
Update build deps for shibboleth

10 years agoSupport curl-openssl-devel from shibboleth in RH spec files
Sam Hartman [Mon, 29 Apr 2013 20:26:07 +0000 (16:26 -0400)]
Support curl-openssl-devel from shibboleth in RH spec files