Skip to main content
Homepage
Explore
Search or go to…
/
Sign in
Explore
Primary navigation
Project
P
pokus-debian
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Collapse sidebar
Snippets
Groups
Projects
Show more breadcrumbs
Pavel Vondruška
pokus-debian
Commits
c8ca0cf7
Commit
c8ca0cf7
authored
Sep 19, 2022
by
Pavel Vondruska
Browse files
Options
Downloads
Patches
Plain Diff
at tam mam i gpg
parent
55e923b0
No related branches found
No related tags found
No related merge requests found
Pipeline
#2230
passed
Sep 19, 2022
Status:
Stage: test
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitignore
+0
-1
0 additions, 1 deletion
.gitignore
create_gpg.sh
+21
-0
21 additions, 0 deletions
create_gpg.sh
with
21 additions
and
1 deletion
.gitignore
+
0
−
1
View file @
c8ca0cf7
...
@@ -3,4 +3,3 @@ openpgp-revocs.d
...
@@ -3,4 +3,3 @@ openpgp-revocs.d
pubring.kbx
pubring.kbx
pubring.kbx~
pubring.kbx~
trustdb.gpg
trustdb.gpg
create_gpg.sh
This diff is collapsed.
Click to expand it.
create_gpg.sh
0 → 100755
+
21
−
0
View file @
c8ca0cf7
#!/bin/bash
[
-z
"
$1
"
]
&&
exit
0
PASS
=
$1
NAME
=
$(
basename
"
$PWD
"
)
export
GNUPGHOME
=
$PWD
mkdir
-p
private-keys-v1.d
gpg
--list-key
gpg
--yes
--pinentry-mode
=
loopback
--passphrase
"
$PASS
"
--quick-gen-key
"
$NAME
"
gpg
--pinentry-mode
=
loopback
--passphrase
"
$PASS
"
--armor
--export-secret-keys
"
$NAME
"
>
pgp-key.private
gpg
--armor
--export
"
$NAME
"
>
pgp-key.public
echo
"private-keys-v1.d
openpgp-revocs.d
pubring.kbx
pubring.kbx~
trustdb.gpg"
>
.gitignore
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment