v1.4.0
This release brings significant enhancements to Kerberos authentication, improves the interactive shell experience, and adds more robust error handling.
Highlights of v1.4.0
Kerberos Authentication Enhancements
- Optional Username: The
-u/--userargument is now optional. When using ticket-based Kerberos authentication, the username is automatically retrieved from the GSSAPI credentials cache (b3ea0b2,856052a). - Improved Error Handling: Error messaging for Kerberos and SPNEGO has been made more specific and helpful (
3eb8c4a,c3f301c). - Credential Warnings: A clear warning is now shown if a Kerberos credential cache is not found (
27c8f7c). - Debug Logging: Kerberos trace logging is now automatically enabled when running in
--debugmode (b551c19). - Documentation: The documentation for Kerberos usage has been clarified, highlighting the importance of SPN case sensitivity (
b480d33,9711985).
Interactive Shell & Usability Improvements
- User Path Expansion: Local path arguments now support tilde (
~) expansion, allowing you to easily reference files in your home directory (e.g.,upload ~/file.txt .) (d5fc44b,918c9ad). - Graceful Exit: The shell now handles
Ctrl+Cmore gracefully, especially if the remote prompt is slow to respond (5bdf804). - Cleaner Output: The initial connection message now only shows the username if it was explicitly provided (
33dc4f1).
Enhanced Error Handling
- Connection Errors: Error messages for connection failures are now more descriptive (
1bc77a3). - Logging Permissions: The application now handles permission errors gracefully when trying to create a log file (
e1ba8b2).
Download:
PyPI - https://pypi.org/project/evil-winrm-py/1.4.0/
pip install evil-winrm-py[kerberos]==1.4.0
Full Changelog: v1.3.0...v1.4.0