java-native-access / java-native-access/jna
Add support for credentials reading in advapi32
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 8.9k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
It seems advapi32.dll includes methods for accessing credentials (CredEnumerateW, CredFree etc).
I haven't seen them in Advapi32 on JNA, and would like them to be added.
My main goal is to allow using git credential stores on jgitflow-maven-plugin and JGit. I've seen the git source code also uses advapi (https://github.com/git/git/blob/master/contrib/credential/wincred/git-credential-wincred.c) so JNA seemed like the right choice.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the requested CredEnumerateW and CredFree entry points and compare their use in Git's contrib/credential/wincred/git-credential-wincred.c with JNA's existing Advapi32 declarations. Done means the Windows credential APIs needed by JGit and jgitflow-maven-plugin are exposed through JNA and covered by appropriate validation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100