<div dir="ltr">The remote fields client_key, username, and password became no longer readable in pulp 3.11. You can still set/update them but we considered exposing them in the API as a security vulnerability.<div><br></div><div><a href="https://docs.pulpproject.org/pulpcore/changes.html#id330">https://docs.pulpproject.org/pulpcore/changes.html#id330</a><br></div><div><a href="https://pulp.plan.io/issues/8202">https://pulp.plan.io/issues/8202</a></div><div><div><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><br></div><div>David</div></div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 9, 2021 at 12:42 PM Bin Li (BLOOMBERG/ 120 PARK) <<a href="mailto:bli111@bloomberg.net" target="_blank">bli111@bloomberg.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="white-space:pre-wrap;font-size:small;font-family:"Courier New",Courier,"BB.FixedWidth""><div>We are using pulpcore.client.pulp_rpm to query pulp remote objects to compare the client_key to make sure we always have valid entitlement in pulp. We current running 3.7.3</div><div><br></div><div>After we upgraded to 3.15.2 and installed <span style="font-weight:bold">pulp-rpm-client 3.15.0</span>. We got the following error </div><div>AttributeError: 'RpmRpmRemoteResponse' object has no attribute 'client_key'.</div><div><br></div><div>Should the  'RpmRpmRemoteResponse' has client_key attribute as previous releases?</div><div><br></div><div><br></div><div>class RpmRpmRemoteResponse(builtins.object)</div><div> |  RpmRpmRemoteResponse(pulp_href=None, pulp_created=None, name=None, url=None, ca_cert=None, client_cert=None, tls_validation=None, proxy_url=None, pulp_labels=None, pulp_last_updated=None, download_concurrency=None, max_retries=None, policy=None, total_timeout=None, connect_timeout=None, sock_connect_timeout=None, sock_read_timeout=None, headers=None, rate_limit=None, sles_auth_token=None, local_vars_configuration=None)</div><div><br></div><div><br></div><div>class RpmRpmRemote(builtins.object)</div><div>  |  RpmRpmRemote(name=None, url=None, ca_cert=None, client_cert=None, client_key=None, tls_validation=None, proxy_url=None, proxy_username=None, proxy_password=None, username=None, password=None, pulp_labels=None, download_concurrency=None, max_retries=None, policy=None, total_timeout=None, connect_timeout=None, sock_connect_timeout=None, sock_read_timeout=None, headers=None, rate_limit=None, sles_auth_token=None, local_vars_configuration=None)</div><div><br></div><div><br></div><div><br></div></div></div>_______________________________________________<br>
Pulp-list mailing list<br>
<a href="mailto:Pulp-list@redhat.com" target="_blank">Pulp-list@redhat.com</a><br>
<a href="https://listman.redhat.com/mailman/listinfo/pulp-list" rel="noreferrer" target="_blank">https://listman.redhat.com/mailman/listinfo/pulp-list</a></blockquote></div>