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

Allow encryption key files to use paths relative to a Mapfile #7181

Merged
merged 4 commits into from
Oct 31, 2024

Conversation

geographika
Copy link
Member

Currently CONFIG MS_ENCRYPTION_KEY "/path/to/mykey.txt" only accepts an absolute path.

This pull request allows this path to be relative to the Mapfile. The msencrypt command line application still expects a full path. When reading from a CONFIG file a full path is also expected.

Changes are similar to when the same was done for MS_ERRORFILE in 58fd421

This pull request also includes a test of decrypting a CONNECTION - this was not previously part of msautotest.

See https://mapserver.org/utilities/msencrypt.html for more details on encrypting parts of a connection object.

@geographika geographika added this to the 8.4.0 Release milestone Oct 29, 2024
@rouault rouault merged commit ea2f4b2 into MapServer:main Oct 31, 2024
17 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.

2 participants