Changes
Jump to navigation
Jump to search
← Older edit
Linux: gpg
(view source)
Revision as of 15:16, 19 December 2019
147 bytes added
,
15:16, 19 December 2019
m
→Decrypt with private key
Line 110:
Line 110:
====Encrypt to multiple recipients====
====Encrypt to multiple recipients====
<nowiki>gpg --recipient 42FF42FF \
<nowiki>gpg --recipient 42FF42FF \
−
--recipient 12345678 \
+
--recipient 12345678 \
−
--recipient FEFEFEFE \
+
--recipient FEFEFEFE \
−
--encrypt-files backup.tar</nowiki>
+
--encrypt-files backup.tar</nowiki>
−
==== Encrypt without recipient key verification prompt ====
+
====Encrypt without recipient key verification prompt====
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
gpg --trust-model always --encrypt --recipient rafael@herrerosolis.com secret_file.txt
gpg --trust-model always --encrypt --recipient rafael@herrerosolis.com secret_file.txt
Line 125:
Line 125:
comando gpg -d <encrypted_file>
comando gpg -d <encrypted_file>
+
=== List keys that can decrypt some file ===
+
<syntaxhighlight lang="bash">
+
gpg --list-only --no-default-keyring file.gpg
+
</syntaxhighlight><br />
===Signing Keys===
===Signing Keys===
[https://www.phildev.net/pgp/gpgsigning.html Sign keys]
[https://www.phildev.net/pgp/gpgsigning.html Sign keys]
Rafahsolis
Bureaucrats
,
Administrators
2,306
edits
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
Special pages
Printable version