Skip to content

Instantly share code, notes, and snippets.

Avatar

Kevin Robertson Kevin-Robertson

View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am kevin-robertson on github.
  • I am kevinrobertson (https://keybase.io/kevinrobertson) on keybase.
  • I have a public key ASA79WtFVPQJBezNx-RRzxww02Vy7Bu_QolbsJv7rMnDVwo

To claim this, I am signing this object:

@Kevin-Robertson
Kevin-Robertson / Get-KerberosAESKey.ps1
Last active Jul 24, 2022
Generate Kerberos AES keys from a known password
View Get-KerberosAESKey.ps1
function Get-KerberosAESKey
{
<#
.SYNOPSIS
Generate Kerberos AES 128/256 keys from a known username/hostname, password, and kerberos realm. The
results have been verified against the test values in RFC3962, MS-KILE, and my own test lab.
https://tools.ietf.org/html/rfc3962
https://msdn.microsoft.com/library/cc233855.aspx