Re: Add "oauth-authorization-resource" attribute?

Michael Sweet via ipp <[email protected]>
Newsgroups gmane.ietf.ipp
Message-ID <[email protected]>
Smith,

> On Dec 14, 2022, at 10:18 PM, Kennedy, Smith (Wireless & IPP Standards) via ipp <[email protected]> wrote:
> 
> Signed PGP part
> Waking this up again, and bringing it back to the IPP reflector.
> 
> I didn't think about the print server case, where one host is hosting multiple printers. That brings us all the way back to submitting the URI, which provides both the host name and the resource path of the printer.
> 
> I still suspect that, even for the "standard" printer, it is necessary for the Client to supply the Printer's certificate fingerprint so that the Authentication Service can confirm that the Client is interacting with a particular Printer hosted on a system that is using a TLS certificate that has a particular fingerprint. If it doesn't want to use it, it can ignore it. But it should know the current certificate fingerprint, right?

OK, so this gets us back to the subject of X.509 certificate validation.  Current IPP usage allows for TOFU with self-signed certificates, but we have identified this as a weak point when using OAuth.  The normal way of dealing with this involves using CA-signed certificates, where the CA for a printer will typically be:

1. A local enterprise certificate server that provides signed certificates; the root (CA) certificate is bound to the domain (ActiveDirectory or similar)
2. A remote certificate server that provides signed certificates; the root (CA) certificate is either globally trusted or bound to the domain (Azure Universal Print Service or similar)
3. An Internet public certificate authority that provides signed certificates; this can be provisioned manually or via ACME if the printer is accessible globally (yeck), and the root (CA) certificate is well-known
4. (New, not yet standardized) A local ACME server that provides signed certificates; the root (CA) certificate is bound to the network via DHCP or DNS-SD.

Only the last one supports mDNS (.local) hostnames, the rest force you to use an actual domain name for the printer.

You can't send a fingerprint from the Client to the Authorization Server (AS) because a) there isn't a protocol for that and b) even if you did there is no way for the AS to authenticate the fingerprint (i.e. the resource URI is the only information it has about the printer that is the same as what the Client sees, the AS may never see the Printer's X.509 certificate...)

________________________
Michael Sweet

_______________________________________________
ipp mailing list
[email protected]
https://www.pwg.org/mailman/listinfo/ipp
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEkIbDzcZsP1Y8+PQFvmfHXsgfMkQFAmObOdEACgkQvmfHXsgf
MkTWqg//Rw2T14IGxTMd/W+O2oYbHt34OoSo69wSY4GrTJezxmQX+KvubGEnSL0V
MMopCwmnJtzDeTfzMUqbIzRB/emB0aHylszbU7E3CgXJYW291HGzlmkdEAyKf24G
H+IMjcMT52saWL8h7LWElKIXZS09QM4yZ+BB9LA4FDKegvrwn9anosKq5j0SV7KY
xJiLTTdQD5nAvnOMRNdIRVcwj2ECCaUTdgvJSlysxNpkfJMgVsIbDvxEh8VnfKI9
rny3OGJG17JTgzQi3+coKwlHt0KB3FdikLmmQaZ/eTGKy/NUAfQqkCUyFCwThaZS
9nX/KCURoZeXyVtEA31EthS7YOqPI/bHNMCOU1npT1Zmm874mwmZgl3w7wYuHE2Y
SJ/F3VEQ3ClExNilnYuHrtLd2rGRyDFpZUmMOL/fQOyzdF5DltyLcCK+SsdnrgEq
eKaGQSX3y9H6BDlNQEG5iFIHBEebIynWbkkuBgv86eYbl5oGTjAZvDCQLZ4j0kDd
2UfPQ3fILsWaft2lDkBs0HFV/SwefP9LnmgBval9/KMsA/w1Birrap1b66Jb8r0R
oipjgbo+2cRxihFLXYLn6iZHx13a+XRsVnSaCKCJQVoju9+KZgBiur+5Ga6z54Ae
u407QbagonVfxm5y7x+vOmBJhPaFAUzUf5dDkBI6ViEY5plix9M=
=yw/x
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.