fsprojects / fsprojects/Paket

Automatic migration of NuGet.config credentials doesn't work

Open
#2,542 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug credentials nuget-convert paket runtime: .net framework/mono
Dominant language
F#
Stars
2.1k
Forks
528
Avg merge
1d 12m
Merged PRs (30d)
54

Description

Description

Automatic migration of NuGet.config credentials doesn't work. I've tried with credentials stored in the Nuget.config file both encrypted and in plaintext.

Repro steps
  1. Have an authenticated source setup in your nuget.config e.g. Artifactory
  2. Run paket.exe convert-from-nuget
Expected behavior

The current credentials in the NuGet.config are migrated to the paket.dependencies file.

Actual behavior

No credentials are added and when the paket install is run authentication fails.

Known workarounds

Run the conversion and then manually update the paket.dependencies file adding the credentials

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the paket.exe convert-from-nuget entry point and trace how authenticated sources from nuget.config are handled when generating paket.dependencies. Verify the encrypted and plaintext credential cases from the reproduction steps, and confirm that paket install authenticates successfully after conversion.

Written by the indexing model from the issue text.

Assessment

Domain
authentication, cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.