Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Continuous integration scripts
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Chakra
Continuous integration scripts
Commits
cc43db3b
Commit
cc43db3b
authored
Jul 30, 2020
by
Chaoting Liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
revert use gnupghome var
parent
d79ff010
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
prepare_keys.sh
prepare_keys.sh
+2
-2
No files found.
prepare_keys.sh
View file @
cc43db3b
...
...
@@ -25,11 +25,11 @@ _do ssh-add ~/.ssh/id_rsa
# GPG setup
_log
command
"GPG setup"
# Configure gpg.conf
_do
install
-dm700
$GNUPGHOME
/.gnupg
_do
install
-dm700
~
/.gnupg
echo
"
\n
keyserver-options auto-key-retrieve
auto-key-locate local,wkd
pinentry-mode loopback
passphrase
$GPG_PASSWORD
"
>>
$GNUPGHOME
/gpg.conf
passphrase
$GPG_PASSWORD
"
>>
~/.gnupg
/gpg.conf
_do gpg
-v
--batch
--import
<
(
echo
"
$GPG_PRIVATE_KEY
"
)
# Configure gpg-agent.conf
_do
echo
"allow-loopback-pinentry"
>
~/.gnupg/gpg-agent.conf
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment