We successfully included the library in our tool - JabRef/jabref#10044
I checked the output in Windows 10's Credential Manager:

I wonder about the `|'
Logitech uses / for separation:

Microsoft adds some key-value stuff, but I like the Logitech one better --> is it possible to replace the | with a /?

I would like to have / as separator in Windows, too. Looks nicer 😅.
Code:
|
Boolean success = nativeLibraries.getAdvapi32().CredReadA(service + '|' + account, type, unused, ref); |
Did not submit a PR right away, because I don't know about failing test cases. Wanted to note down the feature wish.
When implementing, the code should have backwards compatibility turned on and at reading, it should check first for /, then for |.
We successfully included the library in our tool - JabRef/jabref#10044
I checked the output in Windows 10's Credential Manager:
I wonder about the `|'
Logitech uses
/for separation:Microsoft adds some key-value stuff, but I like the Logitech one better --> is it possible to replace the
|with a/?I would like to have
/as separator in Windows, too. Looks nicer 😅.Code:
java-keyring/java-keyring/src/main/java/com/github/javakeyring/internal/windows/WinCredentialStoreBackend.java
Line 59 in 77358e9
Did not submit a PR right away, because I don't know about failing test cases. Wanted to note down the feature wish.
When implementing, the code should have backwards compatibility turned on and at reading, it should check first for /, then for |.