What is a pre-shared key or shared secret? (2024)

This content has been archived, and is no longer maintained by Indiana University. Information here may no longer be accurate, and links may no longer be available or reliable.

A pre-shared key (PSK) or shared secret is a string of text aVPN (virtual private network) or other service expects to get beforeit receives any other credentials (such as a username andpassword). Microsoft Windows calls this string the "pre-shared keyfor authentication", but in most operating systems it is known as a"shared secret".

When creating an IPsec VPN connection, the VPN server willnot allow the authentication process to continue until thecorrect string of text is given. Unless the VPN server receives theshared secret, a username and password cannot be sent, and theconnection will be refused. A shared secret is thus a kind ofpassword, albeit a weak one known by a large number of people.

Note:

For off-campus connections to the IU network, use the recommended SSL VPN.

Pre-shared keys are also used in a type of encryption called WPA-PSKand WPA2-PSK, sometimes used for home wireless networks. This type ofencryption is not used at Indiana University.

Related documents

This is document aodl in the Knowledge Base.
Last modified on 2018-01-18 13:51:25.

What is a pre-shared key or shared secret? (2024)

FAQs

What is a pre-shared key or shared secret? ›

A pre-shared key (PSK) or shared secret is a string of text a VPN (virtual private network) or other service expects to get before it receives any other credentials (such as a username and password).

What is the difference between shared secret and pre-shared key? ›

In cryptography, a pre-shared key (PSK) is a shared secret which was previously shared between the two parties using some secure channel before it needs to be used.

What is a pre-shared key? ›

Definitions: A secret key that has been established between the parties who are authorized to use it by means of some secure method (e.g., using a secure manual-distribution process or automated key-establishment scheme).

What is a pre-shared key in VPN? ›

Using pre-shared key (PSK) authentication. Using pre-shared key (PSK) authentication. A pre-shared key is a string of characters that is used as an authentication key. You can use pre-shared keys for site-to-site VPN authentication and with third-party VPN clients.

How do I find my VPN pre-shared key? ›

Check the Keychain (Applications > Utilities > Keychain Access). The Pre-Shared Key is usually saved here. Enter "Shared Secret" into the search bar to view a list of all your saved PSKs.

Is a pre-shared key a Wi-Fi password? ›

One way to secure your Wi-Fi network is by using a Wi-Fi Protected Access Pre-Shared Key (WPA-PSK). WPA-PSK is a security protocol that provides secure wireless access to Wi-Fi networks. It is a type of authentication that requires a pre-shared key (password) to access the network.

Is pre-shared key my password? ›

A pre-shared key is basically just a shared secret or password that is used to authenticate an individual attempting to join a wireless network (no username or identification or than the key is required).

What is shared secret key? ›

In cryptography, a shared secret is a piece of data, known only to the parties involved, in a secure communication. This usually refers to the key of a symmetric cryptosystem. The shared secret can be a password, a passphrase, a big number, or an array of randomly chosen bytes.

What is the purpose of a shared key? ›

Shared Key Authentication (SKA) is a verification process by which a computer can gain access to a wireless network that uses the Wired Equivalent Privacy (WEP) protocol. With SKA, a computer equipped with a wireless modem can fully access any WEP network and exchange encrypted or unencrypted data.

How do I create a pre-shared key? ›

You can generate the pre-shared key directly in a document by using JavaScript with the W3C Web Cryptography API. This API uses the Crypto. getRandomValues() method, which provides a cryptographically sound way of generating a pre-shared key.

Is it safe to use shared VPN? ›

It is as much safe as you trust the person you are giving a VPN account. To say the truth, if you are working together with that person, you can share an account and everything will be ok. Sharing the same account will not change anything at all.

What is a shared secret in network? ›

Shared secrets are a piece of data that is known to two or more parties. They are most commonly recognized in the form of passwords, which are known to both service provider and end user. Shared secrets cam be plaintext or another piece of data so long as they are known to the two or more distinct parties.

How do you decrypt a VPN pre-shared key? ›

To decrypt a configured pre-shared-key, you only need to apply the hash with the request system decrypt. This works great if you have pre-existing ipsec-configurations , and you mis-placed or don't want to re-key a vpn tunnel. or if a sec-engineer leaves the company and fails to document the PSK for vpn-tunnels.

Can you track a VPN user? ›

There is no way to track live, encrypted VPN traffic.

That's why police or government agencies who need information about websites you visited have to contact your internet service provider (ISP for short), and only then your VPN provider.

What is a shared secret key used for? ›

Shared key encryption uses one key to encrypt and decrypt messages. For shared key cryptography to work, the sender and the recipient of a message must both have the same key, which they must keep secret from everybody else.

What is the difference between pre-shared key and certificate? ›

IPsec has two ways of authenticating a peer--via a pre-shared key or a certificate. While pre-shared keys are easier to work with, they are generally considered less secure than a certificate. Pros: Convenience--no need to go through the complicated process of obtaining a certificate.

What is the meaning of shared secret? ›

Definitions: A secret value that has been computed using a key agreement algorithm. A secret used in authentication that is known to the subscriber and the verifier.

What is the difference between pre-shared key and password? ›

The WEP key or WPA/WPA2 preshared key/passphrase is not the same as the password for the access point. The password lets you access the access point settings. The WEP key or WPA/WPA2 preshared key/passphrase allows printers and computers to join your wireless network.

Top Articles
Latest Posts
Article information

Author: Jerrold Considine

Last Updated:

Views: 5954

Rating: 4.8 / 5 (78 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Jerrold Considine

Birthday: 1993-11-03

Address: Suite 447 3463 Marybelle Circles, New Marlin, AL 20765

Phone: +5816749283868

Job: Sales Executive

Hobby: Air sports, Sand art, Electronics, LARPing, Baseball, Book restoration, Puzzles

Introduction: My name is Jerrold Considine, I am a combative, cheerful, encouraging, happy, enthusiastic, funny, kind person who loves writing and wants to share my knowledge and understanding with you.