{"id":3146,"date":"2023-03-23T13:15:52","date_gmt":"2023-03-23T13:15:52","guid":{"rendered":"https:\/\/sectigostore.com\/blog\/?p=3146"},"modified":"2023-03-23T13:15:54","modified_gmt":"2023-03-23T13:15:54","slug":"mitigating-session-data-exposure-perfect-forward-secrecy-explained","status":"publish","type":"post","link":"https:\/\/sectigostore.com\/blog\/mitigating-session-data-exposure-perfect-forward-secrecy-explained\/","title":{"rendered":"Mitigating Session Data Exposure: Perfect Forward Secrecy Explained"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Perfect forward secrecy in TLS 1.3 is what helps to prevent the encrypted session data you\u2019ve sent or received from being decrypted should the receiving server\u2019s private key become compromised at a later time<\/h2>\n\n\n\n<p>When people think about encryption, they think about it from the general perspective that it\u2019s a way to protect data confidentiality. And while that\u2019s true, there\u2019s far more to it than that. Every time a user connects to your secure website, their browser and your server exchange information that creates a secure session. This is known as an <a href=\"https:\/\/sectigostore.com\/blog\/the-tls-handshake-explained-a-laymans-guide\/\">SSL\/TLS handshake<\/a>, and it\u2019s done by both parties exchanging data to create session keys they can use to encrypt and decrypt data.&nbsp;<\/p>\n\n\n\n<p>Sounds great, right? But what if the process of exchanging key-related information isn\u2019t secure and the server\u2019s private key or the secret shared session key becomes compromised? Then you\u2019ll find out just how quickly things can go wrong and how past session data relying on even one of a compromised key can become exposed.<\/p>\n\n\n\n<p>This article will explore perfect forward secrecy to understand what it is and why it\u2019s critical to data security on the internet.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What Is Perfect Forward Secrecy?<\/h2>\n\n\n\n<p>Generally speaking, perfect forward secrecy, or PFS, is the \u201csecret sauce\u201d that prevents all the encrypted data you\u2019ve sent previously via encrypted sessions from being decrypted by bad guys, even if your server\u2019s private cryptographic key gets compromised in the future.<\/p>\n\n\n\n<p>If you\u2019re raising a quizzical eyebrow, give us a moment to explain. When you connect to a secure website, you\u2019re connecting via a secure session that requires the use of cryptographic keys that, if not stored securely, can fall into the wrong hands. Perfect forward secrecy is about preventing data shared via secure (encrypted) connections from becoming exposed due to key compromise issues by<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Using a new private key each session, and<\/li>\n\n\n\n<li>Not allowing session keys to be stored for future use.<\/li>\n<\/ul>\n\n\n\n<p>In a more technical sense, perfect forward secrecy is a set of key agreement protocols designed to keep your session keys \u2014 i.e., the keys you use to transmit data to a website\u2019s server in a typical website connection \u2014 secure, even if the server\u2019s private key becomes compromised. It does this by making session keys one-time use tools, much like how medical providers use hypodermic needles and medical gloves once and then dispose of them.<\/p>\n\n\n\n<p>To understand perfect forward secrecy more fully, you have at least a basic understanding of encryption. So, let\u2019s detour briefly to quickly recap what encryption is and circle back by talking about how PFS plays a role in internet security.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">An Overview of Encryption and PFS\u2019s Role In Creating Secure, Encrypted Sessions<\/h3>\n\n\n\n<p>In general, encryption is the process of taking plaintext, readable data and converting it into something that can only be read by someone who has a specific key. Encryption is considered a two-way process because encrypted data is designed to be decrypted using the appropriate private key:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/sectigostore.com\/blog\/what-is-asymmetric-encryption-how-does-it-work\/\"><strong>Asymmetric encryption<\/strong><\/a><strong>.<\/strong> In this method of encryption, there are two keys that split those duties \u2014 a public key that encrypts it and a private key that decrypts it. This combination of keys is used to create a secure channel through which important key-related values are shared between parties. This data is used to create a symmetrically encrypted session that will be used for the rest of the connection to exchange data with less computational overhead.<\/li>\n\n\n\n<li><a href=\"https:\/\/sectigostore.com\/blog\/5-differences-between-symmetric-vs-asymmetric-encryption\/\"><strong>Symmetric encryption<\/strong><\/a><strong>.<\/strong> In this type of encrypted connection, there\u2019s one key that encrypts and decrypts data. In this case, this is the secure session key that\u2019s generated by both parties using their private keys in combination with publicly shared values they exchange through the SSL\/TLS handshake process, which we\u2019ll explain in just a moment.<\/li>\n<\/ul>\n\n\n\n<p>What happens when that secure session key becomes compromised? Nothing good, we assure you. But we\u2019ll speak more to that in a bit. But first, let\u2019s consider your website as an example.<\/p>\n\n\n\n<p>When a customer connects to your website, their browser and your web server engage in a TLS handshake. This is a process that enables their client to verify your server\u2019s identity, protect data integrity, and create a secure session that protects data confidentiality. (It\u2019s also what enables them to use the secure HTTPS protocol and makes the little padlock icon appear in their browser\u2019s address bar.)<\/p>\n\n\n\n<p>But what does this process look like? When a customer connects to your website via a TLS handshake:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Their client and your server use asymmetric encryption to exchange cipher information and special values that can be used to create a symmetric session key.<\/li>\n\n\n\n<li>The client uses your web server\u2019s public key to encrypt its value so that no one (aside from your server) can read it.<\/li>\n\n\n\n<li>Your server then uses that data, along with special parameters, to create that secret session key to enables it to establish a secure session with the customer\u2019s client. This symmetrically encrypted connection is what will be used for the rest of the session.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Perfect Forward Secrecy Is Mandated in TLS 1.3<\/h2>\n\n\n\n<p>Traditionally (up through TLS 1.2), a server used RSA or traditional Diffie-Hellman key exchange functions:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>RSA key exchanges involve sharing key-related data is transmitted between parties.<\/li>\n\n\n\n<li>Diffie-Hellman key exchanges involve both parties exchanging public values (non-sensitive data) they combine with their individual secret values to generate a single key.<\/li>\n<\/ul>\n\n\n\n<p>These traditional key exchange scenarios involved using the server\u2019s key to protect the secure session key values it would share. This was great so long as the server\u2019s private key didn\u2019t become compromised. If that key were to become compromised, then the attacker could use it to decrypt any data they\u2019ve saved that was encrypted using the key\u2019s corresponding public counterpart.<\/p>\n\n\n\n<p>To avoid this from happening in <a href=\"https:\/\/sectigostore.com\/blog\/tls-version-1-3-what-to-know-about-the-latest-tls-version\/\">TLS 1.3<\/a>, the Internet Engineering Task Force (IETF) mandated the use of <em>ephemeral<\/em> (i.e., dynamic and unique) key values as part of the SSL\/TLS handshake. This entails using the elliptic curve Diffie-Hellman ephemeral (ECDHE) key exchange instead of the traditional, non-ephemeral DH. This way, every secure session that\u2019s created using an SSL\/TLS handshake has its own set of parameters (rules) that create the session.<\/p>\n\n\n\n<p><a href=\"https:\/\/www.ietf.org\/blog\/tls13\/\">According to the IETF<\/a>:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><em>\u201cIn contrast to TLS 1.2, TLS 1.3 provides additional privacy for data exchanges by encrypting more of the negotiation handshake to protect it from eavesdroppers. This enhancement helps protect the identities of the participants and impede traffic analysis. TLS 1.3 also enables forward secrecy by default which means that the compromise of long term secrets used in the protocol does not allow the decryption of data communicated while those long term secrets were in use. As a result, current communications will remain secure even if future communications are compromised.\u201d<\/em><\/p>\n<\/blockquote>\n\n\n\n<p>In a static key exchange, such as a traditional Diffie-Hellman key exchange, one or both of those parameters can be reused. But despite what any earth-saving activists say, not everything should be recycled. (At least, this is true when it comes to public key cryptography). For example, in a Diffie-Hellman ephemeral, or DHE, key agreement, those parameters have to change to create each new session and can\u2019t be reused. This changing of the values every session enables perfect forward secrecy, meaning that every session is independent of those that precede and follow them.<\/p>\n\n\n\n<p>This brings us to our next related talking point\u2026<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Forward Secrecy vs Perfect Forward Secrecy \u2014 Believe It Or Not, They\u2019re Not the Same<\/h3>\n\n\n\n<p>It\u2019s likely, at some point, you\u2019ve come across the term <em>forward secrecy<\/em>. When you look at the words <em>perfect forward secrecy<\/em> and <em>forward secrecy<\/em>, and organizations often use the terms synonymously, it\u2019s easy to think they\u2019re the same. (Look at the IETF quote above for such an example.)<\/p>\n\n\n\n<p>However, there is actually an important difference between these two terms:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Forward secrecy<\/strong> is something that is enabled simply by using a traditional (non-ephemeral) Diffie-Hellman key exchange. This entails two parties connecting using a mutually calculated secret key that\u2019s never exchanged directly. However, both parties will use that same shared key for future sessions.<\/li>\n\n\n\n<li><strong>Perfect forward secrecy<\/strong> is something you\u2019ll need to take things a step further to achieve. This will require using an <em>ephemeral<\/em> cryptographic key, such as through an ephemeral Diffie-Hellman key agreement. What this means is that each new session will require a unique key, regardless of whether it\u2019s two new parties or two parties that have connected previously.<\/li>\n<\/ul>\n\n\n\n<p>Let\u2019s consider these two concepts using the following illustrations:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"893\" height=\"911\" src=\"https:\/\/sectigostore.com\/blog\/wp-content\/uploads\/2023\/03\/perfect-forward-secrecy-vs-forward-secrecy.png\" alt=\"A two-part illustration that breaks down the difference between perfect forward secrecy and forward secrecy\" class=\"wp-image-3148\" srcset=\"https:\/\/sectigostore.com\/blog\/wp-content\/uploads\/2023\/03\/perfect-forward-secrecy-vs-forward-secrecy.png 893w, https:\/\/sectigostore.com\/blog\/wp-content\/uploads\/2023\/03\/perfect-forward-secrecy-vs-forward-secrecy-294x300.png 294w, https:\/\/sectigostore.com\/blog\/wp-content\/uploads\/2023\/03\/perfect-forward-secrecy-vs-forward-secrecy-560x571.png 560w\" sizes=\"auto, (max-width: 893px) 100vw, 893px\" \/><\/figure>\n\n\n\n<p><em>Image caption: A set of basic graphics that illustrate the difference between forward secrecy and perfect forward secrecy.<\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How Perfect Forward Secrecy Works<\/h2>\n\n\n\n<p>At its core, perfect forward secrecy is what results when you use a unique encryption\/decryption key for every SSL\/TLS session. The way to achieve PFC is to use ephemeral Diffie-Hellman or elliptic curve ephemeral Diffie-Hellman key exchanges as part of the SSL\/TLS handshake.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why Perfect Forward Secrecy Is Necessary<\/h2>\n\n\n\n<p>On its own, forward secrecy would be fine in a perfect world \u2014 a magical place where every person, company, and organization adheres to secure key management best practices. But since this is the real world and they often don\u2019t \u2014 and since cybercriminals are always looking for ways to get their hands on everyone\u2019s private keys to decrypt data they\u2019ve saved from previous sessions they intercepted \u2014 then it means that the server\u2019s private key could become compromised down the road.<\/p>\n\n\n\n<p>This is why ephemeral Diffie-Hellman key exchanges are mandated in TLS 1.3; they ensure that new Diffie-Hellman key exchange parameters are utilized for each session. This way, bad guys who\u2019ve been saving up encrypted data from your sessions won\u2019t be able to decrypt it later because the key will be destroyed after use and will not be stored on the server. It mitigates the potential damages and data exposure you\u2019d otherwise sustain if you used the same session key for each user to secure their subsequent connections.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Cipher Suites That Support Perfect Forward Secrecy<\/h2>\n\n\n\n<p>Now that we know what perfect forward secrecy is, what it does, and why it\u2019s necessary, let\u2019s take a look at the cryptographic <a href=\"https:\/\/sectigostore.com\/blog\/what-is-an-ssl-tls-cipher-suite\/\">cipher suites<\/a> (i.e., combinations of cryptographic algorithms) that make it possible. To do this, we\u2019ll compare it to TLS 1.2 cipher suites so we can see the differences between them.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">TLS 1.2 Cipher Suites<\/h3>\n\n\n\n<p>According to <a href=\"https:\/\/nvlpubs.nist.gov\/nistpubs\/SpecialPublications\/NIST.SP.800-52r2.pdf\">NIST\u2019s special publication 800-52 revision 2<\/a>, TLS 1.2 cipher suites are combinations of protocols and algorithms for key exchanges, encryption, and message authentication. For example, a TLS 1.2 cipher suite looks something like this:<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <em>Protocol_KeyExchangeAlgorithm_WITH_EncryptionAlgorithm_MessageAuthenticationAlgorithm <\/em>&nbsp;<\/p>\n\n\n\n<p>In all, there are <a href=\"https:\/\/datatracker.ietf.org\/doc\/rfc5246\/\">37 cipher suites supported by TLS 1.2.<\/a> However, supporting all of them isn\u2019t necessarily advisable because some of them don\u2019t support PFS. Here\u2019s a quick visual of how one of these cipher suites look:<\/p>\n\n\n\n<p>TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">TLS 1.3 Cipher Suites<\/h3>\n\n\n\n<p>Now, let\u2019s compare this to a TLS 1.3 cipher suite, which discards the key exchange algorithm and uses this format instead:<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <em>Protocol_AHEADcipherMode_HashCipher<\/em><\/p>\n\n\n\n<p>In that previously linked resource, NIST recommends only four cipher suites that TLS 1.3 servers should be configured to support:<\/p>\n\n\n\n<ol class=\"wp-block-list\" type=\"1\">\n<li>TLS_AES_128_GCM_SHA256<\/li>\n\n\n\n<li>TLS_AES_256_GCM_SHA384<\/li>\n\n\n\n<li>TLS_AES_128_CCM_SHA256<\/li>\n\n\n\n<li>TLS_AES_128_CCM_8_SHA256<\/li>\n<\/ol>\n\n\n\n<p>There is a <a href=\"https:\/\/www.rfc-editor.org\/rfc\/rfc8446\">fifth cipher suite that the IETF says TLS 1.3 supports<\/a> \u2014 TLS_CHACHA20_POLY1305_SHA256 \u2014 but that wasn\u2019t included on NIST\u2019s list of recommended cipher suites.<\/p>\n\n\n\n<p>To enable perfect forward secrecy, TLS 1.3 cipher suites are ones you\u2019ll want to support on your server. This is because, in TLS 1.3, session keys are generated only for that current session. Once the session ends, the key gets discarded like last year\u2019s gym shoes \u2014 never to be seen or used again.<\/p>\n\n\n\n<p>Still be sure to support ephemeral-key cipher suites as well (those that identify DHE or ECDHE for the key exchange function), though, so you don\u2019t ostracize visitors whose browsers only support TLS 1.2.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Enable Perfect Forward Secrecy<\/h2>\n\n\n\n<p>If you want to enable PFS for connections on your website, then you\u2019ll need to:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Enable TLS 1.3 on your web server. You can do this by purchasing and installing an <a href=\"https:\/\/sectigostore.com\/ssl-certificates\">SSL\/TLS certificate<\/a> on your website and setting your server to support TLS 1.3 protocols.<\/li>\n\n\n\n<li>Adopt elliptic curve Diffie Hellman (ECDHE) or Diffie-Hellman ephemeral (DHE) key exchanges. However, be careful to structure the list of cipher suites your server supports in a particular order. Place ECDHE cipher suites at the top of the list and have DHE cipher suites fall in line after that.<\/li>\n<\/ul>\n\n\n\n<p>You can still include non-DH cipher suites that may be supported by browsers as a last resort, but keep in mind that this will not offer perfect forward secrecy.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Final Thoughts on Perfect Forward Secrecy<\/h2>\n\n\n\n<p>While we\u2019d love to say that TLS 1.3 and its mandated perfect forward secrecy are the standard, we\u2019re just not to that point within the industry. But the good news is that we\u2019re getting there, little by little.<\/p>\n\n\n\n<p><a href=\"https:\/\/www.ssllabs.com\/ssl-pulse\/\">Data from Qualys SSL Labs<\/a> shows that in February 2023, 99.9% of the 150,000 SSL\/TLS-enabled websites they analyzed supported TLS 1.2, and 60.4% supported TLS 1.3. Now, compare this to the 59.8% of the sites they analyzed the previous month that supported TLS 1.3. While this number isn\u2019t necessarily where we want to be within the industry, it\u2019s still great news because it means we\u2019re heading in the right direction as a whole.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Perfect forward secrecy in TLS 1.3 is what helps to prevent the encrypted session data you\u2019ve sent or received from being decrypted should the receiving server\u2019s private key become compromised&#8230;<\/p>\n","protected":false},"author":8,"featured_media":3150,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","tve_updated_post":"","tve_custom_css":"","tve_user_custom_css":"","tve_globals":{},"tcb2_ready":0,"tcb_editor_enabled":0,"tve_landing_page":"","_tve_header":"","_tve_footer":""},"categories":[13],"tags":[281,282],"class_list":["post-3146","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cyber-security","tag-perfect-forward-secrecy","tag-pfs","post-with-tags"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Mitigating Session Data Exposure: Perfect Forward Secrecy Explained - InfoSec Insights<\/title>\n<meta name=\"description\" content=\"Perfect forward secrecy is a set of key agreement protocols that keep previously shared data secure even if the key later becomes compromised\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/sectigostore.com\/blog\/mitigating-session-data-exposure-perfect-forward-secrecy-explained\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Mitigating Session Data Exposure: Perfect Forward Secrecy Explained - InfoSec Insights\" \/>\n<meta property=\"og:description\" content=\"Perfect forward secrecy is a set of key agreement protocols that keep previously shared data secure even if the key later becomes compromised\" \/>\n<meta property=\"og:url\" content=\"https:\/\/sectigostore.com\/blog\/mitigating-session-data-exposure-perfect-forward-secrecy-explained\/\" \/>\n<meta property=\"og:site_name\" content=\"InfoSec Insights\" \/>\n<meta property=\"article:published_time\" content=\"2023-03-23T13:15:52+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-03-23T13:15:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/sectigostore.com\/blog\/wp-content\/uploads\/2023\/03\/perfect-forward-secrecy-feature.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1779\" \/>\n\t<meta property=\"og:image:height\" content=\"1000\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Casey Crane\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Casey Crane\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/sectigostore.com\\\/blog\\\/mitigating-session-data-exposure-perfect-forward-secrecy-explained\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/sectigostore.com\\\/blog\\\/mitigating-session-data-exposure-perfect-forward-secrecy-explained\\\/\"},\"author\":{\"name\":\"Casey Crane\",\"@id\":\"https:\\\/\\\/sectigostore.com\\\/blog\\\/#\\\/schema\\\/person\\\/559abd5fa4d9d651eaf18d9b9e91a64c\"},\"headline\":\"Mitigating Session Data Exposure: Perfect Forward Secrecy Explained\",\"datePublished\":\"2023-03-23T13:15:52+00:00\",\"dateModified\":\"2023-03-23T13:15:54+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/sectigostore.com\\\/blog\\\/mitigating-session-data-exposure-perfect-forward-secrecy-explained\\\/\"},\"wordCount\":2295,\"image\":{\"@id\":\"https:\\\/\\\/sectigostore.com\\\/blog\\\/mitigating-session-data-exposure-perfect-forward-secrecy-explained\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/sectigostore.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/perfect-forward-secrecy-feature.jpg\",\"keywords\":[\"perfect forward secrecy\",\"PFS\"],\"articleSection\":[\"Cyber Security\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/sectigostore.com\\\/blog\\\/mitigating-session-data-exposure-perfect-forward-secrecy-explained\\\/\",\"url\":\"https:\\\/\\\/sectigostore.com\\\/blog\\\/mitigating-session-data-exposure-perfect-forward-secrecy-explained\\\/\",\"name\":\"Mitigating Session Data Exposure: Perfect Forward Secrecy Explained - InfoSec Insights\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/sectigostore.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/sectigostore.com\\\/blog\\\/mitigating-session-data-exposure-perfect-forward-secrecy-explained\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/sectigostore.com\\\/blog\\\/mitigating-session-data-exposure-perfect-forward-secrecy-explained\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/sectigostore.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/perfect-forward-secrecy-feature.jpg\",\"datePublished\":\"2023-03-23T13:15:52+00:00\",\"dateModified\":\"2023-03-23T13:15:54+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/sectigostore.com\\\/blog\\\/#\\\/schema\\\/person\\\/559abd5fa4d9d651eaf18d9b9e91a64c\"},\"description\":\"Perfect forward secrecy is a set of key agreement protocols that keep previously shared data secure even if the key later becomes compromised\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/sectigostore.com\\\/blog\\\/mitigating-session-data-exposure-perfect-forward-secrecy-explained\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/sectigostore.com\\\/blog\\\/mitigating-session-data-exposure-perfect-forward-secrecy-explained\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/sectigostore.com\\\/blog\\\/mitigating-session-data-exposure-perfect-forward-secrecy-explained\\\/#primaryimage\",\"url\":\"https:\\\/\\\/sectigostore.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/perfect-forward-secrecy-feature.jpg\",\"contentUrl\":\"https:\\\/\\\/sectigostore.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/perfect-forward-secrecy-feature.jpg\",\"width\":1779,\"height\":1000,\"caption\":\"A feature image for an article on perfect forward secrecy that features binary numbers and padlock icons\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/sectigostore.com\\\/blog\\\/mitigating-session-data-exposure-perfect-forward-secrecy-explained\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/sectigostore.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mitigating Session Data Exposure: Perfect Forward Secrecy Explained\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/sectigostore.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/sectigostore.com\\\/blog\\\/\",\"name\":\"InfoSec Insights\",\"description\":\"SectigoStore.com Blog\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/sectigostore.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/sectigostore.com\\\/blog\\\/#\\\/schema\\\/person\\\/559abd5fa4d9d651eaf18d9b9e91a64c\",\"name\":\"Casey Crane\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c18d819d34a1995e91a4aa7518e9048df7856f336a1ede2262a572db7b1c2506?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c18d819d34a1995e91a4aa7518e9048df7856f336a1ede2262a572db7b1c2506?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c18d819d34a1995e91a4aa7518e9048df7856f336a1ede2262a572db7b1c2506?s=96&d=mm&r=g\",\"caption\":\"Casey Crane\"},\"description\":\"Casey is a writer and editor with a background in journalism, marketing, PR and communications. She has written about cyber security and information technology for several industry publications, including InfoSec Insights, Hashed Out, Experfy, HackerNoon, and Cybercrime Magazine.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Mitigating Session Data Exposure: Perfect Forward Secrecy Explained - InfoSec Insights","description":"Perfect forward secrecy is a set of key agreement protocols that keep previously shared data secure even if the key later becomes compromised","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:\/\/sectigostore.com\/blog\/mitigating-session-data-exposure-perfect-forward-secrecy-explained\/","og_locale":"en_US","og_type":"article","og_title":"Mitigating Session Data Exposure: Perfect Forward Secrecy Explained - InfoSec Insights","og_description":"Perfect forward secrecy is a set of key agreement protocols that keep previously shared data secure even if the key later becomes compromised","og_url":"https:\/\/sectigostore.com\/blog\/mitigating-session-data-exposure-perfect-forward-secrecy-explained\/","og_site_name":"InfoSec Insights","article_published_time":"2023-03-23T13:15:52+00:00","article_modified_time":"2023-03-23T13:15:54+00:00","og_image":[{"width":1779,"height":1000,"url":"https:\/\/sectigostore.com\/blog\/wp-content\/uploads\/2023\/03\/perfect-forward-secrecy-feature.jpg","type":"image\/jpeg"}],"author":"Casey Crane","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Casey Crane","Est. reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/sectigostore.com\/blog\/mitigating-session-data-exposure-perfect-forward-secrecy-explained\/#article","isPartOf":{"@id":"https:\/\/sectigostore.com\/blog\/mitigating-session-data-exposure-perfect-forward-secrecy-explained\/"},"author":{"name":"Casey Crane","@id":"https:\/\/sectigostore.com\/blog\/#\/schema\/person\/559abd5fa4d9d651eaf18d9b9e91a64c"},"headline":"Mitigating Session Data Exposure: Perfect Forward Secrecy Explained","datePublished":"2023-03-23T13:15:52+00:00","dateModified":"2023-03-23T13:15:54+00:00","mainEntityOfPage":{"@id":"https:\/\/sectigostore.com\/blog\/mitigating-session-data-exposure-perfect-forward-secrecy-explained\/"},"wordCount":2295,"image":{"@id":"https:\/\/sectigostore.com\/blog\/mitigating-session-data-exposure-perfect-forward-secrecy-explained\/#primaryimage"},"thumbnailUrl":"https:\/\/sectigostore.com\/blog\/wp-content\/uploads\/2023\/03\/perfect-forward-secrecy-feature.jpg","keywords":["perfect forward secrecy","PFS"],"articleSection":["Cyber Security"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/sectigostore.com\/blog\/mitigating-session-data-exposure-perfect-forward-secrecy-explained\/","url":"https:\/\/sectigostore.com\/blog\/mitigating-session-data-exposure-perfect-forward-secrecy-explained\/","name":"Mitigating Session Data Exposure: Perfect Forward Secrecy Explained - InfoSec Insights","isPartOf":{"@id":"https:\/\/sectigostore.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/sectigostore.com\/blog\/mitigating-session-data-exposure-perfect-forward-secrecy-explained\/#primaryimage"},"image":{"@id":"https:\/\/sectigostore.com\/blog\/mitigating-session-data-exposure-perfect-forward-secrecy-explained\/#primaryimage"},"thumbnailUrl":"https:\/\/sectigostore.com\/blog\/wp-content\/uploads\/2023\/03\/perfect-forward-secrecy-feature.jpg","datePublished":"2023-03-23T13:15:52+00:00","dateModified":"2023-03-23T13:15:54+00:00","author":{"@id":"https:\/\/sectigostore.com\/blog\/#\/schema\/person\/559abd5fa4d9d651eaf18d9b9e91a64c"},"description":"Perfect forward secrecy is a set of key agreement protocols that keep previously shared data secure even if the key later becomes compromised","breadcrumb":{"@id":"https:\/\/sectigostore.com\/blog\/mitigating-session-data-exposure-perfect-forward-secrecy-explained\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/sectigostore.com\/blog\/mitigating-session-data-exposure-perfect-forward-secrecy-explained\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/sectigostore.com\/blog\/mitigating-session-data-exposure-perfect-forward-secrecy-explained\/#primaryimage","url":"https:\/\/sectigostore.com\/blog\/wp-content\/uploads\/2023\/03\/perfect-forward-secrecy-feature.jpg","contentUrl":"https:\/\/sectigostore.com\/blog\/wp-content\/uploads\/2023\/03\/perfect-forward-secrecy-feature.jpg","width":1779,"height":1000,"caption":"A feature image for an article on perfect forward secrecy that features binary numbers and padlock icons"},{"@type":"BreadcrumbList","@id":"https:\/\/sectigostore.com\/blog\/mitigating-session-data-exposure-perfect-forward-secrecy-explained\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/sectigostore.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Mitigating Session Data Exposure: Perfect Forward Secrecy Explained"}]},{"@type":"WebSite","@id":"https:\/\/sectigostore.com\/blog\/#website","url":"https:\/\/sectigostore.com\/blog\/","name":"InfoSec Insights","description":"SectigoStore.com Blog","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/sectigostore.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/sectigostore.com\/blog\/#\/schema\/person\/559abd5fa4d9d651eaf18d9b9e91a64c","name":"Casey Crane","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/c18d819d34a1995e91a4aa7518e9048df7856f336a1ede2262a572db7b1c2506?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/c18d819d34a1995e91a4aa7518e9048df7856f336a1ede2262a572db7b1c2506?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c18d819d34a1995e91a4aa7518e9048df7856f336a1ede2262a572db7b1c2506?s=96&d=mm&r=g","caption":"Casey Crane"},"description":"Casey is a writer and editor with a background in journalism, marketing, PR and communications. She has written about cyber security and information technology for several industry publications, including InfoSec Insights, Hashed Out, Experfy, HackerNoon, and Cybercrime Magazine."}]}},"_links":{"self":[{"href":"https:\/\/sectigostore.com\/blog\/wp-json\/wp\/v2\/posts\/3146","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sectigostore.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sectigostore.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sectigostore.com\/blog\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/sectigostore.com\/blog\/wp-json\/wp\/v2\/comments?post=3146"}],"version-history":[{"count":0,"href":"https:\/\/sectigostore.com\/blog\/wp-json\/wp\/v2\/posts\/3146\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sectigostore.com\/blog\/wp-json\/wp\/v2\/media\/3150"}],"wp:attachment":[{"href":"https:\/\/sectigostore.com\/blog\/wp-json\/wp\/v2\/media?parent=3146"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sectigostore.com\/blog\/wp-json\/wp\/v2\/categories?post=3146"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sectigostore.com\/blog\/wp-json\/wp\/v2\/tags?post=3146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}