Releases: fermitools/htgettoken
Releases · fermitools/htgettoken
v2.6
- Have htdecodetoken take advantage of new scitokens-verify ability to read from stdin, when available.
- Add support in htdestroytoken
-ffor getting a CA cert directory from${X509_CERT_DIR:-/etc/grid-security/certificates}or from a--capathoption, and to get a CA cert file from a--cafileoption, mirroring the behavior of htgettoken.
v2.5
- Add htdestroytoken
-foption to force a removal of a refresh token in vault. - Add htgettoken
--novaulttokenoption as an alias for--noiodc,--nossh, and--nokerberos. - Again fix
--showbearerurlto work in combination with--nobearertoken. That was fixed in 1.17 but broke in 1.21 and 2.0. - Fix httokensh to pay attention to htgettoken options in $HTGETTOKENOPTS.
- Fix httokensh to correctly locate the log file if a
-oor--outfileis given, instead of writing to ".log" in the current directory. - Fix httokensh to not pass on a
--vaulttokenminttloption to the background htgettoken command, to make the vault token last as long as possible since it doesn't get renewed.
v2.4
v2.3
v2.2-2
v2.2
v2.1
v1.21
This backports some of the fixes from 2.0 for situations where it's too much work to make the transition to the new packaging system.
- Fix the httokensh background process's check for its parent process. That is only a backup in case only the parent process is hard-killed, because normally the parent process kills the background process when the parent exits.
- Use newer
stssecrets API for token exchanges. - Fix the
-o/--outfileoption to work with relative paths. - Change the
--nobearertokenoption to always get and save a vault token.
v2.0-2
v2.0
- Replace use of m2crypto and pyOpenSSL with urllib3
- Replace use of pykerberos with gssapi
- Use standard Requires for Python modules instead of PyInstaller
- Add
--vaultcertnameoption to specify an alternative certificate name. That used to be an additional optional meaning of the--vaultaliasoption, but urllib3 requires only one name to match. - Add setuptools build infrastructure
- Refactor htgettoken script into module with entry point. This enables invoking htgettoken as
htgettoken.main()from Python. - Use wheels to build/install Python package, which simplified the entry points and improves (slightly) the metadata
- Fix the httokensh background process's check for its parent process. That is only a backup in case only the parent process is hard-killed, because normally the parent process kills the background process when the parent exits.
- Use newer
stssecrets API for token exchanges. - Fix the
-o/--outfileoption to work with relative paths. - Change the
--nobearertokenoption to always get and save a vault token.