Increase MAX_USERNAME_LEN to support Warpgate Access-Ticket usernames
Hi,
I have been using Sshwifty with Warpgate to connect to remote hosts.
When using Warpgate’s Access-Ticket feature for temporary host access, the automatically generated username exceeds the MAX_USERNAME_LEN limit. This results in the following error on the connection page: "Error: Username must not longer than 64 bytes".
Example ticket username:
ticket-b79e6fe8871b2afabb44697d269ed5804eace322f7db750b1cbd07293b91d9de
Would it be possible to increase this limit to support longer usernames?
Thanks!
Hi,
I've released 0.4.0-beta which extended the username length limit to 127 bytes.
The new version is available now, please take a look see if it solved the problem you've encountered.
Thanks for suggesting.
Thank you!
It works like a charm.