{"id":2257,"date":"2023-07-03T04:46:16","date_gmt":"2023-07-03T04:46:16","guid":{"rendered":"https:\/\/signmycode.com\/resources\/?p=2257"},"modified":"2025-02-17T10:57:16","modified_gmt":"2025-02-17T10:57:16","slug":"steps-to-verify-the-digital-signature-of-a-file-in-windows-and-linux","status":"publish","type":"post","link":"https:\/\/signmycode.com\/resources\/steps-to-verify-the-digital-signature-of-a-file-in-windows-and-linux","title":{"rendered":"How to Verify the Digital Signature of a File in Windows and Linux?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Safeguarding your downloaded files and programs is essential to protect against malware and ensure their authenticity. Learn how to verify file signatures to confirm if your files have been compromised since they were signed.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can rely on digital signatures to ensure safety and integrity for software programs and updates. These cryptographic data blocks validate files&#8217; origins, authenticity, and integrity.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This guide will help you verify file signatures in Linux and Windows, empowering you to download software confidently. Let&#8217;s enhance your software downloads.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why Must You Check the File Signatures?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><em><strong>Ransomware attacks targeted 67% of organizations surveyed by Fortinet in 2023, with a disheartening 65% unable to recover their data fully<\/strong>.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Cybercriminals continue to employ cunning methods, exploiting user trust in reputable brands like Microsoft OneNote and Adobe Acrobat Sign. Their deceptive tactics involve sending malicious attachments to trick users into downloading and opening infected files.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Verifying a file&#8217;s digital signature is vital in protecting your devices and organization from the risks associated with downloading compromised code. So, how can you do it? Let&#8217;s break it down.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Verifying Digital Signatures in Linux:<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Don&#8217;t assume Linux is immune to malware infections. <strong>Elastic Security Lab&#8217;s latest report revealed that Linux endpoints were targeted in over <em>54% of malware infections in 2022<\/em><\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once regarded as a safe haven, Linux is now subject to rapidly changing threats. To counter cyber risks, more efforts are needed to verify a file&#8217;s checksum, ensuring file integrity. You should also check its digital signature.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Recommended:<\/strong> <a href=\"https:\/\/signmycode.com\/blog\/examples-of-digital-signatures-certificates-for-organizations\">Examples of Digital Signatures &amp; Certificates for Organizations<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Let&#8217;s consider an example where you want to install software, such as VeraCrypt, a multiplatform, open-source disk encryption tool that isn&#8217;t available in Linux repositories. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">After downloading the Linux package from the official website, you must follow the steps to verify the file&#8217;s digital signature (VeraCrypt employs PGP and X.509 digital signatures).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">While these steps apply to most signed software, some exceptional cases may involve variations. For instance, the public key or the PGP signature file might be stored elsewhere or included in a bundle.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">By adhering to these procedures, you can ensure the integrity and authenticity of the files you download, mitigating the risks of malware and tampering. Stay vigilant against cybercriminals who exploit user trust, and prioritize protecting your data and systems in today&#8217;s ever-evolving digital landscape.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Checking a file&#8217;s digital signature can help safeguard your devices and organization from compromised code. Follow the steps below to verify digital signatures in Windows and Linux environments.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Know if Gnu Privacy Guard (GnuPG or GPG) is already in your Linux:<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Confirm GPG is installed on your system by downloading the publisher&#8217;s public key and importing it into your local keyring, following these steps:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#00b373\" class=\"has-inline-color\">Step 1:<\/mark><\/strong> Open a terminal window by pressing<strong> Ctrl+Alt+T<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#00b373\" class=\"has-inline-color\">Step 2: <\/mark><\/strong>Type the following command and press Enter to check if GnuPG is already installed:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>gpg --version<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If the installed version of GnuPG is displayed, you can proceed to the next step. If you receive an error message such as &#8220;<strong>command not found<\/strong>,&#8221; it means GnuPG is not installed, and you need to install it for further verification.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#00b373\" class=\"has-inline-color\">Step 3:<\/mark><\/strong> <strong>Install GnuPG<\/strong> by running the following commands in the terminal:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt-get update\nsudo apt-get install gnupg<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Enter your system password when prompted, and the installation process will begin. Follow any additional instructions provided by the package manager.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#00b373\" class=\"has-inline-color\">Step 4: <\/mark><\/strong>Once GnuPG is installed, you can download the publisher&#8217;s public key. On the software download page, <strong>locate the publisher&#8217;s public key link<\/strong>. Right-click on the link and select &#8220;<strong>Copy<\/strong>&#8221; to copy the link to your clipboard.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#00b373\" class=\"has-inline-color\">Step 5: <\/mark><\/strong>In the terminal, navigate to the directory where you want to download the public key. Use the &#8220;<strong>cd<\/strong>&#8221; command followed by the path to the desired folder.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#00b373\" class=\"has-inline-color\">Step 6: <\/mark><\/strong>Type the following command in the terminal, replacing &#8220;<strong>link<\/strong>&#8221; with the actual link to the public key you copied:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>wget &#91;link]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Press Enter to execute the command, and the public key file will be downloaded to your current directory.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#00b373\" class=\"has-inline-color\">Step 7: <\/mark><\/strong>To import the public key into your local keyring, navigate to the directory where you downloaded the key using the &#8220;<strong>cd<\/strong>&#8221; command.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#00b373\" class=\"has-inline-color\">Step 8: <\/mark><\/strong>Type the following command in the terminal, replacing &#8220;filename&#8221; with the name of the downloaded public key file:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>gpg --import filename<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Press Enter to import the key into your local keyring.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#00b373\" class=\"has-inline-color\">Step 9: <\/mark><\/strong>Verifying the <strong>downloaded public key&#8217;s fingerprint<\/strong> ensures its authenticity and integrity. Navigate to the directory where you downloaded the key using the <strong>&#8220;cd&#8221; <\/strong>command.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#00b373\" class=\"has-inline-color\">Step 10:<\/mark><\/strong> Type the following command in the terminal to view the fingerprints in your local keyring:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>gpg --fingerprint<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Compare the fingerprint displayed with the one published on the website from which you downloaded the key. Make sure these match to ensure the key&#8217;s authenticity and integrity.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now, continue the steps below to download the Pretty Good Privacy (PGP) signature file and verify the installer&#8217;s signature. Follow these steps:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Steps to Download PGP Signature File and Verify the Installer&#8217;s Signature<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#00b373\" class=\"has-inline-color\">Step 1:<\/mark><\/strong> Locate the <strong>PGP signature file link<\/strong> related to the software you downloaded. Click on it and <strong>save it on your device<\/strong>. In this example, we&#8217;ll assume you&#8217;re downloading the PGP signature file for Ubuntu 20.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#00b373\" class=\"has-inline-color\">Step 2: <\/mark><\/strong>Navigate to the folder where you saved the installer and the PGP signature file. For instance, if you saved them in the Download folder, open a terminal and navigate to that directory using the <strong>&#8220;cd&#8221;<\/strong> command.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#00b373\" class=\"has-inline-color\">Step 3: <\/mark><\/strong>To<strong> verify the signature of the installer<\/strong>, use the following command in the terminal:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>gpg --verify &#91;installer].sig &#91;installer]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>QUICK NOTE:<\/strong> Replace \u2018[installer].sig\u2019 with the filename of the PGP signature file, and replace \u2018[installer]\u2019 with the filename of the installer file.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#00b373\" class=\"has-inline-color\">Step 4: <\/mark><\/strong>If the command output displays &#8220;<strong>Good signature<\/strong>&#8221; the file hasn&#8217;t been modified since it was signed, and you can install it confidently.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#00b373\" class=\"has-inline-color\">Step 5:<\/mark> <\/strong>In some cases, you may see a message like<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&#8220;<strong>WARNING<\/strong>: This key is not certified with a trusted signature! There is no indication that the signature belongs to the owner&#8221; after the &#8220;Good signature&#8221; message.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This informational message indicates that you must still sign Veracrypt&#8217;s key to mark it as trusted. According to Ubuntu.com, this is not a cause for concern. VeraCrypt.eu states that you need to sign the imported key to avoid seeing an error message about the signing key being invalid.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#00b373\" class=\"has-inline-color\">Step 6:<\/mark> <\/strong>If you receive a &#8220;<strong>BAD signature<\/strong>&#8221; message when running the verification command, it indicates something is wrong with the signature, and you should proceed with caution.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">These steps guarantee that the software you&#8217;re installing is original and hasn&#8217;t been modified by malicious actors.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Checking Digital In Linux:<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><mark style=\"background-color:rgba(0, 0, 0, 0);color:#00b373\" class=\"has-inline-color\"><strong>Step 1:<\/strong> <\/mark>Open a terminal.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#00b373\" class=\"has-inline-color\">Step 2:<\/mark><\/strong> Use the \u2018<strong>gpg<\/strong>\u2019 command to check the signature. The \u2018gpg\u2019 command is usually pre-installed in most Linux distributions. If you don&#8217;t have it, install it using the package manager specific to your distribution.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>gpg --verify &lt;file&gt;.sig &lt;file&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Replace <strong>\u2018&lt;file&gt;.sig<\/strong>\u2019 with the signature file and \u2018<strong>&lt;file&gt;<\/strong>\u2019 with the file you want to verify. Ensure the signature file is in the same directory as the file you want to check.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><mark style=\"background-color:rgba(0, 0, 0, 0);color:#00b373\" class=\"has-inline-color\"><strong>Step 3:<\/strong> <\/mark>The \u2018<strong>gpg<\/strong>\u2019 command will output the verification result. If the signature is valid and the file hasn&#8217;t been tampered with, you will see a &#8220;Good signature&#8221; message.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Know if Gnu Privacy Guard (GnuPG or GPG) is already in your Windows:<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Checking the digital signature of a file in Windows 10 is a straightforward process. Let&#8217;s use File Explorer, a built-in feature that requires no additional software. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>In this example, we&#8217;ll demonstrate how to verify the X.509 digital signature of the communication application Slack.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">First, locate the Installer File.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>After downloading the installer file:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Look for the file icon on your taskbar.<\/li>\n\n\n\n<li>Navigate to the folder where you saved the installer.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Once you&#8217;ve found the file:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Right-click on it and select Properties. This action will open a new window.<\/li>\n\n\n\n<li>In the new window, click on the Digital Signatures tab. If the file has a digital signature, you&#8217;ll see information about the signer&#8217;s name, the algorithm used, and the timestamp, if applicable.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>To ensure the signature is valid:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click on the Details button.<\/li>\n\n\n\n<li>A new pop-up window will appear. Does it indicate that &#8220;This digital signature is OK&#8221;? If so, congratulations! The signature is genuine.<\/li>\n\n\n\n<li>Review the signer details provided if you want more information about the signature. You can also click the View Certificate button to examine the used Public Key Infrastructure (PKI) certificate.<\/li>\n\n\n\n<li>Navigate to the Details tab to explore specific cryptographic security components and the certificate Subject.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Now that you understand how to check file signatures, it is essential to perform this verification every time you download new software.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Checking Digital Signatures In Windows:<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><mark style=\"background-color:rgba(0, 0, 0, 0);color:#00b373\" class=\"has-inline-color\"><strong>Step 1:<\/strong> <\/mark>Download and <strong>install Gpg4win<\/strong>, which provides a Windows implementation of the GNU Privacy Guard (GnuPG) tool.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Visit the Gpg4win website<\/strong> (https:\/\/gpg4win.org\/) and <strong>download the installer<\/strong>.<\/li>\n\n\n\n<li><strong>Run the installer<\/strong> and follow the installation instructions.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#00b373\" class=\"has-inline-color\">Step 2:<\/mark><\/strong> Open <strong>File Explorer<\/strong> and navigate to the directory containing the signature and file you want to verify.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#00b373\" class=\"has-inline-color\">Step 3:<\/mark><\/strong> <strong>Right-click on the signature file<\/strong> (usually with the \u2018.sig\u2019 or \u2018.asc\u2019 extension) and select <strong>&#8220;GpgEX&#8221; > &#8220;Verify&#8221;<\/strong> from the context menu.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#00b373\" class=\"has-inline-color\">Step 4: <\/mark><\/strong>GpgEX will display a dialog box with the verification result. If the signature is valid, it will indicate that the file has not been tampered with.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">These instructions assume you have the signature file available for verification. The commands may differ slightly if the signature is embedded within the file or provided separately (e.g., using detached signatures).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Safeguarding your downloaded files and programs is essential to protect against malware and ensure their authenticity. Learn how to verify file signatures to confirm if your files have been compromised since they were signed. You can rely on digital signatures to ensure safety and integrity for software programs and updates. These cryptographic data blocks validate&hellip; <a class=\"more-link\" href=\"https:\/\/signmycode.com\/resources\/steps-to-verify-the-digital-signature-of-a-file-in-windows-and-linux\">Read More <span class=\"screen-reader-text\">How to Verify the Digital Signature of a File in Windows and Linux?<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":2264,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,437],"tags":[403,404,406,405],"class_list":["post-2257","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-code-signing-tutorials","category-windows-security","tag-how-to-check-digital-signature-of-a-file-in-linux","tag-how-to-check-digital-signature-of-a-file-windows-10","tag-verify-digital-signature-of-a-file","tag-verify-gpg-signature-windows","entry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Verify the Digital Signature of a File in Linux &amp; Windows?<\/title>\n<meta name=\"description\" content=\"Want to check if a file is digitally signed? Follow the easy steps to learn how to verify digital signature on Linux and windows using gpg.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/signmycode.com\/resources\/steps-to-verify-the-digital-signature-of-a-file-in-windows-and-linux\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Verify the Digital Signature of a File in Linux &amp; Windows?\" \/>\n<meta property=\"og:description\" content=\"Want to check if a file is digitally signed? Follow the easy steps to learn how to verify digital signature on Linux and windows using gpg.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/signmycode.com\/resources\/steps-to-verify-the-digital-signature-of-a-file-in-windows-and-linux\" \/>\n<meta property=\"og:site_name\" content=\"SignMyCode - Resources\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-03T04:46:16+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-17T10:57:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2023\/06\/how-to-verify-the-digital-signature-of-a-file-linux-and-windows-jpg.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"912\" \/>\n\t<meta property=\"og:image:height\" content=\"453\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Janki Mehta\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2023\/06\/how-to-verify-the-digital-signature-of-a-file-linux-and-windows-jpg.webp\" \/>\n<meta name=\"twitter:creator\" content=\"@Sign_My_Code\" \/>\n<meta name=\"twitter:site\" content=\"@Sign_My_Code\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Janki Mehta\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/steps-to-verify-the-digital-signature-of-a-file-in-windows-and-linux#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/steps-to-verify-the-digital-signature-of-a-file-in-windows-and-linux\"},\"author\":{\"name\":\"Janki Mehta\",\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/#\\\/schema\\\/person\\\/2e80276fd34fd5439c04cd3cb96a389f\"},\"headline\":\"How to Verify the Digital Signature of a File in Windows and Linux?\",\"datePublished\":\"2023-07-03T04:46:16+00:00\",\"dateModified\":\"2025-02-17T10:57:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/steps-to-verify-the-digital-signature-of-a-file-in-windows-and-linux\"},\"wordCount\":1585,\"publisher\":{\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/steps-to-verify-the-digital-signature-of-a-file-in-windows-and-linux#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/how-to-verify-the-digital-signature-of-a-file-linux-and-windows-jpg.webp\",\"keywords\":[\"how to check digital signature of a file in linux\",\"how to check digital signature of a file windows 10\",\"Verify Digital Signature of a File\",\"verify gpg signature windows\"],\"articleSection\":[\"Code Signing Tutorials\",\"Windows Security\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/steps-to-verify-the-digital-signature-of-a-file-in-windows-and-linux\",\"url\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/steps-to-verify-the-digital-signature-of-a-file-in-windows-and-linux\",\"name\":\"How to Verify the Digital Signature of a File in Linux & Windows?\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/steps-to-verify-the-digital-signature-of-a-file-in-windows-and-linux#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/steps-to-verify-the-digital-signature-of-a-file-in-windows-and-linux#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/how-to-verify-the-digital-signature-of-a-file-linux-and-windows-jpg.webp\",\"datePublished\":\"2023-07-03T04:46:16+00:00\",\"dateModified\":\"2025-02-17T10:57:16+00:00\",\"description\":\"Want to check if a file is digitally signed? Follow the easy steps to learn how to verify digital signature on Linux and windows using gpg.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/steps-to-verify-the-digital-signature-of-a-file-in-windows-and-linux#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/signmycode.com\\\/resources\\\/steps-to-verify-the-digital-signature-of-a-file-in-windows-and-linux\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/steps-to-verify-the-digital-signature-of-a-file-in-windows-and-linux#primaryimage\",\"url\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/how-to-verify-the-digital-signature-of-a-file-linux-and-windows-jpg.webp\",\"contentUrl\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/how-to-verify-the-digital-signature-of-a-file-linux-and-windows-jpg.webp\",\"width\":912,\"height\":453,\"caption\":\"Verify Digital Signature in Linux and Windows\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/steps-to-verify-the-digital-signature-of-a-file-in-windows-and-linux#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Verify the Digital Signature of a File in Windows and Linux?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/#website\",\"url\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/\",\"name\":\"SignMyCode - Resources\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/#organization\",\"name\":\"SignMyCode\",\"url\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/logo1.png\",\"contentUrl\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/logo1.png\",\"width\":135,\"height\":86,\"caption\":\"SignMyCode\"},\"image\":{\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/Sign_My_Code\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/#\\\/schema\\\/person\\\/2e80276fd34fd5439c04cd3cb96a389f\",\"name\":\"Janki Mehta\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/74a1328bbec77f3a65123c2396050e61b60fe3831478ceb96b55e5a0fe44e370?s=96&d=blank&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/74a1328bbec77f3a65123c2396050e61b60fe3831478ceb96b55e5a0fe44e370?s=96&d=blank&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/74a1328bbec77f3a65123c2396050e61b60fe3831478ceb96b55e5a0fe44e370?s=96&d=blank&r=g\",\"caption\":\"Janki Mehta\"},\"description\":\"Janki Mehta is a Cyber-Security Enthusiast who constantly updates herself with new advancements in the Web\\\/Cyber Security niche. Along with theoretical knowledge, she also implements her practical expertise in day-to-day tasks and helps others to protect themselves from threats.\",\"sameAs\":[\"http:\\\/\\\/smcresources.ssltoolsonline.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Verify the Digital Signature of a File in Linux & Windows?","description":"Want to check if a file is digitally signed? Follow the easy steps to learn how to verify digital signature on Linux and windows using gpg.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/signmycode.com\/resources\/steps-to-verify-the-digital-signature-of-a-file-in-windows-and-linux","og_locale":"en_US","og_type":"article","og_title":"How to Verify the Digital Signature of a File in Linux & Windows?","og_description":"Want to check if a file is digitally signed? Follow the easy steps to learn how to verify digital signature on Linux and windows using gpg.","og_url":"https:\/\/signmycode.com\/resources\/steps-to-verify-the-digital-signature-of-a-file-in-windows-and-linux","og_site_name":"SignMyCode - Resources","article_published_time":"2023-07-03T04:46:16+00:00","article_modified_time":"2025-02-17T10:57:16+00:00","og_image":[{"width":912,"height":453,"url":"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2023\/06\/how-to-verify-the-digital-signature-of-a-file-linux-and-windows-jpg.webp","type":"image\/jpeg"}],"author":"Janki Mehta","twitter_card":"summary_large_image","twitter_image":"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2023\/06\/how-to-verify-the-digital-signature-of-a-file-linux-and-windows-jpg.webp","twitter_creator":"@Sign_My_Code","twitter_site":"@Sign_My_Code","twitter_misc":{"Written by":"Janki Mehta","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/signmycode.com\/resources\/steps-to-verify-the-digital-signature-of-a-file-in-windows-and-linux#article","isPartOf":{"@id":"https:\/\/signmycode.com\/resources\/steps-to-verify-the-digital-signature-of-a-file-in-windows-and-linux"},"author":{"name":"Janki Mehta","@id":"https:\/\/signmycode.com\/resources\/#\/schema\/person\/2e80276fd34fd5439c04cd3cb96a389f"},"headline":"How to Verify the Digital Signature of a File in Windows and Linux?","datePublished":"2023-07-03T04:46:16+00:00","dateModified":"2025-02-17T10:57:16+00:00","mainEntityOfPage":{"@id":"https:\/\/signmycode.com\/resources\/steps-to-verify-the-digital-signature-of-a-file-in-windows-and-linux"},"wordCount":1585,"publisher":{"@id":"https:\/\/signmycode.com\/resources\/#organization"},"image":{"@id":"https:\/\/signmycode.com\/resources\/steps-to-verify-the-digital-signature-of-a-file-in-windows-and-linux#primaryimage"},"thumbnailUrl":"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2023\/06\/how-to-verify-the-digital-signature-of-a-file-linux-and-windows-jpg.webp","keywords":["how to check digital signature of a file in linux","how to check digital signature of a file windows 10","Verify Digital Signature of a File","verify gpg signature windows"],"articleSection":["Code Signing Tutorials","Windows Security"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/signmycode.com\/resources\/steps-to-verify-the-digital-signature-of-a-file-in-windows-and-linux","url":"https:\/\/signmycode.com\/resources\/steps-to-verify-the-digital-signature-of-a-file-in-windows-and-linux","name":"How to Verify the Digital Signature of a File in Linux & Windows?","isPartOf":{"@id":"https:\/\/signmycode.com\/resources\/#website"},"primaryImageOfPage":{"@id":"https:\/\/signmycode.com\/resources\/steps-to-verify-the-digital-signature-of-a-file-in-windows-and-linux#primaryimage"},"image":{"@id":"https:\/\/signmycode.com\/resources\/steps-to-verify-the-digital-signature-of-a-file-in-windows-and-linux#primaryimage"},"thumbnailUrl":"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2023\/06\/how-to-verify-the-digital-signature-of-a-file-linux-and-windows-jpg.webp","datePublished":"2023-07-03T04:46:16+00:00","dateModified":"2025-02-17T10:57:16+00:00","description":"Want to check if a file is digitally signed? Follow the easy steps to learn how to verify digital signature on Linux and windows using gpg.","breadcrumb":{"@id":"https:\/\/signmycode.com\/resources\/steps-to-verify-the-digital-signature-of-a-file-in-windows-and-linux#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/signmycode.com\/resources\/steps-to-verify-the-digital-signature-of-a-file-in-windows-and-linux"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/signmycode.com\/resources\/steps-to-verify-the-digital-signature-of-a-file-in-windows-and-linux#primaryimage","url":"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2023\/06\/how-to-verify-the-digital-signature-of-a-file-linux-and-windows-jpg.webp","contentUrl":"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2023\/06\/how-to-verify-the-digital-signature-of-a-file-linux-and-windows-jpg.webp","width":912,"height":453,"caption":"Verify Digital Signature in Linux and Windows"},{"@type":"BreadcrumbList","@id":"https:\/\/signmycode.com\/resources\/steps-to-verify-the-digital-signature-of-a-file-in-windows-and-linux#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/signmycode.com\/resources\/"},{"@type":"ListItem","position":2,"name":"How to Verify the Digital Signature of a File in Windows and Linux?"}]},{"@type":"WebSite","@id":"https:\/\/signmycode.com\/resources\/#website","url":"https:\/\/signmycode.com\/resources\/","name":"SignMyCode - Resources","description":"","publisher":{"@id":"https:\/\/signmycode.com\/resources\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/signmycode.com\/resources\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/signmycode.com\/resources\/#organization","name":"SignMyCode","url":"https:\/\/signmycode.com\/resources\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/signmycode.com\/resources\/#\/schema\/logo\/image\/","url":"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2021\/11\/logo1.png","contentUrl":"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2021\/11\/logo1.png","width":135,"height":86,"caption":"SignMyCode"},"image":{"@id":"https:\/\/signmycode.com\/resources\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/Sign_My_Code"]},{"@type":"Person","@id":"https:\/\/signmycode.com\/resources\/#\/schema\/person\/2e80276fd34fd5439c04cd3cb96a389f","name":"Janki Mehta","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/74a1328bbec77f3a65123c2396050e61b60fe3831478ceb96b55e5a0fe44e370?s=96&d=blank&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/74a1328bbec77f3a65123c2396050e61b60fe3831478ceb96b55e5a0fe44e370?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/74a1328bbec77f3a65123c2396050e61b60fe3831478ceb96b55e5a0fe44e370?s=96&d=blank&r=g","caption":"Janki Mehta"},"description":"Janki Mehta is a Cyber-Security Enthusiast who constantly updates herself with new advancements in the Web\/Cyber Security niche. Along with theoretical knowledge, she also implements her practical expertise in day-to-day tasks and helps others to protect themselves from threats.","sameAs":["http:\/\/smcresources.ssltoolsonline.com"]}]}},"_links":{"self":[{"href":"https:\/\/signmycode.com\/resources\/wp-json\/wp\/v2\/posts\/2257","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/signmycode.com\/resources\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/signmycode.com\/resources\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/signmycode.com\/resources\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/signmycode.com\/resources\/wp-json\/wp\/v2\/comments?post=2257"}],"version-history":[{"count":7,"href":"https:\/\/signmycode.com\/resources\/wp-json\/wp\/v2\/posts\/2257\/revisions"}],"predecessor-version":[{"id":4221,"href":"https:\/\/signmycode.com\/resources\/wp-json\/wp\/v2\/posts\/2257\/revisions\/4221"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/signmycode.com\/resources\/wp-json\/wp\/v2\/media\/2264"}],"wp:attachment":[{"href":"https:\/\/signmycode.com\/resources\/wp-json\/wp\/v2\/media?parent=2257"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/signmycode.com\/resources\/wp-json\/wp\/v2\/categories?post=2257"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/signmycode.com\/resources\/wp-json\/wp\/v2\/tags?post=2257"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}