[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Pulp-list] Auth Issues



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> actually, that isn't entirely true:
> 
>     # If the ID should be explicitly verified against a provided list,
> the ID in the
>     # certificate will be verified against the ID found in the certificate
>     good_certificate = False
>     if check_id:
>         for arg in fargs:
>             LOG.error("Checking ID in cert [%s] against expected ID [%s]" %
>                       (consumer_cert_uid, arg))
>             if arg == consumer_cert_uid:
>                 good_certificate = True
>                 break
>         else:
>             good_certificate = True

Ya, but unless I'm missing it, we never pass in check_id=True to the
call and it's defaulted to False.



- -- 
Jason Dobies
RHCE# 805008743336126
Freenode: jdob
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJM4YSpAAoJEOMmcTqOSQHCK/UH/0MAFl+Jmv5JCZeQNvkZB3T4
udKStTh8+nGLNRzsXrtELRVyafjvDZu1IA1NzOunXYu/DPBQdRoMMgWyDOzlWOEV
BH/JtIOKqm1pDCm33C1byBLj5poYnOjSnmFzp1F6jrScI8CinHlsGiMgtdgT184H
paG7Vi8IQkZmo5HBBH5LZ/LFeep80jHByPt+9SaPD7nBfb631VgF+Jp2C1bLl8pk
hh/KoI4s8BHZov9cPARDLGpBo+fR0PINorIxU2mCul8diI1teMYPRE4DpQAtRO9a
Rpjhs7aM7DeEhFP/E/zjF9PsuzclcbS0cAwn8Fps99Mf8l4DVnaWor6IsJL78cs=
=jOUK
-----END PGP SIGNATURE-----


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]