Repository navigation
Add basecamp connect setup: record trust, write connect.json, check readiness #731
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
Merged
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
11729c1
Add basecamp connect setup: connect the agent, record trust, write co…
jorgemanrubia 816bb5a
Verify the operator before writing, check the whole path, fail when n…
jorgemanrubia 877379d
Keep a recorded operator the agent cannot re-read; say how to fix a r…
jorgemanrubia c28506c
Say plainly what guards the Windows open; fix a test comment
jorgemanrubia b960a32
One trust check, one report, strict parsing, fail closed off Unix
jorgemanrubia cc8e671
Refuse non-canonical keys in connect.json; tag the Unix-only tests
jorgemanrubia a27600d
Make setup transactional, classify scope once, format read errors once
jorgemanrubia b9390b4
Undo only an unproven credential step, and only what it did; mint thr…
jorgemanrubia cf9bb9f
Split out the credential step: setup runs on a connected profile
jorgemanrubia cc284d9
Check every route's directory, bound the ticket lifetime, describe wh…
jorgemanrubia f95eac8
Check one credential snapshot; bound the ticket lifetime in whole sec…
jorgemanrubia c7fcf39
Bind connect.json to the credential's identity, and write it under th…
jorgemanrubia b5c7c35
Settle precedence, report contention as busy, and make every conflict…
jorgemanrubia f6ac37f
Refuse to write when the credential cannot be locked, and prove the l…
jorgemanrubia 9660119
Make the lock proof unforgeable, and classify every acquisition once
jorgemanrubia 59e4f39
Read the lock proof through auth, so an embedded wrapper cannot fake it
jorgemanrubia f1040d5
Make the lock proof opaque: auth.Held is the only way to read one
jorgemanrubia db18519
Classify every lock refusal, pin the recorded identity, and name the …
jorgemanrubia b526e73
Harden the required lock's own path, and keep cancellation an interru…
jorgemanrubia 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| //go:build !unix | ||
|
|
||
| package auth | ||
|
|
||
| // Without Unix ownership and modes there is nothing to check here: a | ||
| // required lock rests on the platform's own access control for the user's | ||
| // configuration directory. | ||
| func requirePrivateLockPath(string, string) error { return nil } |
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.