Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Save gas, don't use the shell.


computers / comp.os.vms / Re: FIDO is a *MUST*

SubjectAuthor
* FIDO is a *MUST*Richard Maher
+* Re: FIDO is a *MUST*Andy Burns
|+- Re: FIDO is a *MUST*David Jones
|+* Re: FIDO is a *MUST*Bill Gunshannon
||+- Re: FIDO is a *MUST*Simon Clubley
||`- Re: FIDO is a *MUST*Andy Burns
|+* Re: FIDO is a *MUST*Stephen Hoffman
||`- Re: FIDO is a *MUST*Andy Burns
|`* Re: FIDO is a *MUST*Richard Maher
| +* Re: FIDO is a *MUST*Richard Maher
| |`- Re: FIDO is a *MUST*Stephen Hoffman
| +* Re: FIDO is a *MUST*Dave Froble
| |`* Re: FIDO is a *MUST*Bill Gunshannon
| | `- Re: FIDO is a *MUST*Arne Vajhøj
| `- Re: FIDO is a *MUST*Arne Vajhøj
`- Re: FIDO is a *MUST*John Reagan

1
FIDO is a *MUST*

<t523su$epq$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22427&group=comp.os.vms#22427

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!Z2wJcTGr7+4uJc/ppON/rA.user.46.165.242.75.POSTED!not-for-mail
From: maher_rj...@hotmail.com (Richard Maher)
Newsgroups: comp.os.vms
Subject: FIDO is a *MUST*
Date: Fri, 6 May 2022 11:15:46 +0800
Organization: Aioe.org NNTP Server
Message-ID: <t523su$epq$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="15162"; posting-host="Z2wJcTGr7+4uJc/ppON/rA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.9.0
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Richard Maher - Fri, 6 May 2022 03:15 UTC

Please put FIDO2 next after Hypervisor support
https://fidoalliance.org/apple-google-and-microsoft-commit-to-expanded-support-for-fido-standard-to-accelerate-availability-of-passwordless-sign-ins

Re: FIDO is a *MUST*

<jdjq3uFl8noU1@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22429&group=comp.os.vms#22429

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: use...@andyburns.uk (Andy Burns)
Newsgroups: comp.os.vms
Subject: Re: FIDO is a *MUST*
Date: Fri, 6 May 2022 06:30:36 +0100
Lines: 6
Message-ID: <jdjq3uFl8noU1@mid.individual.net>
References: <t523su$epq$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net +6wobM0jOE4FxpaY1//Psg46UTHp8vxm4s6bA1oNhWNNnM8XFs
Cancel-Lock: sha1:Rz4wPX+pVWigNMWB3lkKRCmDOIw=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.9.0
Content-Language: en-GB
In-Reply-To: <t523su$epq$1@gioia.aioe.org>
 by: Andy Burns - Fri, 6 May 2022 05:30 UTC

Richard Maher wrote:

> Please put FIDO2 next after Hypervisor support
> https://fidoalliance.org/apple-google-and-microsoft-commit-to-expanded-support-for-fido-standard-to-accelerate-availability-of-passwordless-sign-ins

bluetooth support on a multi-user O/S ?

Re: FIDO is a *MUST*

<ae8c5ba5-903a-4b23-a908-c39c1afc94d4n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22431&group=comp.os.vms#22431

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a37:bc8:0:b0:69f:a898:cefb with SMTP id 191-20020a370bc8000000b0069fa898cefbmr1803301qkl.525.1651836157136;
Fri, 06 May 2022 04:22:37 -0700 (PDT)
X-Received: by 2002:a05:622a:190c:b0:2f3:402d:3436 with SMTP id
w12-20020a05622a190c00b002f3402d3436mr2151620qtc.25.1651836156907; Fri, 06
May 2022 04:22:36 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Fri, 6 May 2022 04:22:36 -0700 (PDT)
In-Reply-To: <jdjq3uFl8noU1@mid.individual.net>
Injection-Info: google-groups.googlegroups.com; posting-host=74.140.8.188; posting-account=CO-_tAoAAACjjs2KLAw3xVKCy6Z_J3VK
NNTP-Posting-Host: 74.140.8.188
References: <t523su$epq$1@gioia.aioe.org> <jdjq3uFl8noU1@mid.individual.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ae8c5ba5-903a-4b23-a908-c39c1afc94d4n@googlegroups.com>
Subject: Re: FIDO is a *MUST*
From: osuvma...@gmail.com (David Jones)
Injection-Date: Fri, 06 May 2022 11:22:37 +0000
Content-Type: text/plain; charset="UTF-8"
 by: David Jones - Fri, 6 May 2022 11:22 UTC

On Friday, May 6, 2022 at 1:30:41 AM UTC-4, Andy Burns wrote:
> Richard Maher wrote:
>
> > Please put FIDO2 next after Hypervisor support
> > https://fidoalliance.org/apple-google-and-microsoft-commit-to-expanded-support-for-fido-standard-to-accelerate-availability-of-passwordless-sign-ins
> bluetooth support on a multi-user O/S ?

Since a dog only has 1 head, that make FIDO a third as good as Kerberos?

Re: FIDO is a *MUST*

<jdkf7qFp530U1@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22432&group=comp.os.vms#22432

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bill.gun...@gmail.com (Bill Gunshannon)
Newsgroups: comp.os.vms
Subject: Re: FIDO is a *MUST*
Date: Fri, 6 May 2022 07:31:06 -0400
Lines: 13
Message-ID: <jdkf7qFp530U1@mid.individual.net>
References: <t523su$epq$1@gioia.aioe.org> <jdjq3uFl8noU1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net hzvsAm14YaWqy571ZYRjAg4Bfn2TL0gKL+KZGpWhD4LEQCxh5I
Cancel-Lock: sha1:GgkJSJ+X6fQ7LsnFzFeK8O/E6cc=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.7.0
Content-Language: en-US
In-Reply-To: <jdjq3uFl8noU1@mid.individual.net>
 by: Bill Gunshannon - Fri, 6 May 2022 11:31 UTC

On 5/6/22 01:30, Andy Burns wrote:
> Richard Maher wrote:
>
>> Please put FIDO2 next after Hypervisor support
>> https://fidoalliance.org/apple-google-and-microsoft-commit-to-expanded-support-for-fido-standard-to-accelerate-availability-of-passwordless-sign-ins
>
>
> bluetooth support on a multi-user O/S ?

What does multi-user have to do with it?

bill

Re: FIDO is a *MUST*

<t533o7$v1d$3@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22435&group=comp.os.vms#22435

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: FIDO is a *MUST*
Date: Fri, 6 May 2022 12:19:19 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <t533o7$v1d$3@dont-email.me>
References: <t523su$epq$1@gioia.aioe.org> <jdjq3uFl8noU1@mid.individual.net> <jdkf7qFp530U1@mid.individual.net>
Injection-Date: Fri, 6 May 2022 12:19:19 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="1054e343e0009413b3412ffa6b09d6b2";
logging-data="31789"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19mPCxLOnIF18h1iNblCIIT5s9nE8RmpFM="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:QXNDBGTcz7g+IHvv4W63G6TfAqM=
 by: Simon Clubley - Fri, 6 May 2022 12:19 UTC

On 2022-05-06, Bill Gunshannon <bill.gunshannon@gmail.com> wrote:
> On 5/6/22 01:30, Andy Burns wrote:
>> Richard Maher wrote:
>>
>>> Please put FIDO2 next after Hypervisor support
>>> https://fidoalliance.org/apple-google-and-microsoft-commit-to-expanded-support-for-fido-standard-to-accelerate-availability-of-passwordless-sign-ins
>>
>>
>> bluetooth support on a multi-user O/S ?

Well VMS does have (somewhat limited) USB support. :-)

>
> What does multi-user have to do with it?
>

More that multiple people use a VMS server that is not physically
close to them and uses a variety of means to connect to it, only
some of which could be used with bluetooth based authentication.

The Register has an article about this (make sure you read the user comments):

https://www.theregister.com/2022/05/05/microsoft-apple-google-fido/

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: FIDO is a *MUST*

<8ad45367-c4b1-4231-99c4-77f105b99c21n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22439&group=comp.os.vms#22439

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a37:7ca:0:b0:69f:7733:27b9 with SMTP id 193-20020a3707ca000000b0069f773327b9mr2694949qkh.493.1651849628172;
Fri, 06 May 2022 08:07:08 -0700 (PDT)
X-Received: by 2002:ac8:5905:0:b0:2f3:9fdd:22f1 with SMTP id
5-20020ac85905000000b002f39fdd22f1mr3093425qty.191.1651849627966; Fri, 06 May
2022 08:07:07 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Fri, 6 May 2022 08:07:07 -0700 (PDT)
In-Reply-To: <t523su$epq$1@gioia.aioe.org>
Injection-Info: google-groups.googlegroups.com; posting-host=73.60.222.222; posting-account=M3IgSwoAAADJd6EnOmsrCCfB6_OyTOkv
NNTP-Posting-Host: 73.60.222.222
References: <t523su$epq$1@gioia.aioe.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <8ad45367-c4b1-4231-99c4-77f105b99c21n@googlegroups.com>
Subject: Re: FIDO is a *MUST*
From: xyzzy1...@gmail.com (John Reagan)
Injection-Date: Fri, 06 May 2022 15:07:08 +0000
Content-Type: text/plain; charset="UTF-8"
 by: John Reagan - Fri, 6 May 2022 15:07 UTC

On Thursday, May 5, 2022 at 11:15:46 PM UTC-4, Richard Maher wrote:
> Please put FIDO2 next after Hypervisor support
> https://fidoalliance.org/apple-google-and-microsoft-commit-to-expanded-support-for-fido-standard-to-accelerate-availability-of-passwordless-sign-ins
Personally I prefer Steve Gibson's SQRL solution which is also passwordless. But I do realize that the momentum of FIDO and the backing of Apple, Google, and Microsoft will put SQRL into the dustbin along with Betamax tapes.

https://www.grc.com/sqrl/sqrl.htm

Re: FIDO is a *MUST*

<t53ftu$d09$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22444&group=comp.os.vms#22444

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: seaoh...@hoffmanlabs.invalid (Stephen Hoffman)
Newsgroups: comp.os.vms
Subject: Re: FIDO is a *MUST*
Date: Fri, 6 May 2022 11:47:11 -0400
Organization: HoffmanLabs LLC
Lines: 54
Message-ID: <t53ftu$d09$1@dont-email.me>
References: <t523su$epq$1@gioia.aioe.org> <jdjq3uFl8noU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="2b4c53b5e60bffb444f8df17ad06382a";
logging-data="13321"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/uwBHdjK0lG54WWOC5c9LK6wJXA3zHCqY="
User-Agent: Unison/2.2
Cancel-Lock: sha1:RTy3b8hIfV1QLmub8eKWafIispw=
 by: Stephen Hoffman - Fri, 6 May 2022 15:47 UTC

On 2022-05-06 05:30:36 +0000, Andy Burns said:

> Richard Maher wrote:
>
>> Please put FIDO2 next after Hypervisor support
>> https://fidoalliance.org/apple-google-and-microsoft-commit-to-expanded-support-for-fido-standard-to-accelerate-availability-of-passwordless-sign-ins
>>
>
> bluetooth support on a multi-user O/S ?

Maybe "Bluetooth on a server-focused operating system?" is a better
statement of your concern here?

Why? macOS, Linux, and various other multi-user systems all offer
Bluetooth connectivity.

The following reply mixes both two-factor and password-less, which are
related in various ways and do require a communications path with the
client, but are different.

As for FIDO, US DoD CAC support, or otherwise, and for two-factor
authentication and alternatives-to-passwords for logins, OpenVMS
two-factor authentication support is an add-on, and Kerberos
single-sign-on has long been a rarely-used option.

Kerberized telnet has been around for a while, IIRC. Yes, kerberized
telnet. Yes, that's hilarious to at least some of us. Moving on...

In general, it's quite possible to do two-factor remotely from/for a
server, but this does best require support from the client device for
ease of use. Or requires adding prompts. Entirely through the password
input field, if you're so inclined and can't otherwise get a third
input prompt. But getting OpenVMS servers to support FIDO password-less
is going to absolutely require server modifications as well as a client
with the necessary support.

For two-factor, iOS and iPadOS include an integrated authenticator, and
add-on authenticators are available for most (all?) common mobile
devices. Various platforms integrate also ssh connections with
mobile-device authenticators, though not usually via Bluetooth.

For ssh connections, OpenSSH 8.2p1 and later does have support for
FIDO2, and OpenSSH 8.8 is ported to OpenVMS x86-64. Whether that FIDO2
support has been integrated with OpenVMS, and is enough to meet the
OP's rather under-specified FIDO requirements? For those using ssh
connections already, certificates can provide that now, without
requiring FIDO. Haven't checked to see if the OpenVMS OpenSSH server
can pull public certificates from LDAP, but some ssh setups can—though
given LDAP integration is weak on OpenVMS, probably not.

--
Pure Personal Opinion | HoffmanLabs LLC

Re: FIDO is a *MUST*

<jdl5roFtcanU2@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22448&group=comp.os.vms#22448

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: use...@andyburns.uk (Andy Burns)
Newsgroups: comp.os.vms
Subject: Re: FIDO is a *MUST*
Date: Fri, 6 May 2022 18:57:12 +0100
Lines: 13
Message-ID: <jdl5roFtcanU2@mid.individual.net>
References: <t523su$epq$1@gioia.aioe.org> <jdjq3uFl8noU1@mid.individual.net>
<jdkf7qFp530U1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net hUm4CUt21A+TKO5JuapqYABvAv32N4e3SIgpihub20ulUX6+qC
Cancel-Lock: sha1:MIUsuVaw66htXz8I6fKBFbCYk1I=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.9.0
Content-Language: en-GB
In-Reply-To: <jdkf7qFp530U1@mid.individual.net>
 by: Andy Burns - Fri, 6 May 2022 17:57 UTC

Bill Gunshannon wrote:

> Andy Burns wrote:
>
>> bluetooth support on a multi-user O/S ?
>
> What does multi-user have to do with it?

how does it know which user is controlling the radio, which security token
belongs to which user, etc?

but who runs a web browser on VMS now? I suspect there's only one person here
that does

Re: FIDO is a *MUST*

<jdl60iFtcanU3@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22449&group=comp.os.vms#22449

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: use...@andyburns.uk (Andy Burns)
Newsgroups: comp.os.vms
Subject: Re: FIDO is a *MUST*
Date: Fri, 6 May 2022 18:59:46 +0100
Lines: 10
Message-ID: <jdl60iFtcanU3@mid.individual.net>
References: <t523su$epq$1@gioia.aioe.org> <jdjq3uFl8noU1@mid.individual.net>
<t53ftu$d09$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net aEhGKP2sY8oHhZ+e/gx2xwbvHKLHhA9E+O+XRjvpwTyT57jq0K
Cancel-Lock: sha1:03ohuYLUa7NhbB1peNOTdGxz2PE=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.9.0
Content-Language: en-GB
In-Reply-To: <t53ftu$d09$1@dont-email.me>
 by: Andy Burns - Fri, 6 May 2022 17:59 UTC

Stephen Hoffman wrote:

> Maybe "Bluetooth on a server-focused operating system?" is a better statement of
> your concern here?
>
> Why? macOS, Linux, and various other multi-user systems all offer Bluetooth
> connectivity.

But there's an expectation that the primary/sole console "owns" the bluetooth
devices ...

Re: FIDO is a *MUST*

<t54kal$sos$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22457&group=comp.os.vms#22457

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!Z2wJcTGr7+4uJc/ppON/rA.user.46.165.242.75.POSTED!not-for-mail
From: maher_rj...@hotmail.com (Richard Maher)
Newsgroups: comp.os.vms
Subject: Re: FIDO is a *MUST*
Date: Sat, 7 May 2022 10:08:20 +0800
Organization: Aioe.org NNTP Server
Message-ID: <t54kal$sos$1@gioia.aioe.org>
References: <t523su$epq$1@gioia.aioe.org> <jdjq3uFl8noU1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="29468"; posting-host="Z2wJcTGr7+4uJc/ppON/rA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.9.0
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Richard Maher - Sat, 7 May 2022 02:08 UTC

On 6/05/2022 1:30 pm, Andy Burns wrote:
> Richard Maher wrote:
>
>> Please put FIDO2 next after Hypervisor support
>> https://fidoalliance.org/apple-google-and-microsoft-commit-to-expanded-support-for-fido-standard-to-accelerate-availability-of-passwordless-sign-ins
>>
>
>
> bluetooth support on a multi-user O/S ?

FFS what a bunch of arseholes :-(

Bluetooth is on the "client" the "device" part of "multi-device". Your
VMS code needs to be able to contact the authenticator of the public key
who will ask the client device for something like an attestation. Via
CTAP protocol.

See
https://stackoverflow.com/questions/66624283/can-i-use-phone-as-webauthn-security-key-with-windows-10-sign-in-options
for background.

This link https://developer.apple.com/videos/play/wwdc2021/10106/ is
<30mins long, starts slow but quickly hits the spot. At 15:15 I really
started to get my jollies with the new stuff and went to bed. I'm about
to watch the rest now but guess that if your phone is bluetooth away
from your client device then all you have to do his give your
fingerprint etc on phone and it's done!!! Biometric info or private key
*NEVER* leaves the phone!!!!!!!!!!!!

VMS will *never* be a client device!

To be clear, I want to convert my code to VMS COBOL calling language
agnostic RSA, JWT, et al RTL routines that are probably there in JAVA now: -
// GET: api/<fido>
[HttpGet]
public string GetKey()
{
SigningCredentials credentials = new
SigningCredentials(_securityKey, SecurityAlgorithms.HmacSha256);
JwtSecurityToken token = new JwtSecurityToken(_domain,
_domain, expires: DateTime.Now.AddSeconds(120), signingCredentials:
credentials);

return "{\"Token\": \"" + _jsth.WriteToken(token) + "\"}";
}

[HttpPost]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Interoperability",
"CA1416:Validate platform compatibility", Justification = "DSA Works on
Windows only which is fine.")]
public string VerifyAssertion([FromBody] Assertion assertion)
{
if (assertion == null || assertion.Id == null ||
assertion.AuthenticatorData == null || assertion.ClientDataJSON == null
|| assertion.Signature == null)
{
// assertion.UserHandle is null for Samsung phone

return FAIL_STATUS;
}

if (assertion.Id != tempDB.Id)
{
return FAIL_STATUS;
}

if (!ValidateClient(assertion.ClientDataJSON, "webauthn.get"))
{
return FAIL_STATUS;
}

byte[] authData =
Convert.FromBase64String(assertion.AuthenticatorData);
var creds = ValidateAuthData(authData);
if (creds == null)
{
return FAIL_STATUS;
}

creds.Id = tempDB.Id;
creds.PublicKeyJwk = tempDB.PublicKeyJwk;

byte[] hashValClientData;
try
{
hashValClientData =
_hash.ComputeHash(Encoding.Latin1.GetBytes(assertion.ClientDataJSON));
}
catch (Exception e)
{
return FAIL_STATUS;
}

PublicKey pubKey;
try
{
pubKey =
JsonConvert.DeserializeObject<PublicKey>(creds.PublicKeyJwk);
}
catch (Exception ex)
{
return FAIL_STATUS;
}

byte[] data = new byte[authData.Length +
hashValClientData.Length];
Buffer.BlockCopy(authData, 0, data, 0, authData.Length);
Buffer.BlockCopy(hashValClientData, 0, data,
authData.Length, hashValClientData.Length);

byte[] sig = Convert.FromBase64String(assertion.Signature);

if (pubKey.kty == "EC")
{
byte[] ECDsaSig = convertFromASN1(sig);

var point = new ECPoint
{
X = Convert.FromBase64String(pubKey.x),
Y = Convert.FromBase64String(pubKey.y),
};

var ecparams = new ECParameters
{
Q = point,
Curve = ECCurve.NamedCurves.nistP256
};
try
{
using (ECDsa dsa = ECDsa.Create(ecparams))
{
if (dsa.VerifyData(data, ECDsaSig,
HashAlgorithmName.SHA256))
{
Console.WriteLine("The signature is valid.");
}
else
{
Console.WriteLine("The signature is not
valid.");
return FAIL_STATUS;
}
}
}
catch (Exception e)
{
return FAIL_STATUS;
}
}
else
{
RSA rsa = RSA.Create();
rsa.ImportParameters(
new RSAParameters()
{
Modulus = Convert.FromBase64String(pubKey.n),
Exponent = Convert.FromBase64String(pubKey.e),
}
);

if (rsa.VerifyData(data, sig, HashAlgorithmName.SHA256,
RSASignaturePadding.Pkcs1))
{
Console.WriteLine("The signature is valid.");
}
else
{
Console.WriteLine("The signature is not valid.");
return FAIL_STATUS;
}
}

if (creds.SignCount < tempDB.SignCount)
{
Console.WriteLine("SignCount = " + creds.SignCount + "
expected > " + tempDB.SignCount);
return FAIL_STATUS;
}

tempDB.SignCount = creds.SignCount;
return PASS_STATUS;
}

Re: FIDO is a *MUST*

<t54lir$1bmr$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22458&group=comp.os.vms#22458

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!Z2wJcTGr7+4uJc/ppON/rA.user.46.165.242.75.POSTED!not-for-mail
From: maher_rj...@hotmail.com (Richard Maher)
Newsgroups: comp.os.vms
Subject: Re: FIDO is a *MUST*
Date: Sat, 7 May 2022 10:29:47 +0800
Organization: Aioe.org NNTP Server
Message-ID: <t54lir$1bmr$1@gioia.aioe.org>
References: <t523su$epq$1@gioia.aioe.org> <jdjq3uFl8noU1@mid.individual.net>
<t54kal$sos$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="44763"; posting-host="Z2wJcTGr7+4uJc/ppON/rA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.9.0
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Richard Maher - Sat, 7 May 2022 02:29 UTC

On 7/05/2022 10:08 am, Richard Maher wrote:
> On 6/05/2022 1:30 pm, Andy Burns wrote:
>> Richard Maher wrote:
>>
>>> Please put FIDO2 next after Hypervisor support
>>> https://fidoalliance.org/apple-google-and-microsoft-commit-to-expanded-support-for-fido-standard-to-accelerate-availability-of-passwordless-sign-ins
>>>
>>>
>>
>>
>> bluetooth support on a multi-user O/S ?
>
> FFS what a bunch of arseholes :-(
>
> Bluetooth is on the "client" the "device" part of "multi-device". Your
> VMS code needs to be able to contact the authenticator of the public key
> who will ask the client device for something like an attestation. Via
> CTAP protocol.
>
> See
> https://stackoverflow.com/questions/66624283/can-i-use-phone-as-webauthn-security-key-with-windows-10-sign-in-options
> for background.
>
> This link https://developer.apple.com/videos/play/wwdc2021/10106/ is
> <30mins long, starts slow but quickly hits the spot. At 15:15 I really
> started to get my jollies with the new stuff and went to bed. I'm about
> to watch the rest now but guess that if your phone is bluetooth away
> from your client device then all you have to do his give your
> fingerprint etc on phone and it's done!!! Biometric info or private key
> *NEVER* leaves the phone!!!!!!!!!!!!
>

Ok it looks like if you use Apple iCloud KeyChain the keys are "synched"
with the cloud. I'd rather have to register new devices if I lost them all.

And, as usual, looks like Apple won't recognize non-Apple devices :-(

Re: FIDO is a *MUST*

<t54pp2$kvg$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22459&group=comp.os.vms#22459

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: FIDO is a *MUST*
Date: Fri, 6 May 2022 23:42:09 -0400
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <t54pp2$kvg$1@dont-email.me>
References: <t523su$epq$1@gioia.aioe.org> <jdjq3uFl8noU1@mid.individual.net>
<t54kal$sos$1@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 7 May 2022 03:41:22 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="339d6b4fb9f4e7b785faa0493afc16b4";
logging-data="21488"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+2TTfWEMVH80+sgCLhlgzQ0tDwMykUKoA="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:tVzU/zmB0iiNtZ3wnGP231O+9Vs=
In-Reply-To: <t54kal$sos$1@gioia.aioe.org>
 by: Dave Froble - Sat, 7 May 2022 03:42 UTC

On 5/6/2022 10:08 PM, Richard Maher wrote:

> VMS will *never* be a client device!

Why not? I can imagine it.

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: FIDO is a *MUST*

<jdn8ndFatilU1@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22463&group=comp.os.vms#22463

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bill.gun...@gmail.com (Bill Gunshannon)
Newsgroups: comp.os.vms
Subject: Re: FIDO is a *MUST*
Date: Sat, 7 May 2022 08:58:19 -0400
Lines: 16
Message-ID: <jdn8ndFatilU1@mid.individual.net>
References: <t523su$epq$1@gioia.aioe.org> <jdjq3uFl8noU1@mid.individual.net>
<t54kal$sos$1@gioia.aioe.org> <t54pp2$kvg$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net qRsoqNzluB8ySfF+apzHiwjQ7hBJiZ1fstgH74xj57IPlhXpA4
Cancel-Lock: sha1:mdPOcW+Jcy5XHNhswzscnYvhCH4=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.7.0
Content-Language: en-US
In-Reply-To: <t54pp2$kvg$1@dont-email.me>
 by: Bill Gunshannon - Sat, 7 May 2022 12:58 UTC

On 5/6/22 23:42, Dave Froble wrote:
> On 5/6/2022 10:08 PM, Richard Maher wrote:
>
>> VMS will *never* be a client device!
>
> Why not?  I can imagine it.
>

I guess it depends on your definition of "client device".
Some of us run VMS not as a server. Does that make it a
"client device"? I am sure there are production environments
where VMS is used not as a server but for other tasks. Would
that make them "client devices"? Or does it have to be in my
smart phone to be "client device"?

bill

Re: FIDO is a *MUST*

<t56a14$8cc$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22464&group=comp.os.vms#22464

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: seaoh...@hoffmanlabs.invalid (Stephen Hoffman)
Newsgroups: comp.os.vms
Subject: Re: FIDO is a *MUST*
Date: Sat, 7 May 2022 13:24:52 -0400
Organization: HoffmanLabs LLC
Lines: 59
Message-ID: <t56a14$8cc$1@dont-email.me>
References: <t523su$epq$1@gioia.aioe.org> <jdjq3uFl8noU1@mid.individual.net> <t54kal$sos$1@gioia.aioe.org> <t54lir$1bmr$1@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="ec9d1fd3f7d38365d5af241d7e3f31c8";
logging-data="8588"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19UQb3CS7Ap0dw6F2QIe+fkViJ2HDTWoyY="
User-Agent: Unison/2.2
Cancel-Lock: sha1:Lub/3J9pwLOkVMiy0Gqxqyt7gMQ=
 by: Stephen Hoffman - Sat, 7 May 2022 17:24 UTC

On 2022-05-07 02:29:47 +0000, Richard Maher said:

> Ok it looks like if you use Apple iCloud KeyChain the keys are
> "synched" with the cloud. I'd rather have to register new devices if I
> lost them all.

iCloud Keychain requires an existing iCloud Keychain client be logged
into the same Apple ID, and to further explicitly "approve" a
newly-added client attempting to access iCloud Keychain, yes.

https://support.apple.com/en-us/HT204085

OpenSSH supports FIDO, though whether the OpenVMS port also supports
that? The other spot where this'd probably be involved (within Maher
World) is support (hypothetically) added within the web server or
application server.

> And, as usual, looks like Apple won't recognize non-Apple devices :-(

Some few servcies (e.g. mail) aren't, but many of the various iCloud
services are tied to Apple devices, and iCloud Keychain is entirely
tied to Apple devices, yes.

Keychain is a store of trusted notes, passwords, private keys, and
related, and operates locally on Apple devices, and can be shared via
iCloud.

OpenVMS has no direct analog to Keychain, using SYSUAF, passwords
stored in various places (e.g. in cleartext in the DECnet database),
LDAP, and certificates either stored in various directories or
app-embedded.

iCloud Keychain is an entirely different approach, but providing some
general similarities to LDAP password authentication for hosts bound to
a directory server.

For those interested in general information on security on Apple
platforms, and for the jargon that Apple uses:

online reading: https://support.apple.com/guide/security/welcome/web
offline reading:
https://manuals.info.apple.com/MANUALS/1000/MA1902/en_US/apple-platform-security-guide.pdf

For those that would like to get out of dealing with website account
management entirely, and prior to FIDO or some other approach:

https://developer.apple.com/sign-in-with-apple/

It'll be interesting to see how FIDO, Sign in with Apple, and other
services effect existing sites using Microsoft Active Directory and
Microsoft Azure and CAC for user authentication. Though for those
OpenVMS folks still using SYSUAF not having added LDAP or two-factor or
such, prolly not much.

--
Pure Personal Opinion | HoffmanLabs LLC

Re: FIDO is a *MUST*

<6277061b$0$700$14726298@news.sunsite.dk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22465&group=comp.os.vms#22465

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Sat, 7 May 2022 19:51:48 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.9.0
Subject: Re: FIDO is a *MUST*
Content-Language: en-US
Newsgroups: comp.os.vms
References: <t523su$epq$1@gioia.aioe.org> <jdjq3uFl8noU1@mid.individual.net>
<t54kal$sos$1@gioia.aioe.org> <t54pp2$kvg$1@dont-email.me>
<jdn8ndFatilU1@mid.individual.net>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <jdn8ndFatilU1@mid.individual.net>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 30
Message-ID: <6277061b$0$700$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: e6b86248.news.sunsite.dk
X-Trace: 1651967515 news.sunsite.dk 700 arne@vajhoej.dk/68.9.63.232:59638
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Sat, 7 May 2022 23:51 UTC

On 5/7/2022 8:58 AM, Bill Gunshannon wrote:
> On 5/6/22 23:42, Dave Froble wrote:
>> On 5/6/2022 10:08 PM, Richard Maher wrote:
>>
>>> VMS will *never* be a client device!
>>
>> Why not?  I can imagine it.
>
> I guess it depends on your definition of "client device".
> Some of us run VMS not as a server.  Does that make it a
> "client device"?  I am sure there are production environments
> where VMS is used not as a server but for other tasks. Would
> that make them "client devices"?  Or does it have to be in my
> smart phone to be "client device"?

One question is the definition. I believe most have some intuitive
understanding though not necessarily precise definition of what
a server is and what a "client" (desktop, tablet, phone) is and
what embedded is.

Another question is whether we are talking about every
VMS system in existence, all commercial in production
systems or just where the vast majority of VMS business is
(now and future). I am sure there are places where VMS are
used in ways that would surprise me. But I am also sure
that 95++% of VSI business is for very traditional
server usage.

Arne

Re: FIDO is a *MUST*

<627707bd$0$693$14726298@news.sunsite.dk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22466&group=comp.os.vms#22466

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Sat, 7 May 2022 19:58:46 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.9.0
Subject: Re: FIDO is a *MUST*
Content-Language: en-US
Newsgroups: comp.os.vms
References: <t523su$epq$1@gioia.aioe.org> <jdjq3uFl8noU1@mid.individual.net>
<t54kal$sos$1@gioia.aioe.org>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <t54kal$sos$1@gioia.aioe.org>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 167
Message-ID: <627707bd$0$693$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: e6b86248.news.sunsite.dk
X-Trace: 1651967934 news.sunsite.dk 693 arne@vajhoej.dk/68.9.63.232:59944
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Sat, 7 May 2022 23:58 UTC

On 5/6/2022 10:08 PM, Richard Maher wrote:
> To be clear, I want to convert my code to VMS COBOL calling language
> agnostic RSA, JWT, et al RTL routines that are probably there in JAVA
> now: -
>        // GET: api/<fido>
>         [HttpGet]
>         public string GetKey()
>         {
>             SigningCredentials credentials = new
> SigningCredentials(_securityKey, SecurityAlgorithms.HmacSha256);
>             JwtSecurityToken token = new JwtSecurityToken(_domain,
> _domain, expires: DateTime.Now.AddSeconds(120), signingCredentials:
> credentials);
>
>             return "{\"Token\": \"" + _jsth.WriteToken(token) + "\"}";
>         }
>
>         [HttpPost]
>
> [System.Diagnostics.CodeAnalysis.SuppressMessage("Interoperability",
> "CA1416:Validate platform compatibility", Justification = "DSA Works on
> Windows only which is fine.")]
>         public string VerifyAssertion([FromBody] Assertion assertion)
>         {
>             if (assertion == null || assertion.Id == null ||
> assertion.AuthenticatorData == null || assertion.ClientDataJSON == null
> || assertion.Signature == null)
>             {
>                 // assertion.UserHandle is null for Samsung phone
>
>                 return FAIL_STATUS;
>             }
>
>             if (assertion.Id != tempDB.Id)
>             {
>                 return FAIL_STATUS;
>             }
>
>             if (!ValidateClient(assertion.ClientDataJSON, "webauthn.get"))
>             {
>                 return FAIL_STATUS;
>             }
>
>             byte[] authData =
> Convert.FromBase64String(assertion.AuthenticatorData);
>             var creds = ValidateAuthData(authData);
>             if (creds == null)
>             {
>                 return FAIL_STATUS;
>             }
>
>             creds.Id = tempDB.Id;
>             creds.PublicKeyJwk = tempDB.PublicKeyJwk;
>
>             byte[] hashValClientData;
>             try
>             {
>                 hashValClientData =
> _hash.ComputeHash(Encoding.Latin1.GetBytes(assertion.ClientDataJSON));
>             }
>             catch (Exception e)
>             {
>                 return FAIL_STATUS;
>             }
>
>             PublicKey pubKey;
>             try
>             {
>                 pubKey =
> JsonConvert.DeserializeObject<PublicKey>(creds.PublicKeyJwk);
>             }
>             catch (Exception ex)
>             {
>                 return FAIL_STATUS;
>             }
>
>             byte[] data = new byte[authData.Length +
> hashValClientData.Length];
>             Buffer.BlockCopy(authData, 0, data, 0, authData.Length);
>             Buffer.BlockCopy(hashValClientData, 0, data,
> authData.Length, hashValClientData.Length);
>
>             byte[] sig = Convert.FromBase64String(assertion.Signature);
>
>             if (pubKey.kty == "EC")
>             {
>                 byte[] ECDsaSig = convertFromASN1(sig);
>
>                 var point = new ECPoint
>                 {
>                     X = Convert.FromBase64String(pubKey.x),
>                     Y = Convert.FromBase64String(pubKey.y),
>                 };
>
>                 var ecparams = new ECParameters
>                 {
>                     Q = point,
>                     Curve = ECCurve.NamedCurves.nistP256
>                 };
>                 try
>                 {
>                     using (ECDsa dsa = ECDsa.Create(ecparams))
>                     {
>                         if (dsa.VerifyData(data, ECDsaSig,
> HashAlgorithmName.SHA256))
>                         {
>                             Console.WriteLine("The signature is valid.");
>                         }
>                         else
>                         {
>                             Console.WriteLine("The signature is not
> valid.");
>                             return FAIL_STATUS;
>                         }
>                     }
>                 }
>                 catch (Exception e)
>                 {
>                     return FAIL_STATUS;
>                 }
>             }
>             else
>             {
>                 RSA rsa = RSA.Create();
>                 rsa.ImportParameters(
>                     new RSAParameters()
>                     {
>                         Modulus = Convert.FromBase64String(pubKey.n),
>                         Exponent = Convert.FromBase64String(pubKey.e),
>                     }
>                 );
>
>                 if (rsa.VerifyData(data, sig, HashAlgorithmName.SHA256,
> RSASignaturePadding.Pkcs1))
>                 {
>                     Console.WriteLine("The signature is valid.");
>                 }
>                 else
>                 {
>                     Console.WriteLine("The signature is not valid.");
>                     return FAIL_STATUS;
>                 }
>             }
>
>             if (creds.SignCount < tempDB.SignCount)
>             {
>                 Console.WriteLine("SignCount = " + creds.SignCount + "
> expected > " + tempDB.SignCount);
>                 return FAIL_STATUS;
>             }
>
>             tempDB.SignCount = creds.SignCount;
>             return PASS_STATUS;
>         }

I am pretty sure that could be converted to Java running on VMS I64
(and in the future VMS x84-64). VMS Alpha Java 5 may be too old.

Java has the basic encryption stuff. Java has the annotation based
RESTful web services either JAX-RS based (like Jersey or RestEasy)
or Spring MVC. Java got the JWT libs.

I don't think Cobol is the right language to do this in.

Arne

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor