Skip to content

desktop.exe credential store is not supported in WSL #696

@JeyJeyGao

Description

@JeyJeyGao

What is the areas you experience the issue in?

Notation CLI

What is not working as expected?

Docker Desktop was installed on Windows, but I cannot login by notation login command
image

What did you expect to happen?

I should login with notation login command successfully because I have installed the Docker Desktop with desktop.exe credential store.

Here is my docker config:

{
        "auths": {
        },
        "credsStore": "desktop.exe"
}

Here is the files under notation config directory:

$ ~/.config/notation

total 28K
drwx------ 2 jj jj 4.0K Mar 13 16:34 localkeys
-rw-r--r-- 1 jj jj  253 Jan 11 15:10 pluginkeys.json
drwxr-xr-x 5 jj jj 4.0K May 29 16:56 plugins
-rw------- 1 jj jj  440 May 26 13:43 signingkeys.json
-rw-r--r-- 1 jj jj  360 Dec 28 17:28 trustpolicy.json
drwx------ 3 jj jj 4.0K Mar 13 16:34 truststore

How can we reproduce it?

  1. Install Docker Desktop on Windows
  2. run notation login in WSL

Describe your environment

Windows 11 with WSL2 Ubuntu 22.04

What is the version of your Notation CLI or Notation Library?

Notation v1.0.0-rc.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageNeed to triage

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions