Closed Bug 1478668 Opened 6 years ago Closed 6 years ago

Implement OS key-store adapter for Windows

Categories

(Core :: Security: PSM, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: franziskus, Assigned: franziskus)

References

(Blocks 1 open bug)

Details

(Whiteboard: [psm-assigned])

Attachments

(1 file)

Implement an adapter to store in and retrieve secrets from the Windows Credentials Manager.
Assignee: nobody → franziskuskiefer
OS key-store adapter for Windows Credential Manager. It looks like Windows doesn't allow locking the credential manager without locking the desktop. So `lock` and `unlock` are no-ops here. Depends on D2487.
Comment on attachment 8996238 [details] Bug 1478668 - windows key store adapter, r?keeler [:keeler] (use needinfo) has approved the revision. https://phabricator.services.mozilla.com/D2550
Attachment #8996238 - Flags: review+
Priority: -- → P1
Whiteboard: [psm-assigned]
Well, if phab only had a try...
Flags: needinfo?(franziskuskiefer)
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
The error handling in StoreSecret and DeleteSecret is missing a return.
(In reply to Tom Schuster [:evilpie] from comment #8) > The error handling in StoreSecret and DeleteSecret is missing a return. Franziskus - r=me if you want to push a follow-up with those fixed (I'm surprised the compiler didn't warn/treat the warning as an error about this...)
Flags: needinfo?(franziskuskiefer)
yeah.. I'm not sure how that slipped through. I'll push a follow-up. Thanks Tom for reporting.
Flags: needinfo?(franziskuskiefer)
This reduce some of the compiler warnings from Windows: == Change summary for alert #14783 (as of Tue, 07 Aug 2018 05:18:00 GMT) == Improvements: 0% compiler warnings windows2012-32 debug static-analysis 920.00 -> 918.00 0% compiler warnings windows2012-32 opt static-analysis 926.00 -> 924.00 0% compiler warnings windows2012-64 asan debug 918.00 -> 916.00 0% compiler warnings windows2012-64 asan opt 927.00 -> 925.00 0% compiler warnings windows2012-32 opt rusttests 917.00 -> 915.00 0% compiler warnings windows2012-32-noopt debug 909.00 -> 907.00 0% compiler warnings windows2012-32 pgo 917.00 -> 915.00 0% compiler warnings windows2012-32 debug 909.00 -> 907.00 0% compiler warnings windows2012-32 opt 917.00 -> 915.00 0% compiler warnings windows2012-64 debug static-analysis 947.00 -> 945.00 0% compiler warnings windows2012-64 opt static-analysis 953.00 -> 951.00 0% compiler warnings windows2012-64 opt plain 953.00 -> 951.00 0% compiler warnings windows2012-64 debug plain 943.00 -> 941.00 0% compiler warnings windows2012-64 opt rusttests 953.00 -> 951.00 0% compiler warnings windows2012-64 pgo 953.00 -> 951.00 0% compiler warnings windows2012-64 opt 953.00 -> 951.00 0% compiler warnings windows2012-64 debug 945.00 -> 943.00 For up to date results, see: https://treeherder.mozilla.org/perf.html#/alerts?id=14783
(In reply to [:keeler] (use needinfo) from comment #9) > (I'm surprised the compiler didn't warn/treat the warning as an error about this...) clang-cl did warn, but -Werror for clang-cl is disabled on a large number of directories, including security/manager/ssl/, because we're not warning-clean with that compiler yet. (We do have -Werror on the MSVC builds, but I guess MSVC doesn't warn about this particular code pattern.) If you'd like to help get -Werror re-enabled for your modules faster, any assistance on bug 1481511 would be appreciated!
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: