<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://lms.onnocenter.or.id/wiki/index.php?action=history&amp;feed=atom&amp;title=GnuPG%3A_Making_and_verifying_signatures</id>
	<title>GnuPG: Making and verifying signatures - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://lms.onnocenter.or.id/wiki/index.php?action=history&amp;feed=atom&amp;title=GnuPG%3A_Making_and_verifying_signatures"/>
	<link rel="alternate" type="text/html" href="https://lms.onnocenter.or.id/wiki/index.php?title=GnuPG:_Making_and_verifying_signatures&amp;action=history"/>
	<updated>2026-04-20T08:07:59Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://lms.onnocenter.or.id/wiki/index.php?title=GnuPG:_Making_and_verifying_signatures&amp;diff=66208&amp;oldid=prev</id>
		<title>Unknown user at 22:26, 25 October 2022</title>
		<link rel="alternate" type="text/html" href="https://lms.onnocenter.or.id/wiki/index.php?title=GnuPG:_Making_and_verifying_signatures&amp;diff=66208&amp;oldid=prev"/>
		<updated>2022-10-25T22:26:32Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:26, 25 October 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Sumber: https://www.gnupg.org/gph/en/manual/x135.html&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Sumber: https://www.gnupg.org/gph/en/manual/x135.html&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;A digital signature certifies and timestamps a document. If the document is subsequently modified in any way, a verification of the signature will fail. A digital signature can serve the same purpose as a hand-written signature with the additional benefit of being tamper-resistant. The GnuPG source distribution, for example, is signed so that users can verify that the source code has not been modified since it was packaged.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Creating and verifying signatures uses the public&lt;/del&gt;/private &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;keypair in an operation different from encryption and decryption&lt;/del&gt;. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;A &lt;/del&gt;signature &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;is created using the &lt;/del&gt;private &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;key of the signer&lt;/del&gt;. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The signature is verified using the corresponding public key&lt;/del&gt;. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;For example&lt;/del&gt;, Alice &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;would use her own &lt;/del&gt;private &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;key to digitally sign her latest submission to the &lt;/del&gt;Journal of &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Inorganic &lt;/del&gt;Chemistry. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The associate &lt;/del&gt;editor &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;handling her submission would use &lt;/del&gt;Alice&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;s public key to check the signature to verify that the submission indeed came from &lt;/del&gt;Alice &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;and that it had not been modified since &lt;/del&gt;Alice &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;sent it&lt;/del&gt;. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;A consequence of using &lt;/del&gt;digital &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;signatures is that it is difficult to deny that you made a &lt;/del&gt;digital signature &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;since that would imply your &lt;/del&gt;private &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;key had been compromised&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Digital signature mensertifikasi dan memberi timestamp pada dokumen. Jika dokumen kemudian dimodifikasi dengan cara apa pun, verifikasi tanda tangan akan gagal. Tanda tangan digital dapat memiliki tujuan yang sama dengan tanda tangan tulisan tangan dengan manfaat tambahan karena tahan terhadap kerusakan. Distribusi GnuPG source, misalnya, ditandatangani sehingga pengguna dapat memverifikasi bahwa source code belum dimodifikasi sejak di-packaged.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Membuat dan memverifikasi digital signature menggunakan pasangan kunci publik&lt;/ins&gt;/private &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;dalam operasi yang berbeda dari enkripsi dan dekripsi&lt;/ins&gt;. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Digital &lt;/ins&gt;signature &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;dibuat menggunakan kunci &lt;/ins&gt;private &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;penandatangan&lt;/ins&gt;. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Tanda tangan diverifikasi menggunakan kunci publik yang sesuai&lt;/ins&gt;. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Misalnya&lt;/ins&gt;, Alice &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;akan menggunakan kunci &lt;/ins&gt;private&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-nya sendiri untuk menandatangani kiriman terbarunya secara digital ke &lt;/ins&gt;Journal of &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Anorganic &lt;/ins&gt;Chemistry. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Associate &lt;/ins&gt;editor &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;yang menangani kirimannya akan menggunakan kunci publik &lt;/ins&gt;Alice &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;untuk memeriksa tanda tangan untuk memverifikasi bahwa kiriman memang berasal dari &lt;/ins&gt;Alice &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;dan belum dimodifikasi sejak &lt;/ins&gt;Alice &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;mengirimkannya&lt;/ins&gt;. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Konsekuensi dari penggunaan tanda tangan &lt;/ins&gt;digital &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;adalah sulit untuk menyangkal bahwa kita telah membuat &lt;/ins&gt;digital signature &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;karena jika penyangkalan tersebut terjadi akan menyiratkan bahwa kunci &lt;/ins&gt;private &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;kita telah disusupi&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The command-line option --sign is used to make a digital signature. The document to sign is input, and the signed document is output.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The command-line option --sign is used to make a digital signature. The document to sign is input, and the signed document is output.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l48&quot;&gt;Line 48:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 50:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A signed document has limited usefulness. Other users must recover the original document from the signed version, and even with clearsigned documents, the signed document must be edited to recover the original. Therefore, there is a third method for signing a document that creates a detached signature. A detached signature is created using the --detach-sig option.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A signed document has limited usefulness. Other users must recover the original document from the signed version, and even with clearsigned documents, the signed document must be edited to recover the original. Therefore, there is a third method for signing a document that creates a detached signature. A detached signature is created using the --detach-sig option.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Dokumen yang ditandatangani memiliki kegunaan yang terbatas. Pengguna lain harus memulihkan dokumen asli dari versi yang ditandatangani, dan bahkan dengan dokumen yang ditandatangani, dokumen yang ditandatangani harus diedit untuk memulihkan aslinya. Oleh karena itu, ada metode ketiga untuk menandatangani dokumen yang membuat tanda tangan terpisah. Tanda tangan terpisah dibuat menggunakan opsi --detach-sig.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  alice% gpg --output doc.sig --detach-sig doc&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  alice% gpg --output doc.sig --detach-sig doc&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Unknown user</name></author>
	</entry>
	<entry>
		<id>https://lms.onnocenter.or.id/wiki/index.php?title=GnuPG:_Making_and_verifying_signatures&amp;diff=66207&amp;oldid=prev</id>
		<title>Unknown user: Created page with &quot;Sumber: https://www.gnupg.org/gph/en/manual/x135.html  A digital signature certifies and timestamps a document. If the document is subsequently modified in any way, a verifica...&quot;</title>
		<link rel="alternate" type="text/html" href="https://lms.onnocenter.or.id/wiki/index.php?title=GnuPG:_Making_and_verifying_signatures&amp;diff=66207&amp;oldid=prev"/>
		<updated>2022-10-25T22:20:40Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Sumber: https://www.gnupg.org/gph/en/manual/x135.html  A digital signature certifies and timestamps a document. If the document is subsequently modified in any way, a verifica...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Sumber: https://www.gnupg.org/gph/en/manual/x135.html&lt;br /&gt;
&lt;br /&gt;
A digital signature certifies and timestamps a document. If the document is subsequently modified in any way, a verification of the signature will fail. A digital signature can serve the same purpose as a hand-written signature with the additional benefit of being tamper-resistant. The GnuPG source distribution, for example, is signed so that users can verify that the source code has not been modified since it was packaged.&lt;br /&gt;
&lt;br /&gt;
Creating and verifying signatures uses the public/private keypair in an operation different from encryption and decryption. A signature is created using the private key of the signer. The signature is verified using the corresponding public key. For example, Alice would use her own private key to digitally sign her latest submission to the Journal of Inorganic Chemistry. The associate editor handling her submission would use Alice&amp;#039;s public key to check the signature to verify that the submission indeed came from Alice and that it had not been modified since Alice sent it. A consequence of using digital signatures is that it is difficult to deny that you made a digital signature since that would imply your private key had been compromised.&lt;br /&gt;
&lt;br /&gt;
The command-line option --sign is used to make a digital signature. The document to sign is input, and the signed document is output.&lt;br /&gt;
&lt;br /&gt;
 alice% gpg --output doc.sig --sign doc&lt;br /&gt;
&lt;br /&gt;
 You need a passphrase to unlock the private key for&lt;br /&gt;
 user: &amp;quot;Alice (Judge) &amp;lt;alice@cyb.org&amp;gt;&amp;quot;&lt;br /&gt;
 1024-bit DSA key, ID BB7576AC, created 1999-06-04&lt;br /&gt;
&lt;br /&gt;
 Enter passphrase: &lt;br /&gt;
&lt;br /&gt;
The document is compressed before signed, and the output is in binary format.&lt;br /&gt;
Given a signed document, you can either check the signature or check the signature and recover the original document. To check the signature use the --verify option. To verify the signature and extract the document use the --decrypt option. The signed document to verify and recover is input and the recovered document is output.&lt;br /&gt;
&lt;br /&gt;
 blake% gpg --output doc --decrypt doc.sig&lt;br /&gt;
 gpg: Signature made Fri Jun  4 12:02:38 1999 CDT using DSA key ID BB7576AC&lt;br /&gt;
 gpg: Good signature from &amp;quot;Alice (Judge) &amp;lt;alice@cyb.org&amp;gt;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==Clearsigned documents==&lt;br /&gt;
&lt;br /&gt;
A common use of digital signatures is to sign usenet postings or email messages. In such situations it is undesirable to compress the document while signing it. The option --clearsign causes the document to be wrapped in an ASCII-armored signature but otherwise does not modify the document.&lt;br /&gt;
&lt;br /&gt;
 alice% gpg --clearsign doc&lt;br /&gt;
&lt;br /&gt;
 You need a passphrase to unlock the secret key for&lt;br /&gt;
 user: &amp;quot;Alice (Judge) &amp;lt;alice@cyb.org&amp;gt;&amp;quot;&lt;br /&gt;
 1024-bit DSA key, ID BB7576AC, created 1999-06-04&lt;br /&gt;
 &lt;br /&gt;
 -----BEGIN PGP SIGNED MESSAGE-----&lt;br /&gt;
 Hash: SHA1&lt;br /&gt;
 &lt;br /&gt;
 [...]&lt;br /&gt;
 -----BEGIN PGP SIGNATURE-----&lt;br /&gt;
 Version: GnuPG v0.9.7 (GNU/Linux)&lt;br /&gt;
 Comment: For info see http://www.gnupg.org&lt;br /&gt;
 &lt;br /&gt;
 iEYEARECAAYFAjdYCQoACgkQJ9S6ULt1dqz6IwCfQ7wP6i/i8HhbcOSKF4ELyQB1&lt;br /&gt;
 oCoAoOuqpRqEzr4kOkQqHRLE/b8/Rw2k&lt;br /&gt;
 =y6kj&lt;br /&gt;
 -----END PGP SIGNATURE-----&lt;br /&gt;
&lt;br /&gt;
==Detached signatures==&lt;br /&gt;
&lt;br /&gt;
A signed document has limited usefulness. Other users must recover the original document from the signed version, and even with clearsigned documents, the signed document must be edited to recover the original. Therefore, there is a third method for signing a document that creates a detached signature. A detached signature is created using the --detach-sig option.&lt;br /&gt;
&lt;br /&gt;
 alice% gpg --output doc.sig --detach-sig doc&lt;br /&gt;
&lt;br /&gt;
 You need a passphrase to unlock the secret key for&lt;br /&gt;
 user: &amp;quot;Alice (Judge) &amp;lt;alice@cyb.org&amp;gt;&amp;quot;&lt;br /&gt;
 1024-bit DSA key, ID BB7576AC, created 1999-06-04&lt;br /&gt;
 &lt;br /&gt;
 Enter passphrase: &lt;br /&gt;
&lt;br /&gt;
Both the document and detached signature are needed to verify the signature. The --verify option can be to check the signature.&lt;br /&gt;
&lt;br /&gt;
 blake% gpg --verify doc.sig doc&lt;br /&gt;
 gpg: Signature made Fri Jun  4 12:38:46 1999 CDT using DSA key ID BB7576AC&lt;br /&gt;
 gpg: Good signature from &amp;quot;Alice (Judge) &amp;lt;alice@cyb.org&amp;gt;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Referensi==&lt;br /&gt;
&lt;br /&gt;
* https://www.gnupg.org/gph/en/manual/x135.html&lt;/div&gt;</summary>
		<author><name>Unknown user</name></author>
	</entry>
</feed>