core-admin/qubes/api
Marek Marczykowski-Górecki 64b83fa95a
admin: raise QubesNoSuchPropertyError for non-existing properties
Accessing non-existing property is a common action (for example
hasattr() do try to access the property). So, introduce specific
exception, inheriting from AttributeError. It will behave very similar
to standard (non-Admin-API) property access.

This exception is reported to the Admin API user, so it will be possible
to distinguish between non-existing property and access denied. But it
isn't any significant information leak, as list of valid properties is
publicly available in the source code.

QubesOS/qubes-issues#853
2017-05-23 04:32:59 +02:00
..
__init__.py Rename MgmtAPI to AdminAPI - part 1: classes 2017-05-12 19:28:07 +02:00
admin.py admin: raise QubesNoSuchPropertyError for non-existing properties 2017-05-23 04:32:59 +02:00
internal.py api/internal: don't try to start dom0 2017-05-17 14:24:59 +02:00