add-credentials fails
Open
Nobody has claimed this yet.
up-for-grabs
- Dominant language
- F#
- Stars
- 2.1k
- Forks
- 528
- Avg merge
- 1d 12m
- Merged PRs (30d)
- 54
Description
Description
$ .paket/paket config add-credentials https://nuget.pkg.github.com/haf/index.json
Paket version 5.241.5
Username: haf
Password: ****************************************
Authentication type (basic|ntlm, default = basic): basic
Performance:
- Runtime: 3 seconds
Paket failed with
-> PlatformNotSupportedException: Windows Data Protection API (DPAPI) is not supported on this platform.
Repro steps
See above
- macOS
- .net core version of paket
- .net core 3.0 and 3.1 SDK variant
Expected behavior
Not use NTLM code
Actual behavior
Uses NTLM code
Known workarounds
None
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 at the paket config add-credentials command and reproduce the failure on macOS with the .NET Core 3.0 or 3.1 SDK variant. Trace why the command reaches the Windows DPAPI/NTLM path; done means credentials can be added without the PlatformNotSupportedException and the reported command succeeds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fsharp, macos
- Domain
- authentication, cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100