mirror of
https://github.com/docker/docker-credential-helpers.git
synced 2026-06-14 00:11:28 +05:30
9ec715d8ed
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
17 lines
315 B
Bash
17 lines
315 B
Bash
#!/usr/bin/env sh
|
|
set -ex
|
|
|
|
gpg --batch --gen-key <<-EOF
|
|
%echo Generating a standard key
|
|
Key-Type: DSA
|
|
Key-Length: 1024
|
|
Subkey-Type: ELG-E
|
|
Subkey-Length: 1024
|
|
Name-Real: Meshuggah Rocks
|
|
Name-Email: meshuggah@example.com
|
|
Expire-Date: 0
|
|
# Do a commit here, so that we can later print "done" :-)
|
|
%commit
|
|
%echo done
|
|
EOF
|