-
-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
device identity #614
Open
piotrbartman
wants to merge
69
commits into
QubesOS:main
Choose a base branch
from
piotrbartman:qdev
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+2,970
−1,501
Open
device identity #614
Changes from 63 commits
Commits
Show all changes
69 commits
Select commit
Hold shift + click to select a range
458c1c1
q-dev: port
piotrbartman 58ae845
q-dev: attachment confirmation PoC
piotrbartman 0005d08
q-dev: port
piotrbartman 167ec8d
q-dev: comparison
piotrbartman 1d0b2ad
q-dev: assignment
piotrbartman bfbe0b9
q-dev: ask-to-attach is attach_automatically
piotrbartman a5a7fdb
q-dev: add device_identity to device assignment
piotrbartman d7302f3
q-dev: check identity
piotrbartman e481e22
q-dev: implementation of attachment confirmation
piotrbartman 9d82600
q-dev: auto-attach only required block devices before vm start
piotrbartman 5ea5fc6
q-dev: fix attribute name
piotrbartman 6b031a0
q-dev: backward compatible device_protocol
piotrbartman 9053c70
q-dev: add self_identity do device identity
piotrbartman ba2100e
q-dev: refactor device_protocol.py
piotrbartman fd6e4a8
q-dev: fix events
piotrbartman 6dd8f56
q-dev: unify protocol
piotrbartman 1302bf9
q-dev: fix test
piotrbartman 1b2934c
q-dev: virtual device
piotrbartman c93f8c3
q-dev: device -> devices
piotrbartman efb572e
q-dev: matches
piotrbartman e09010e
q-dev: backend_name
piotrbartman 93713ed
q-dev: device_protocol
piotrbartman af77f91
q-dev: cleanup
piotrbartman 1d26a0e
q-dev: fixes
piotrbartman c2aac2d
q-dev: deny list
piotrbartman 2514885
q-dev: assignment.device
piotrbartman 9f19108
q-dev: error handling
piotrbartman 56559c0
q-dev: add tests
piotrbartman 64e7669
q-dev: fix block auto-attach
piotrbartman 4aac101
q-dev: add block devices tests
piotrbartman c7d244a
q-dev: update device_protocol.py
piotrbartman e73d56d
q-dev: fix tests and make linter happy
piotrbartman b8bee03
q-dev: update pci tests and cleanup
piotrbartman d62624f
q-dev: update qubes.rng and fix tests
piotrbartman 63489c1
q-dev: Set.required -> Set.assignment
piotrbartman 97084d6
q-dev: deny list drop ins and comments
piotrbartman 4dbf597
q-dev: do not include port id in device identity
piotrbartman c91295e
q-dev: add error message
piotrbartman 1999c2f
q-dev: do not load device if device_id does not match
piotrbartman d76b318
q-dev: do not attach unknown device
piotrbartman daaf839
q-dev: better error message
piotrbartman 1db8f8f
q-dev: remove redundant list
piotrbartman 1267f3f
q-dev: async confirmation
piotrbartman 89925b0
q-dev: sanitize confirmation output
piotrbartman a851333
q-dev: fire pre-event for assignment
piotrbartman 53b6bd9
q-dev: fix detaching required devices
piotrbartman cc65d08
q-dev: remove unused import
piotrbartman be25600
q-dev: update device_protocol.py
piotrbartman 4539f63
q-dev: update device tests
piotrbartman 2b6dfb8
q-dev: update admin api device tests
piotrbartman 4ff7ae3
q-dev: add encoding type
piotrbartman fd6bd27
q-dev: minor device_protocol fixes
piotrbartman e6b70ef
q-dev: introduce AnyPort
piotrbartman 1109708
q-dev: devices improvements
piotrbartman a3b781c
q-dev: add short way to create DeviceAssignment
piotrbartman 1cd1c88
q-dev: rename attach-confirm -> qubes-device-attach-confirm
piotrbartman 9bdeb52
q-dev: keep consistency in fire_event_for_permission
piotrbartman bee1797
q-dev: fix conflicted attachments
piotrbartman 6dec58d
q-dev: wait for attaching devices during startup and update tests
piotrbartman 5d49926
q-dev: pylint + black
piotrbartman 79001ff
q-dev: fix deny list
piotrbartman 5b38d7f
q-dev: call attach-confirm socket directly
piotrbartman 4a16de5
q-dev: fix block device removing
piotrbartman ca949bb
q-dev: fix type hint
piotrbartman 600209d
q-dev: update docs
piotrbartman 73ea327
q-dev: less scary device category names
piotrbartman 9a77764
q-dev: fix assignment.devices
piotrbartman 08b899c
q-dev: pylint
piotrbartman 727133f
q-dev: update tests and make pylint happy
piotrbartman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There should be also Admin API methods for reading/writing deny list. If nothing more fancy, then at least similar to qrexec policy ones that:
If you prefer to add it in a separate PR, convert this note to an issue.