[codex] Document undocumented Passport properties#157
Draft
SirAndrosBot wants to merge 1 commit into
Draft
Conversation
|
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.



What changed
NgcCacheTypeand falls back toNgcCacheTypeProperty...._DEPRECATEDconstant to..._FALLBACK; the repository only proves fallback order, not official deprecation.Why
Issue #112 asks where
NgcCacheTypecame from and whether its use is based on public documentation, binary inspection, experimentation, private Microsoft guidance, or direct contact.Repository history can establish when the names entered the project but not how they were discovered:
dd0022ddintroducedNgcCacheTypeduring the persistent-key implementation;e4630992addedNgcCacheTypePropertyas the second spelling tried when the first operation fails;Microsoft documents that NCrypt providers may accept custom property identifiers, but these two identifiers do not appear in Microsoft's public property-identifier documentation. The project therefore cannot honestly claim official support, official deprecation, or known Windows-version compatibility. Preserving that uncertainty in the repository is safer for maintainers and downstream implementers than leaving the source looking like a documented API example.
Behavior and compatibility
Runtime behavior is unchanged. The provider still tries
NgcCacheTypefirst andNgcCacheTypePropertyonly if the first get/set operation throws. The code remains C# 5 and .NET Framework 4.0 compatible.Review
An independent review caught two overstatements in the initial patch:
The final wording now says only what the public documentation, source, and history establish. The follow-up review found no remaining actionable issues.
Validation
src/KeePassWinHello.csprojFrameworkPathOverride=C:\Windows\Microsoft.NET\Framework\v4.0.30319ReferencePath=C:\proj\KeePassWinHello\libgit diff --checkNo Windows Hello or Credential Manager keys were created, deleted, or changed during validation.
Closes #112