Skip to content

Use / instead of | as separation char #88

@koppor

Description

@koppor

We successfully included the library in our tool - JabRef/jabref#10044

I checked the output in Windows 10's Credential Manager:

image

I wonder about the `|'

Logitech uses / for separation:

image

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

image

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 |.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions