jra1mw.git
13 years agoUse update_error instead of set_error where could be called more than once.
Marcel Poul [Mon, 23 Jan 2012 10:22:36 +0000 (10:22 +0000)]
Use update_error instead of set_error where could be called more than once.

13 years agoBuild of examples after library name change, CFLAGS cleanups.
František Dvořák [Fri, 20 Jan 2012 11:20:52 +0000 (11:20 +0000)]
Build of examples after library name change, CFLAGS cleanups.

13 years agoUse language name in library name.
František Dvořák [Fri, 20 Jan 2012 11:12:28 +0000 (11:12 +0000)]
Use language name in library name.

13 years agoNew build dependencies for caNl (for building stage).
František Dvořák [Thu, 19 Jan 2012 08:37:00 +0000 (08:37 +0000)]
New build dependencies for caNl (for building stage).

13 years agoerror code mappings
Daniel Kouřil [Thu, 19 Jan 2012 08:25:56 +0000 (08:25 +0000)]
error code mappings

13 years agoA small rename to stay consistent with other names
Daniel Kouřil [Thu, 19 Jan 2012 08:25:51 +0000 (08:25 +0000)]
A small rename to stay consistent with other names

13 years agoUse proper type
Daniel Kouřil [Thu, 19 Jan 2012 08:25:44 +0000 (08:25 +0000)]
Use proper type

13 years agos/posix_error/POSIX_ERROR/
Daniel Kouřil [Thu, 19 Jan 2012 08:25:40 +0000 (08:25 +0000)]
s/posix_error/POSIX_ERROR/

13 years agoUse appropriate type for error in the context
Daniel Kouřil [Thu, 19 Jan 2012 08:25:33 +0000 (08:25 +0000)]
Use appropriate type for error in the context

13 years ago- install all the headers
Daniel Kouřil [Thu, 19 Jan 2012 08:25:26 +0000 (08:25 +0000)]
- install all the headers
- build in the error descriptions

13 years agoRefactoring of the error structures/codes to follow the upper/lower-case convention
Daniel Kouřil [Thu, 19 Jan 2012 08:25:22 +0000 (08:25 +0000)]
Refactoring of the error structures/codes to follow the upper/lower-case convention

13 years agoA generic warning is generated on encountering an unknown error origin
Daniel Kouřil [Thu, 19 Jan 2012 08:25:18 +0000 (08:25 +0000)]
A generic warning is generated on encountering an unknown error origin

13 years agoRemoved useless call from the API
Daniel Kouřil [Thu, 19 Jan 2012 08:25:13 +0000 (08:25 +0000)]
Removed useless call from the API

13 years agoCorrected the loop making authenticated connection
Daniel Kouřil [Thu, 19 Jan 2012 08:25:06 +0000 (08:25 +0000)]
Corrected the loop making authenticated connection

13 years agomake sure socket is only stored on success (even with subsuqent changes of the code)
Daniel Kouřil [Thu, 19 Jan 2012 08:25:02 +0000 (08:25 +0000)]
make sure socket is only stored on success (even with subsuqent changes of the code)

13 years agocanl_cred_save_(chain, cert) methods def.
Marcel Poul [Wed, 18 Jan 2012 21:47:22 +0000 (21:47 +0000)]
canl_cred_save_(chain, cert) methods def.

13 years agoset lifetime, cert_type, extension to canl_cred
Marcel Poul [Wed, 18 Jan 2012 21:17:55 +0000 (21:17 +0000)]
set lifetime, cert_type, extension to canl_cred

13 years agoload certificate chain
Marcel Poul [Wed, 18 Jan 2012 20:52:06 +0000 (20:52 +0000)]
load certificate chain

13 years agomethods loading cert from X509 as well as file added
Marcel Poul [Wed, 18 Jan 2012 19:39:24 +0000 (19:39 +0000)]
methods loading cert from X509 as well as file added

13 years agoAddressed some warnings
Daniel Kouřil [Wed, 18 Jan 2012 19:07:28 +0000 (19:07 +0000)]
Addressed some warnings

13 years agoload priv. key and request to canl_cred
Marcel Poul [Wed, 18 Jan 2012 15:34:18 +0000 (15:34 +0000)]
load priv. key and request to canl_cred

13 years agomake some parameters const.
Marcel Poul [Wed, 18 Jan 2012 15:31:50 +0000 (15:31 +0000)]
make some parameters const.

13 years agono need for this method call anymore
Marcel Poul [Wed, 18 Jan 2012 15:30:52 +0000 (15:30 +0000)]
no need for this method call anymore

13 years agomake set_(key,cert)_file() method more efficient
Marcel Poul [Wed, 18 Jan 2012 15:19:30 +0000 (15:19 +0000)]
make set_(key,cert)_file() method more efficient

13 years ago- SSL-specific calls grouped in a separate header
Daniel Kouřil [Wed, 18 Jan 2012 13:50:47 +0000 (13:50 +0000)]
- SSL-specific calls grouped in a separate header
- added API to set flags
- added API to use PKCS11 objects

13 years agorequests handling methods definitions
Marcel Poul [Wed, 18 Jan 2012 13:49:03 +0000 (13:49 +0000)]
requests handling methods definitions

13 years agocall method by its new namcall method by its new name
Marcel Poul [Wed, 18 Jan 2012 12:32:55 +0000 (12:32 +0000)]
call method by its new namcall method by its new name

13 years agoclean new canl_cred struct.
Marcel Poul [Wed, 18 Jan 2012 12:28:34 +0000 (12:28 +0000)]
clean new canl_cred struct.

13 years agoMade the error codes start sufficiently high
Daniel Kouřil [Wed, 18 Jan 2012 12:21:41 +0000 (12:21 +0000)]
Made the error codes start sufficiently high

13 years agorequest handling structure added
Marcel Poul [Wed, 18 Jan 2012 12:17:45 +0000 (12:17 +0000)]
request handling structure added

13 years agoremoved unnecessary calls
Daniel Kouřil [Wed, 18 Jan 2012 09:48:06 +0000 (09:48 +0000)]
removed unnecessary calls

13 years agosome notes
Daniel Kouřil [Wed, 18 Jan 2012 09:04:50 +0000 (09:04 +0000)]
some notes

13 years agoTemporarily hard-wired host credentials to be used by the server side
Daniel Kouřil [Tue, 17 Jan 2012 20:14:39 +0000 (20:14 +0000)]
Temporarily hard-wired host credentials to be used by the server side

13 years agocorrect the order of params
Daniel Kouřil [Tue, 17 Jan 2012 20:14:22 +0000 (20:14 +0000)]
correct the order of params

13 years ago- polished the methods and their prototypes in the authN "object"
Daniel Kouřil [Tue, 17 Jan 2012 20:14:05 +0000 (20:14 +0000)]
- polished the methods and their prototypes in the authN "object"
- don't call the ssl routines directly but solely through the object

13 years agoper-connection SSL context remove from the contexts
Daniel Kouřil [Tue, 17 Jan 2012 20:13:38 +0000 (20:13 +0000)]
per-connection SSL context remove from the contexts

13 years agoSSL_CTX removed from the global context.
Daniel Kouřil [Tue, 17 Jan 2012 20:13:20 +0000 (20:13 +0000)]
SSL_CTX removed from the global context.

13 years agoIterate over (potentially) multiple available authentication methods
Daniel Kouřil [Tue, 17 Jan 2012 20:12:55 +0000 (20:12 +0000)]
Iterate over (potentially) multiple available authentication methods
- some cleanup of the authN "object" methods

13 years agoInitialization of SSL contexts moved to more appropriate places
Daniel Kouřil [Tue, 17 Jan 2012 20:12:38 +0000 (20:12 +0000)]
Initialization of SSL contexts moved to more appropriate places
- credentials locations became unhandled

13 years agoAdded ssl_finish() to free the global context
Daniel Kouřil [Tue, 17 Jan 2012 20:12:20 +0000 (20:12 +0000)]
Added ssl_finish() to free the global context

13 years agoPass SSL_CTX as a parameter to the initialization routines.
Daniel Kouřil [Tue, 17 Jan 2012 20:12:04 +0000 (20:12 +0000)]
Pass SSL_CTX as a parameter to the initialization routines.

13 years agoadded ssl_free() to cleanup per-connection contexts
Daniel Kouřil [Tue, 17 Jan 2012 20:11:47 +0000 (20:11 +0000)]
added ssl_free() to cleanup per-connection contexts

13 years agoinitialize all the authN mechs available.
Daniel Kouřil [Tue, 17 Jan 2012 20:11:30 +0000 (20:11 +0000)]
initialize all the authN mechs available.

13 years agodefine a per-connection context for the particular authN mechs
Daniel Kouřil [Tue, 17 Jan 2012 20:11:12 +0000 (20:11 +0000)]
define a per-connection context for the particular authN mechs

13 years agoupdate_error can be be passed err codes, too
Daniel Kouřil [Tue, 17 Jan 2012 20:10:56 +0000 (20:10 +0000)]
update_error can be be passed err codes, too

13 years ago- fixed the connection loop
Daniel Kouřil [Tue, 17 Jan 2012 20:10:37 +0000 (20:10 +0000)]
- fixed the connection loop

13 years agoroutines to establish authentication grouped into a single structure
Daniel Kouřil [Tue, 17 Jan 2012 20:10:21 +0000 (20:10 +0000)]
routines to establish authentication grouped into a single structure

13 years agossl_init() moved among the other ssl calls
Daniel Kouřil [Tue, 17 Jan 2012 20:10:00 +0000 (20:10 +0000)]
ssl_init() moved among the other ssl calls

13 years agomethods for init. and free credential structures
Marcel Poul [Tue, 17 Jan 2012 15:31:47 +0000 (15:31 +0000)]
methods for init. and free credential structures

13 years agomake the library build again
Marcel Poul [Tue, 17 Jan 2012 13:55:31 +0000 (13:55 +0000)]
make the library build again

13 years agostubs of methods handling peer credentials and certificate requests
Marcel Poul [Tue, 17 Jan 2012 13:54:24 +0000 (13:54 +0000)]
stubs of methods handling peer credentials and certificate requests

13 years agostructer holding peer credentials defined
Marcel Poul [Tue, 17 Jan 2012 13:52:09 +0000 (13:52 +0000)]
structer holding peer credentials defined

13 years agotypo
Marcel Poul [Tue, 17 Jan 2012 13:49:57 +0000 (13:49 +0000)]
typo

13 years agouse CN for server cert verification if approp. extensions are not present
Marcel Poul [Fri, 13 Jan 2012 21:11:50 +0000 (21:11 +0000)]
use CN for server cert verification if approp. extensions are not present

13 years agoAdded examples for the new API (X.509 credentials handling)
Daniel Kouřil [Fri, 13 Jan 2012 14:52:01 +0000 (14:52 +0000)]
Added examples for the new API (X.509 credentials handling)

13 years agomake the examples build again
Daniel Kouřil [Fri, 13 Jan 2012 14:50:49 +0000 (14:50 +0000)]
make the examples build again

13 years agoExamples moved to ... examples
Daniel Kouřil [Fri, 13 Jan 2012 14:38:42 +0000 (14:38 +0000)]
Examples moved to ... examples

13 years agoAPI to handle certificate and requests
Daniel Kouřil [Fri, 13 Jan 2012 14:36:28 +0000 (14:36 +0000)]
API to handle certificate and requests

13 years agocanl_ctx_set_ssl_cred() added to public API
Daniel Kouřil [Fri, 13 Jan 2012 14:32:35 +0000 (14:32 +0000)]
canl_ctx_set_ssl_cred() added to public API
- removed the previous attempts

13 years agoFront matter facelift
Zdeněk Šustr [Fri, 13 Jan 2012 11:21:50 +0000 (11:21 +0000)]
Front matter facelift

13 years agoserver hostname check on certificate extensions
Marcel Poul [Thu, 12 Jan 2012 15:18:18 +0000 (15:18 +0000)]
server hostname check on certificate extensions

13 years agoSpin off section on reading configuration and use it in both UG and AG
Zdeněk Šustr [Thu, 12 Jan 2012 10:16:53 +0000 (10:16 +0000)]
Spin off section on reading configuration and use it in both UG and AG

13 years agoPlaying with footnote marks
Zdeněk Šustr [Thu, 12 Jan 2012 09:39:11 +0000 (09:39 +0000)]
Playing with footnote marks

13 years agomake it build again
Daniel Kouřil [Thu, 12 Jan 2012 09:36:43 +0000 (09:36 +0000)]
make it build again

13 years agoPrototype polishing
Daniel Kouřil [Thu, 12 Jan 2012 09:36:06 +0000 (09:36 +0000)]
Prototype polishing
- added a type for the canl return code
- added a define to posibly express "exportability" of a symbol

13 years agoMake canl_io_connect() retun a canl_code (to be consistent with other calls)
Daniel Kouřil [Thu, 12 Jan 2012 09:27:49 +0000 (09:27 +0000)]
Make canl_io_connect() retun a canl_code (to be consistent with other calls)

13 years agoExtended description for some cfg files, preparation for a new config file (commented...
Zdeněk Šustr [Thu, 12 Jan 2012 09:20:01 +0000 (09:20 +0000)]
Extended description for some cfg files, preparation for a new config file (commented out)

13 years agoIntroduced other (optional) parameters of the connect/accept routines
Daniel Kouřil [Thu, 12 Jan 2012 08:58:48 +0000 (08:58 +0000)]
Introduced other (optional) parameters of the connect/accept routines

13 years agoIntroduced other (optional) parametrs of the connect routine
Daniel Kouřil [Thu, 12 Jan 2012 08:51:39 +0000 (08:51 +0000)]
Introduced other (optional) parametrs of the connect routine

13 years agoPrincipal handling
Daniel Kouřil [Thu, 12 Jan 2012 08:47:51 +0000 (08:47 +0000)]
Principal handling
- this introduces dependency on a gssapi.h header

13 years agoCallback has been moved
Daniel Kouřil [Thu, 12 Jan 2012 08:35:58 +0000 (08:35 +0000)]
Callback has been moved

13 years agoRemoved unused cred_handler
Daniel Kouřil [Thu, 12 Jan 2012 08:22:51 +0000 (08:22 +0000)]
Removed unused cred_handler

13 years agoSSL/PKI specific calls moved to canl_ssl.h
Daniel Kouřil [Thu, 12 Jan 2012 08:21:13 +0000 (08:21 +0000)]
SSL/PKI specific calls moved to canl_ssl.h

13 years agoMake the functional usable with c++
Daniel Kouřil [Thu, 12 Jan 2012 08:16:24 +0000 (08:16 +0000)]
Make the functional usable with c++

13 years agostub of method for post handshake cert check (server cert)
Marcel Poul [Wed, 11 Jan 2012 22:17:00 +0000 (22:17 +0000)]
stub of method for post handshake cert check (server cert)

13 years agostructure for peer's identity information (not credentials) added
Marcel Poul [Wed, 11 Jan 2012 22:14:45 +0000 (22:14 +0000)]
structure for peer's identity information (not credentials) added

13 years agoSmoke Test clarifications
Zdeněk Šustr [Wed, 11 Jan 2012 19:01:55 +0000 (19:01 +0000)]
Smoke Test clarifications

13 years agono need to use BIO; seg. fault avoided.
Marcel Poul [Wed, 11 Jan 2012 16:41:25 +0000 (16:41 +0000)]
no need to use BIO; seg. fault avoided.

13 years agocheck whether paths to certs returned by voms methods are correct
Marcel Poul [Wed, 11 Jan 2012 15:48:55 +0000 (15:48 +0000)]
check whether paths to certs returned by voms methods are correct

13 years agoNew section on config files. Not 100-% sure about including startup scripts, but...
Zdeněk Šustr [Wed, 11 Jan 2012 15:38:06 +0000 (15:38 +0000)]
New section on config files. Not 100-% sure about including startup scripts, but found no better place.

13 years agoDG facelift
Zdeněk Šustr [Wed, 11 Jan 2012 10:36:00 +0000 (10:36 +0000)]
DG facelift

13 years agoWork around the globus bug that actually makes it impossible to specify own OID to...
Daniel Kouřil [Wed, 11 Jan 2012 10:30:35 +0000 (10:30 +0000)]
Work around the globus bug that actually makes it impossible to specify own OID to import_creds. See https://bugzilla.mcs.anl.gov/globus/show_bug.cgi?id=7238

13 years agoPreparing for a new version and an updated package list.
Zdeněk Šustr [Tue, 10 Jan 2012 14:52:31 +0000 (14:52 +0000)]
Preparing for a new version and an updated package list.
Suppressing a few orphans

13 years agoA few paragraphs on Job History
Zdeněk Šustr [Tue, 10 Jan 2012 13:19:39 +0000 (13:19 +0000)]
A few paragraphs on Job History

13 years agoclient uses VOMS method to get proxy filenames, (should change default behavior)
Marcel Poul [Tue, 10 Jan 2012 12:40:08 +0000 (12:40 +0000)]
client uses VOMS method to get proxy filenames, (should change default behavior)

13 years agoNew packaging for caNl.
František Dvořák [Sun, 1 Jan 2012 13:51:42 +0000 (13:51 +0000)]
New packaging for caNl.

13 years agoDebian packaging for PX.
František Dvořák [Wed, 28 Dec 2011 17:55:53 +0000 (17:55 +0000)]
Debian packaging for PX.

13 years agoDebian packaging for L&B: emi-lb and yaim modules.
František Dvořák [Wed, 28 Dec 2011 17:54:29 +0000 (17:54 +0000)]
Debian packaging for L&B: emi-lb and yaim modules.

13 years agoDebian packaging for L&B.
František Dvořák [Wed, 28 Dec 2011 17:46:17 +0000 (17:46 +0000)]
Debian packaging for L&B.

13 years agoPolishing Debian packaging of L&B/JP common.
František Dvořák [Wed, 28 Dec 2011 17:36:46 +0000 (17:36 +0000)]
Polishing Debian packaging of L&B/JP common.

13 years agoInstall also testplan.
František Dvořák [Wed, 28 Dec 2011 17:30:22 +0000 (17:30 +0000)]
Install also testplan.

13 years agoconfigure updates:
František Dvořák [Wed, 28 Dec 2011 17:24:24 +0000 (17:24 +0000)]
configure updates:
- fix etics-less build:
  - distinguish source directories for configure and build
  - kludge side effects in perl
- wrap package descriptions to 79 columns (80 still too high for Debian)
- properly substitute copyright file for Debian packages
- java location for Debian

13 years agoRPM packaging fixes: no packages renames as it would break upgrade, fix build of...
František Dvořák [Fri, 23 Dec 2011 20:18:02 +0000 (20:18 +0000)]
RPM packaging fixes: no packages renames as it would break upgrade, fix build of lb.logger-msg, arch-specific build dependencies.

13 years agoWorking upgrade (from EMI-1) after tearing packages apart.
František Dvořák [Mon, 19 Dec 2011 20:59:58 +0000 (20:59 +0000)]
Working upgrade (from EMI-1) after tearing packages apart.

13 years agoDebian packaging of L&B/JP common subsystem.
František Dvořák [Mon, 19 Dec 2011 15:08:17 +0000 (15:08 +0000)]
Debian packaging of L&B/JP common subsystem.

13 years agoDebian packaging of jobid subsystem:
František Dvořák [Mon, 19 Dec 2011 15:04:23 +0000 (15:04 +0000)]
Debian packaging of jobid subsystem:

- based on template from dh_make
- debian/rules based on EMI Debian packaging tutorial
- multiple packages from one module

13 years agoStart-up scripts according to Fedora Packaging Guidelines.
František Dvořák [Mon, 19 Dec 2011 13:31:09 +0000 (13:31 +0000)]
Start-up scripts according to Fedora Packaging Guidelines.

13 years agoSync configure.
František Dvořák [Mon, 19 Dec 2011 11:02:39 +0000 (11:02 +0000)]
Sync configure.

13 years agoPackaging fixes.
František Dvořák [Mon, 19 Dec 2011 10:53:23 +0000 (10:53 +0000)]
Packaging fixes.

13 years agoPX subsystem RPM packaging.
František Dvořák [Mon, 19 Dec 2011 10:50:40 +0000 (10:50 +0000)]
PX subsystem RPM packaging.