Docker Community Forums

Share and learn in the Docker community.

Cannot generate key with docker trust

I’m trying to generate trust key, in order to use Content trust for my images.
I used this manual https://docs.docker.com/engine/security/trust/trust_delegation/#using-docker-trust-to-generate-keys
on cmd:
docker trust key generate {new key name}
I’m getting
Generating key for {new key name}...
Enter passphrase for new {new key name} key with ID {id}:

I enters a passphrase (random string) and nothing happens

Expected behavior

after inserting a passphrase and pressing enter,
Repeat passphrase for new {new key name} key with ID {id}:
should appear

Actual behavior

nothing happens

1 Like