Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Pascal is a language for children wanting to be naughty. -- Dr. Kasi Ananthanarayanan


devel / comp.protocols.kerberos / Re: How to get Kerberos token for proxy authentication

SubjectAuthor
o Re: How to get Kerberos token for proxy authenticationThomas Kula

1
Re: How to get Kerberos token for proxy authentication

<mailman.73.1711034656.2322.kerberos@mit.edu>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=525&group=comp.protocols.kerberos#525

 copy link   Newsgroups: comp.protocols.kerberos
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!tncsrv06.tnetconsulting.net!.POSTED.mailman.mit.edu!not-for-mail
From: kul...@tproa.net (Thomas Kula)
Newsgroups: comp.protocols.kerberos
Subject: Re: How to get Kerberos token for proxy authentication
Date: Thu, 21 Mar 2024 11:24:09 -0400
Organization: TNet Consulting
Lines: 25
Message-ID: <mailman.73.1711034656.2322.kerberos@mit.edu>
References: <1182031369.5745575.1710653866918.ref@mail.yahoo.com>
<1182031369.5745575.1710653866918@mail.yahoo.com>
<202403180011.42I0Bfq8004419@hedwig.cmf.nrl.navy.mil>
<1971540388.4984456.1710851301228@mail.yahoo.com>
<202403200124.42K1Ogwb031014@hedwig.cmf.nrl.navy.mil>
<1607837619.5406090.1710931234295@mail.yahoo.com>
<202403201533.42KFXFYr006534@hedwig.cmf.nrl.navy.mil>
<ZfxRGUGVIIXJ42x+@gozer.tproa.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Info: tncsrv06.tnetconsulting.net; posting-host="mailman.mit.edu:18.7.21.50";
logging-data="30770"; mail-complaints-to="newsmaster@tnetconsulting.net"
To: kerberos@mit.edu
DKIM-Filter: OpenDKIM Filter v2.11.0 unknown-host (unknown-jobid)
Authentication-Results: mailman.mit.edu;
dkim=fail reason="signature verification failed" (1024-bit key,
unprotected) header.d=mitprod.onmicrosoft.com
header.i=@mitprod.onmicrosoft.com header.a=rsa-sha256
header.s=selector2-mitprod-onmicrosoft-com header.b=S1N6R9St
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=hf98DIGFgpiQE8/Qh9Fad2qqrKJT9bUuV6x0SL4/C1hQ/8vY4vzZxBGyUo9FyKP0od/rrZ5auNbP+frOI0gwKTkUisWNsAesyRxHoj22Cj1Iejjy1mpfo0GqZmCdg2efwvWb1nu23gf2zxFkBgZSsQ2ikgD51xB9Kh8SHKLS9aNwum+tNf0gz6kh0uXKYJz3sij3vTY1qr/F0TujzVQBpK3TFZrRo2wnHcjnagSWuGAKq7wSanQSLRODAFd6MiF/2Jh+fqk0tkqZCu1wbOnWMsmKkZcwtmu8a/bWAeg5HYD8z0W8lQzAgiLmyvRNU/h6Z/H3Yz5FqBL0Z6NoBdOXIA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
s=arcselector9901;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
bh=kOZwfPVGa3XFN+Aalby5DuL2SFrWGZQ1uVrnCmoYplE=;
b=RKNKLlts8aV6IjY4XTfw4MsVw+UrLCxDZoJUGI4TQuyePTfPOmR3yaCUS8YMVQaaS+5bXDRFcqsGIjxepb9cEXz6tC+Rx9jjtLZw4w2NgsZe7R3KHCApX5/TdVyoLZSROWLBMEHonFO5okxIBJOovY3p5gxoJZeksfMOfVJVPLg6lRnladK2qNsFcB48RwXMoai3UGwgQIsGpRtvG3tjVunRVzfPtPLUeqyjdcoTLcF68CPWYvtimKzM4GhqLmrwBzuocBcEqvyHuww9JcFNKzyjC2gB8pO+GbexnGmCAN0h4UkC/Rx6GDsL88FwslXCkylZ20qKNkk21MBBsnjGvw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is
204.11.35.91) smtp.rcpttodomain=mit.edu smtp.mailfrom=tproa.net;
dmarc=bestguesspass action=none header.from=tproa.net; dkim=none (message not
signed); arc=none (0)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=mitprod.onmicrosoft.com; s=selector2-mitprod-onmicrosoft-com;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
bh=kOZwfPVGa3XFN+Aalby5DuL2SFrWGZQ1uVrnCmoYplE=;
b=S1N6R9StBv6bJT5Vm1nQrUCBwphxmDCS1MJqR4RNYt6k0GiPWxxqct0ypL9vbp7v1aWbPyN3JSiMcM43HFkXCoP/n6OfYjt2dzflQkgCKUL4+LwslIcIOGCUEE9qZZSkLD6MLEDVozTeN9DHsXwdRyuyDsIUReiTT/ZgugX3x/0=
Authentication-Results: spf=pass (sender IP is 204.11.35.91)
smtp.mailfrom=tproa.net; dkim=none (message not signed)
header.d=none;dmarc=bestguesspass action=none header.from=tproa.net;
Received-SPF: Pass (protection.outlook.com: domain of tproa.net designates
204.11.35.91 as permitted sender) receiver=protection.outlook.com;
client-ip=204.11.35.91; helo=gozer.tproa.net; pr=C
Content-Disposition: inline
In-Reply-To: <202403201533.42KFXFYr006534@hedwig.cmf.nrl.navy.mil>
X-EOPAttributedMessage: 0
X-EOPTenantAttributedMessage: 64afd9ba-0ecf-4acf-bc36-935f6235ba8b:0
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: CH1PEPF0000A34A:EE_|PH0PR01MB7457:EE_
X-MS-Office365-Filtering-Correlation-Id: 71be40f1-0a6b-483a-8dcb-08dc49baf535
X-LD-Processed: 64afd9ba-0ecf-4acf-bc36-935f6235ba8b,ExtAddr
X-MS-Exchange-AtpMessageProperties: SA
X-MS-Exchange-SenderADCheck: 0
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: ay7HvBH0Xe1fvR8u0II76S5s5AdlImBUXC/PeHPhXYgkGwD2NyNEEHPJgs9ldmUuODUBc/4/i5Ydfx0Wo9A6Vf975vmBnTMfSesMutLJiH3+WbOLJPBaBYTqSAyZDHBfe2SWS3KPaMJHuzHyjnRaqkooqoaDhOL+GpD8ZvnVRIm8C/8rIzyBU2LNzTEY4XMfns5dOakhkRwAW57SPtpZFs1fxagEt0+7J8tc69lG079k8WqvUvPbKksppkL7tgEF5tbG38maFJitBm75BlFSVwls59g0CyNJGlpvW6uVQNZhJIBGSgNAbO0dyr96jicgANbRsxK3E7rEK0fPUwmPrZyQ/igCIkVNR+hRLBoidGuFmOu/RhaGoDoAxtLYzSf8cJNKZATKBQyb+L2GnEjIY4TZigrTvvTMYa0AJFInzYnITCRMtgMtouxz5AsxiPD75v18jj82ilwZDVV1TqslCvszf2fL7RP6HfQW11f0T/e250NFAsy7A/dMTuDsvufHn2jE0cBCI5aEDkMSOtYsRbddzapJ6VtLCf7g4mTSTVjHDL/P+XFIrVxpCvklG61S7tR+esyFm7I5kZaHJW9Ww/DGm4lndzJoHj96MbGGsrqicCD9s/vCr2Gq+zcWlkHJI/jVHeygrG8aWa0bZEvMzuRj9xxtgez1hst+qw93ig1KgJneh8DjxM7Nb/wkDc7A
X-Forefront-Antispam-Report: CIP:204.11.35.91; CTRY:US; LANG:en; SCL:1; SRV:;
IPV:NLI; SFV:NSPM; H:gozer.tproa.net; PTR:gozer.tproa.net; CAT:NONE;
SFS:(13230031)(376005)(48200799009)(61400799018); DIR:OUT; SFP:1102;
X-ExternalRecipientOutboundConnectors: 64afd9ba-0ecf-4acf-bc36-935f6235ba8b
X-Auto-Response-Suppress: DR, OOF, AutoReply
X-OriginatorOrg: mitprod.onmicrosoft.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Mar 2024 15:24:10.5971 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: 71be40f1-0a6b-483a-8dcb-08dc49baf535
X-MS-Exchange-CrossTenant-Id: 64afd9ba-0ecf-4acf-bc36-935f6235ba8b
X-MS-Exchange-CrossTenant-AuthSource: CH1PEPF0000A34A.namprd04.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Anonymous
X-MS-Exchange-CrossTenant-FromEntityHeader: Internet
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR01MB7457
X-BeenThere: kerberos@mit.edu
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: The Kerberos Authentication System Mailing List <kerberos.mit.edu>
List-Unsubscribe: <https://mailman.mit.edu/mailman/options/kerberos>,
<mailto:kerberos-request@mit.edu?subject=unsubscribe>
List-Archive: <http://mailman.mit.edu/pipermail/kerberos/>
List-Post: <mailto:kerberos@mit.edu>
List-Help: <mailto:kerberos-request@mit.edu?subject=help>
List-Subscribe: <https://mailman.mit.edu/mailman/listinfo/kerberos>,
<mailto:kerberos-request@mit.edu?subject=subscribe>
X-Mailman-Original-Message-ID: <ZfxRGUGVIIXJ42x+@gozer.tproa.net>
X-Mailman-Original-References: <1182031369.5745575.1710653866918.ref@mail.yahoo.com>
<1182031369.5745575.1710653866918@mail.yahoo.com>
<202403180011.42I0Bfq8004419@hedwig.cmf.nrl.navy.mil>
<1971540388.4984456.1710851301228@mail.yahoo.com>
<202403200124.42K1Ogwb031014@hedwig.cmf.nrl.navy.mil>
<1607837619.5406090.1710931234295@mail.yahoo.com>
<202403201533.42KFXFYr006534@hedwig.cmf.nrl.navy.mil>
 by: Thomas Kula - Thu, 21 Mar 2024 15:24 UTC

On Wed, Mar 20, 2024 at 11:33:16AM -0400, Ken Hornstein via Kerberos wrote:
> >Thanks again Ken. My application is written in Go. So I'm looking
> >for Kerberos implementation that can be easily integrated with my
> >application. Hence I  was considering MIT Kerberos and using C bindings
> >to call those APIs from my Go code. "MacOS X it might be easier to use
> >the native GSSAPI implementation which would be Heimdal"
> >
> >Here did you mean developer.apple.com/documentation/gss ? Isn't that in
> >Swift ? I will explore libcurl code thank-you.
>
> I can't speak for the Swift API, but Heimdal on MacOS X also provides a
> standard C API for the GSSAPI functions. I don't have much experience
> with Go but if you can call C functions from within it (and I have to
> believe that is possible) then doing so for Heimdal should be fine.
> There might be a few differences in term of what GSSAPI extension
> functions are available but from what you describe you should only need
> the standard GSSAPI functions.

Are you familiar with https://github.com/jcmturner/gokrb5? I've used it
in the past with some experiments in some Go code I was working on, I
wasn't touching GSSAPI but there's at least some GSSAPI code in there.
Might be worth checking out as it's native Go code, no cgo wrapping.

--
Thomas L. Kula | kula@tproa.net | https://kula.tproa.net/

1
server_pubkey.txt

rocksolid light 0.9.7
clearnet tor