Conversation
lack
commented
Jul 30, 2022
- Initialize go module
- Gofmt and warnings
This sets up gokrb5 as a modern go module. Signed-off-by: Jim Ramsay <i.am@jimramsay.com>
Running gofmt cleaned up a lot of minor whitespace nits. Plus there were a few instances of format strings out of place. Signed-off-by: Jim Ramsay <i.am@jimramsay.com>
|
@peter-mogensen I have no idea if you're still using this library, but I found it useful! This PR modernizes it a bit so it can be included via go modules. |
|
Hi Jim, I'm no longer working at One.com, but I'm happy you found it useful. A lot of filling-in-the-blanks is needed for this to be a complete Kerberos library implementation. Only the most basic needed to do an AP-REQ authentication was implemented, but I believe the template is still the way to go if one wants to wrap around MIT libkrb5. /Peter |
|
@peter-mogensen Thanks! Yes, I have further changes in a fork of mine to add enough smarts to mimic the 'klist' tool to find a principal's TGT and check if it's expired (and because it uses the MIT libraries and they support KCM, it works great with a modern Linux system and sssd_kcm). I may abandon it if I can find a clean dbus-only way of getting the same info, but I think it's a pretty nice start! |