gitlab에서 호스팅되는 oss pom 기반 Java 프로젝트가 있습니다 (JBus). gitlab-ci-runner를 통해 중앙 메이븐 저장소에 자동 배포를 설정하려고합니다.maven 배포 중 자동화 된 GnuPG 키 생성시 비밀 키가 출력되지 않음
현재 내가 직면 한 한 가지 문제는 gitlab ci 서버에서 자동화 된 gpg 키 생성입니다. 나는 아래 비밀 열쇠 고리 어떤 foo.sec
파일을 생성하지 않습니다
$cat >foo <<EOF
%echo Generating a basic OpenPGP key
Key-Type: DSA
Key-Length: 1024
Subkey-Type: ELG-E
Subkey-Length: 1024
Name-Real: Anindya Chatterjee
Name-Comment: with stupid passphrase
Name-Email: anidotnet- at -gmail.com
Expire-Date: 0
Passphrase: abc
%pubring foo.pub
%secring foo.sec
# Do a commit here, so that we can later print "done" :-)
%commit
%echo done
EOF
$gpg2 --verbose --batch --gen-key foo
단계하지만 것보다 따랐다.
예제 검색과 관련하여 두 번째 질문을 삭제했습니다. Stack Exchange에서는 질문/스레드 당 여러 가지 관련 질문이 거의하지 않으므로 불분명합니다. 당신은 어떤 종류의 예입니까? –
GnuPG 문서 [지금 확장되었습니다] (https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commitdiff;h=ca02a8b78fca8815388a859962584d75169ae3ee). –