fermitools / cigetcert

Get an X.509 certificate with SAML ECP and store proxies.
Other
2 stars 6 forks source link

Default X509_USER_PROXY on windows #65

Open duncanmmacleod opened 5 years ago

duncanmmacleod commented 5 years ago

It seems like (or just is) the standard default path for X509 proxies on unix is

/tmp/x509up_u{uid}

Is there an equivalent on Windows? I am preparing a patch for cigetcert to support Windows and am tempted to suggest C:\Windows\Temp\x509up_{username} but don't want to stride off in the wrong direction.

DrDaveD commented 5 years ago

I am not aware of a Windows standard for that, but wouldn't you anyway use the Windows Subsystem for Linux (WSL) and store it in /tmp?

duncanmmacleod commented 5 years ago

I am interested in supporting 'pure' windows at the moment, but yes I might just use the WSL. I am not convinced a new student, or similar, would be immediately more comfortable in that environment. But, if there's no existing standard, I will choose something and see what happens.

I am preparing a cigetcert patch to support running on windows, I should be able to complete it by tommorrow (Friday) and post a PR.