Conversation
8f382cf to
a2274ea
Compare
b87a883 to
b14690c
Compare
de2196f to
42efb5f
Compare
espadolini
reviewed
Oct 17, 2024
espadolini
left a comment
There was a problem hiding this comment.
I don't have nearly enough context to understand the business logic parts of this, fwiw.
| return Err(Error::RdpError(RdpError::new( | ||
| RdpErrorKind::InvalidData, | ||
| "SEC: Invalid Licence packet", | ||
| format!("SEC: Invalid Licence packet (flag={:x})", security_flag).as_str(), |
There was a problem hiding this comment.
Suggested change
| format!("SEC: Invalid Licence packet (flag={:x})", security_flag).as_str(), | |
| &format!("SEC: Invalid Licence packet (flag={security_flag:x})"), |
probakowski
approved these changes
Oct 18, 2024
42efb5f to
06379dd
Compare
Fixes several bugs with the new license flow and allows us to successfully obtain a license. Additionally, use a client-provided UUID to identify the client instead of using the Windows domain (which isn't unique per-agent).
bf453b1 to
d5e7bd2
Compare
espadolini
approved these changes
Oct 24, 2024
espadolini
left a comment
There was a problem hiding this comment.
Should we be concerned with the API breakage? Or is this intended for our private fork?
Author
I'm not concerned. Teleport's branch/v14 is the only consumer of this repo, and we always pin to a specific commit. |
3af3971 to
5da79d0
Compare
5da79d0 to
6c14d00
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fixes several bugs with the new license flow and allows us to successfully obtain a license. The next step will be to add hooks to save this license so that we can reuse it for the upgrade license flow on subsequent attempts.
Additionally, uses a client-provided UUID to identify itself to the RDP server for licensing purposes (we were previously using the Windows domain, which would cause all Teleport RDP clients to appear identical to the server).