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

Typo in globus_gsi_system_config.c #204

Open
fscheiner opened this issue Nov 25, 2022 · 1 comment
Open

Typo in globus_gsi_system_config.c #204

fscheiner opened this issue Nov 25, 2022 · 1 comment
Assignees

Comments

@fscheiner
Copy link
Member

Detected by chance. There is a superfluous comma here:

if(user_key && !(*user_key))
{
GLOBUS_GSI_SYSCONFIG_ERROR_RESULT(
result,
GLOBUS_GSI_SYSCONFIG_ERROR_GETTING_KEY_STRING,
(_GSSL("The user key could not be found in:\n,"
"1) env. var. X509_USER_KEY\n"
"2) $HOME/.globus/userkey.pem\n"
"3) $HOME/.globus/usercred.p12\n\n")));
goto done;

...that is not present for the case when the cert file is missing:

.globus/userkey.pem missing, .globus/usercert.pem present

$ grid-proxy-init -debug
Error: Couldn't find valid credentials to generate a proxy.
       grid_proxy_init.c:535: globus_sysconfig: Error with key filename: The user key could not be found in:
,1) env. var. X509_USER_KEY
2) $HOME/.globus/userkey.pem
3) $HOME/.globus/usercred.p12

.globus/userkey.pem present, .globus/usercert.pem missing

$ grid-proxy-init -debug
Error: Couldn't find valid credentials to generate a proxy.
       grid_proxy_init.c:535: globus_sysconfig: Error with certificate filename: The user cert could not be found in: 
1) env. var. X509_USER_CERT
2) $HOME/.globus/usercert.pem
3) $HOME/.globus/usercred.p12
@fscheiner fscheiner self-assigned this Nov 25, 2022
@fscheiner
Copy link
Member Author

Fixed with #218.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant