Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VOMS v. 2.1.0 #139

Merged
merged 117 commits into from
Oct 10, 2024
Merged

VOMS v. 2.1.0 #139

merged 117 commits into from
Oct 10, 2024

Conversation

giacomini
Copy link
Member

Note that the version in configure.ac is erroneously set to 2.1.1 (see #135).

Francesco Giacomini and others added 30 commits January 25, 2017 19:36
This commit ports VOMS to OpenSSL 1.1.
More details in openssl11.md.
…lifre-wsdl2h-detect

* 'wsdl2h-detect' of https://github.com/olifre/voms:
  wsdl2h.m4: Fix detection of modern wsdl2h versions.
  Fixes for README.md
Based on italiangrid/pkg.base:centos6
Add a class static function to allow clients to skip OpenSSL
initialization. This makes sense only for versions up to 1.0.2; above
that the initialization is done automatically. There is no check on
this though, to minimize changes.

Moreover OpenSSL (if not skipped) and AC- and Proxy-related
functionality are initialized atomically.

The flag that tells if OpenSSL needs to be initialized is not atomic
because it is checked inside the critical section of pthread_once.

Fixes: #89
Fix AC incompatibilty introduced with the migration to OpenSSL 1.1
Align develop-2.1.x with develop
giacomini and others added 29 commits April 2, 2024 12:24
The depth of some fields was not correct for the response obtained
through the REST API, which is the first one tried and the only one that
will survive in the future with VOMS-AA.

In addition, VOMS-AA returns a numeric code for an error condition, not
a string like VOMS server.
* Always process the errors, not only in case an AC has been returned
* For certain errors (user doesn't exist, is suspended, is inactive) do
  not try the legacy endpoint, which doesn't even exist for VOMS AA
* Leave some commented-out debug messages, to be possibly included in
  the output in debug mode (requires some work to propagate the debug
  flag)
voms-server: chown-with-dot root.voms [usr/share/voms/voms_install_db:276]

chown-with-dot

  The named script uses a dot to separate owner and group in a call like
  chown user.group but that usage is deprecated.

  Please use a colon instead, as in:

  chown user:group.
* Regenerate lexers/parsers

Regenerate lexers/parsers after PR #112, which has changed the *.y and
*.l files.

The regeneration is done on CentOS 9 Stream, with bison 3.7.4-5 and
flex 2.6.4-9.

Resolves issue #118

* Prepend srcdir path for out-of-source builds
Contrary to the VOMS server, VOMS-AA expects that the fqans query
parameter includes also the FQANs specified with the --order command
line argument of voms-proxy-init.
We keep the order query parameter, which is instead expected by the VOMS
server.
And avoid the use of std::next, which is C++11
…nd-clients-to-voms-aa

Adapt client libraries and clients to voms aa
They were replaced by those coming from globus during the migration
to OpenSSL 1.1.
…dist-is-missing-several-files

Clean the distribution tarball
Return false in case the certificate is about to expire, causing the
(only) caller to subsequently verify the proxy.
The mode passed to access is an int and not a string, like in fopen.
Just rely on the canonical loop over the error stack, without special
treatment for an expired certificate, which is caught somewhere else in
any case.
Be sure that the data added to an error is a text string before printing
it.
The code mentions OpenSSL functions related to error management, which
has changed in OpenSSL 3, deprecating old practices.
The use of the function name in errors has been abandoned in OpenSSL 3.
Profit to replace the use of sprintf with snprintf.
To be more compatible with how it was done before.
…r-openssl-300-needs-further-fixing

Avoid function names when printing OpenSSL errors
@giacomini giacomini merged commit 2eaeb9a into master Oct 10, 2024
12 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants