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
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
117 commits
Select commit Hold shift + click to select a range
b70cc24
Porting to OpenSSL 1.1
Nov 6, 2016
30aaa78
Merge branch 'develop-2.1.x' into ssl11-port
andreaceccanti Jan 25, 2017
8cc8d2f
Merge pull request #53 from giacomini/ssl11-port
andreaceccanti Jan 25, 2017
16f971f
Restore pkg-config check for OpenSSL
andreaceccanti Jan 25, 2017
28e7070
Fix for GCC 7
ellert Jan 31, 2017
994d34f
Don't use macros in AC_CHECK_LIB
ellert Feb 1, 2017
85264b2
fix issue #54
Feb 3, 2017
bcdeef5
it's actually a fix to issue #60
Feb 3, 2017
5de1cf4
fix issue #54
Feb 3, 2017
2657e2d
Merge pull request #61 from italiangrid/issue-60
andreaceccanti Feb 9, 2017
9a9f840
Assign default value before reading sysconfig
ellert Feb 6, 2018
b4a6e8e
Merge branch 'wsdl2h-detect' of https://github.com/olifre/voms into o…
andreaceccanti May 3, 2018
380171e
Added Jenkinsfile and minimal docker build image
andreaceccanti May 3, 2018
09f60e2
Fixed typos in Jenkinsfile
andreaceccanti May 3, 2018
53e7d0b
Change default proxy cert key length to 2048 bits
ellert Oct 31, 2018
3bae0a7
Migrate to new CI configuration
andreaceccanti Jun 21, 2019
dba1134
First incarnation of a systemd unit
andreaceccanti May 18, 2020
1414455
Instantiated service support for systemd unit
andreaceccanti May 28, 2020
e825be8
Stop building clients
andreaceccanti May 28, 2020
bbe4e61
Some .gitignore hygiene
giacomini Sep 29, 2020
25fe8ec
INSTALL is generated
giacomini Sep 29, 2020
4984d10
Ignore LaTeX artifacts
giacomini Sep 29, 2020
4c56c6f
Ignore shell wrapper of voms-proxy-init
giacomini Oct 6, 2020
7d32708
Use native openssl for authorityKeyIdentifier
giacomini Oct 6, 2020
7c60bd7
Allow to skip OpenSSL initialization
giacomini Apr 12, 2021
dcd42c8
Merge pull request #80 from italiangrid/issue-VOMS-875
andreaceccanti Apr 12, 2021
224a504
Change function name; add clarification comment
giacomini Apr 13, 2021
e138cc3
Merge branch 'develop-2.1.x' into develop
andreaceccanti Apr 16, 2021
73f9db4
Merge pull request #90 from italiangrid/develop
andreaceccanti Apr 16, 2021
fdc82d9
Restore clients build
andreaceccanti Apr 20, 2021
78fe90b
Resolve conflict in merging develop
giacomini Apr 21, 2021
5896c6a
Merge pull request #94 from italiangrid/issue-89
andreaceccanti Apr 21, 2021
e84b0ff
Fix merge resolution
giacomini Apr 26, 2021
28771a6
Initialize OpenSSL only below version 1.1
giacomini Apr 26, 2021
27de66d
Merge pull request #95 from italiangrid/VOMS-915
giacomini May 3, 2021
b6ec62a
Merge pull request #58 from ellert/lib-check-no-macro
giacomini May 3, 2021
3743635
Merge pull request #75 from ellert/2048-bits
giacomini May 3, 2021
9dda672
Merge pull request #73 from ellert/run-default
giacomini May 3, 2021
6f9f0f7
Merge pull request #56 from ellert/gcc7
giacomini May 3, 2021
76b0410
Ignore -globus option in voms-proxy-fake and default to RFC proxies.
ellert May 3, 2021
b45d3bb
Update man page sources
ellert May 3, 2021
251603f
Regenerate man pages
ellert May 3, 2021
d806cbf
GSOAP checks are only needed for server.
msalle May 3, 2018
6156315
Merge pull request #74 from msalle/gsoap-only-for-server
giacomini May 4, 2021
7c50964
Fixes for OpenSSL-3.0.0-beta1
msalle Jun 28, 2021
af83cc0
Merge pull request #97 from ellert/remove-globus-version-detection
giacomini Jun 13, 2022
8e99bb9
Merge pull request #98 from msalle/openssl300_fixes
giacomini Jun 14, 2022
a4f4ff8
Remove useless configure checks
giacomini Jun 19, 2022
164ccda
Fix compilation warning
giacomini Jun 19, 2022
c64f0fb
Replace RSA_generate_key with RSA_generate_key_ex
giacomini Jun 19, 2022
e713b20
Name all function parameters in C code
giacomini Jun 19, 2022
b01c8e7
Add BN_GENCB_new/free to the SSL compat layer
giacomini Jun 20, 2022
7e293ba
Build against the OpenSSL 1.1 API
giacomini Jun 20, 2022
4695c25
Remove support for OpenSSL < 1.0.2 in SSL compat layer
giacomini Jun 20, 2022
82bc76e
Manage signature algos more uniformly
giacomini Jun 20, 2022
8dea18f
Replace deprecated function call
giacomini Jun 20, 2022
e8e0875
Review flags for compilation with warnings
giacomini Jun 20, 2022
d055619
Add support for centos7 and centos9 devcontainers
giacomini Nov 25, 2022
08e8041
Declare fields of AC_TARGET as optional
giacomini Dec 1, 2022
3d0e435
Merge pull request #103 from italiangrid/102-voms-proxy-init-21-does-…
giacomini Dec 1, 2022
7f27a97
Merge branch 'develop' into centos9
giacomini Dec 1, 2022
27a2ef7
Add trustanchors to docker compose
giacomini Dec 1, 2022
5c022c1
Include config.h early in the build
giacomini Dec 30, 2022
dc62d0d
Add an action to build on multiple plaforms (wip)
giacomini Dec 30, 2022
9debd9a
Remove previous CI workflow
giacomini Dec 30, 2022
bd895f0
Fix centos7 image name
giacomini Dec 30, 2022
6b34d2f
Fix centos7 image name
giacomini Dec 30, 2022
a522927
Fix build instructions
giacomini Dec 30, 2022
41b00f4
Fix depedencies
giacomini Dec 30, 2022
d4748a5
Fix depedencies
giacomini Dec 30, 2022
5e3bdc7
Fix depedencies
giacomini Dec 30, 2022
845260c
Add CI for CentOS 9 Stream
giacomini Dec 30, 2022
000a51b
Add CI for Ubuntu 20.04 (OpenSSL 1.1)
giacomini Dec 30, 2022
7006cdc
Run apt as sudo
giacomini Dec 30, 2022
7fb8225
Merge pull request #101 from italiangrid/centos9
giacomini Dec 30, 2022
a54a62a
Catch exception by reference
ellert Jan 2, 2023
55420a8
Merge pull request #105 from ellert/catch-by-reference
giacomini Jan 2, 2023
b3cc395
Fix warning about possible use after free
ellert Jan 2, 2023
77020a5
Fix doxygen warning
ellert Jan 2, 2023
bda11dc
Fix warning about possible string truncation
ellert Jan 2, 2023
25dfdfc
config.h must not be included in public header file
ellert Jan 2, 2023
b7a926e
Include config.h before other header files
giacomini Jan 2, 2023
0d6d98c
Compile and link libvomsapi with proper thread flags
giacomini Jan 8, 2023
25b39ed
Fix memory leaks and double deletes
giacomini Mar 8, 2023
564dd86
If a detailed error message is available, do not overwrite (#116)
bbockelm Apr 26, 2023
9a99f20
Add "lexparse.h" headers for lexer/parser integration (#112)
fweimer-rh Jul 2, 2023
1629412
Only process authority and subject key identifiers in certificates (#…
DrDaveD Sep 7, 2023
6a08378
Consider the Authority Key Id extension only if it's available (#113)
chrisburr Sep 7, 2023
425a99b
Open the randfile only if it exists
giacomini Apr 2, 2024
2d20ec4
Fix the parsing of the REST API XML response
giacomini Apr 2, 2024
4c487ab
Review the management of errors from the REST API
giacomini Apr 2, 2024
7ecb06e
Allocate a GENERAL_NAME before using it for a target
giacomini Apr 29, 2024
410be29
Makefile: don't reference deleted INSTALL file in apidoc target (#117)
olifre Apr 29, 2024
15c2607
Fix spelling errors reported by lintian (#122)
ellert Apr 30, 2024
910a8b6
Fix lintian warning (#126)
ellert Apr 30, 2024
41267aa
Regenerate lexers/parsers (#119)
giacomini May 3, 2024
15654d2
Fix problem with newer gsoap versions. (#125)
rwf14f May 3, 2024
dfc9b76
Adjust docker compose infrastructure
giacomini May 3, 2024
c78c527
Use almalinux:9 instead of centos(stream)9
giacomini May 20, 2024
c45363e
Merge branch 'develop' into 124-adapt-client-libraries-and-clients-to…
giacomini May 20, 2024
1947b5f
Merge the possible order arguments into the fqans
giacomini May 23, 2024
a6ab24a
Fix implementation of join
giacomini May 23, 2024
6580b4c
Update gh action and use almalinux:9
giacomini May 23, 2024
27551b4
Downgrade gh action for centos7
giacomini May 23, 2024
1421b87
Merge pull request #128 from italiangrid/124-adapt-client-libraries-a…
giacomini May 23, 2024
511937d
Add missing files in the tarball distribution
giacomini May 23, 2024
f64356f
Remove unused myproxycertinfo source files
giacomini May 24, 2024
5dbe645
Fix typo in an error message
giacomini May 24, 2024
efd11d3
Merge pull request #131 from italiangrid/130-tarball-created-by-make-…
giacomini May 31, 2024
19a84d8
Make EnvironmentFile optional in the systemd unit
giacomini May 31, 2024
30d6817
Return true/false from a function returning bool
giacomini Jun 13, 2024
a3eaa5c
Fix how the read mode is specified to access
giacomini Jun 13, 2024
1f25a6d
Simplify the production of the SSL error message
giacomini Jun 13, 2024
cd5c735
Remove commented out code
giacomini Jun 14, 2024
8866b95
Ignore the function name in OpenSSL errors
giacomini Jun 14, 2024
ac778b8
Re-format the output of an SSL error message
giacomini Jun 14, 2024
86021b4
Merge pull request #133 from italiangrid/110-error-string-handling-fo…
giacomini Jun 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .devcontainer/Dockerfile-centos7
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM centos:7

COPY library-scripts/*.sh /tmp/library-scripts/
RUN \
bash /tmp/library-scripts/add-repos-redhat.sh && \
bash /tmp/library-scripts/common-redhat.sh false automatic automatic automatic true false && \
bash /tmp/library-scripts/add-deps-redhat.sh
7 changes: 7 additions & 0 deletions .devcontainer/Dockerfile-el9
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM almalinux:9

COPY library-scripts/*.sh /tmp/library-scripts/
RUN \
bash /tmp/library-scripts/add-repos-redhat.sh && \
bash /tmp/library-scripts/common-redhat.sh false automatic automatic automatic true false && \
bash /tmp/library-scripts/add-deps-redhat.sh
44 changes: 44 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.245.2/containers/docker-existing-docker-compose
// If you want to run as a non-root user in the container, see .devcontainer/docker-compose.yml.
{
"name": "VOMS Devel",

// Update the 'dockerComposeFile' list if you have more compose files or use different names.
// The .devcontainer/docker-compose.yml file contains any overrides you need/want to make.
"dockerComposeFile": [
"../docker-compose.yml",
"docker-compose.yml"
],

// The 'service' property is the name of the service for the container that VS Code should
// use. Update this value and .devcontainer/docker-compose.yml to the real service name.
"service": "container-el9",

// Uncomment the next line if you want start specific services in your Docker Compose config.
"runServices": ["container-el9"],

// The optional 'workspaceFolder' property is the path VS Code should open by default when
// connected. This is typically a file mount in .devcontainer/docker-compose.yml
"workspaceFolder": "/workspace",

"customizations": {
"vscode": {
"extensions": [
"ms-vscode.cpptools",
"eamodio.gitlens"
]
}
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Uncomment the next line if you want to keep your containers running after VS Code shuts down.
// "shutdownAction": "none",

// Uncomment the next line to run commands after the container is created - for example installing curl.
// "postCreateCommand": "apt-get update && apt-get install -y curl",

// Uncomment to connect as a non-root user if you've added one. See https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "vscode"
}
52 changes: 52 additions & 0 deletions .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@

services:

container-el9:

environment:
- TZ=Europe/Rome

depends_on:
- trust

build:
context: .devcontainer
dockerfile: Dockerfile-el9

volumes:
- trustanchors:/etc/grid-security/certificates
- .:/workspace

cap_add:
- SYS_PTRACE
security_opt:
- seccomp:unconfined

command: sleep infinity

init: true

container-centos7:

environment:
- TZ=Europe/Rome

depends_on:
- trust

build:
context: .devcontainer
dockerfile: Dockerfile-centos7

volumes:
- trustanchors:/etc/grid-security/certificates
- .:/workspace

cap_add:
- SYS_PTRACE
security_opt:
- seccomp:unconfined

command: sleep infinity

init: true
43 changes: 43 additions & 0 deletions .devcontainer/library-scripts/add-deps-redhat.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
#!/usr/bin/env bash
#
# Copyright (c) Istituto Nazionale di Fisica Nucleare
# Licensed under the EUPL
#
# Syntax: ./add-deps-redhat.sh [install doc tools]

set -e

. /etc/os-release

INSTALL_DOC_TOOLS=${1:-"false"}

package_list="\
file \
gdb \
expat-devel \
autoconf \
automake \
make \
libtool \
openssl-devel \
gsoap-devel \
bison \
gcc-c++"

if ! type git > /dev/null 2>&1; then
if [ "${ID}" = "centos" ] && [ "${VERSION_ID}" = "7" ]; then
package_list="${package_list} git236"
else
package_list="${package_list} git"
fi
fi


if [ ${INSTALL_DOC_TOOLS} = "true" ]; then
package_list="${package_list} \
libxslt \
docbook-style-xsl \
doxygen"
fi

yum install -y ${package_list}
18 changes: 18 additions & 0 deletions .devcontainer/library-scripts/add-repos-redhat.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/usr/bin/env bash
#
# Copyright (c) Istituto Nazionale di Fisica Nucleare
# Licensed under the EUPL
#
# Syntax: ./add-repos-redhat.sh

set -e

. /etc/os-release

repo_list="epel-release"

if [ "${ID}" = "centos" ] && [ "${VERSION_ID}" = "7" ]; then
repo_list="${repo_list} https://repo.ius.io/ius-release-el7.rpm"
fi

yum install -y ${repo_list}
Loading
Loading