Questions tagged [tls-psk]

Transport Layer Security pre-shared key ciphersuites (TLS-PSK) is a set of cryptographic protocols that provide secure communication based on pre-shared keys (PSKs). These pre-shared keys are symmetric keys shared in advance among the communicating parties.

28 questions
4
votes
0 answers

Using keytool to list secret key

I used keytool to generate the secret key: keytool -genseckey -alias mykey -keyalg AES -keysize 256 -storetype jceks -keystore mykeystore Then, the following command will list information about mykeystore: keytool -list -keystore mykeystore…
klichen
  • 49
  • 1
  • 2
3
votes
2 answers

How to preallocate objects for thread pooled server?

In a simple test case I have implemented a thread pooled server accepting up to 10 simultaneous incoming TLS PSK connections at port 12345 and printing decrypted data at standard output: public static void main(String[] args) throws IOException { …
Alexander Farber
  • 21,519
  • 75
  • 241
  • 416
2
votes
0 answers

How to simulate Proactive SIM cards?

Is there any open source project to simulate Proactive SIMs? To do polling (send POST requests) based on TLS-PSK.
binarysta
  • 156
  • 11
2
votes
1 answer

Transparent proxy that supports TLS-PSK

I'm trying to research a device that uses TLS-PSK as its cipher suite for server authentication. However, mitmproxy nor Burp Suite support the TLS-PSK ciphers. For Burp, this is the underlying Java/BouncyCastle implementation that does not support…
ssabetan
  • 111
  • 1
  • 9
2
votes
0 answers

Is the TLS-PSK ciphersuite supported in .NET?

We are planning to use the TLS-PSK ciphersuite for TLS communication. Is it supported within the .NET framework? Documentation on the web is very rare. We are currently using :NET framework version 4.6.2, but can also upgrade to newer…
vlopel
  • 53
  • 3
2
votes
0 answers

TLS-PSK via Vert.x

I am trying to connect from my verticle to device that implement TLS-PSK encryption algorithm TLS_PSK_WITH_AES_128_CBC_SHA and protocol "TLSv1.2". I have an example of code where we use BouncyCastle library for communicate. TlsPSKIdentity…
Sensey
  • 21
  • 6
2
votes
1 answer

How to detect an end of stream properly, when TLS PSK encryption is used?

I have prepared a simple TLS PSK client test case based on MockPSKTlsClient by Bouncy Castle. In the main method I call: public static void main(String[] args) throws IOException { SecureRandom random = new SecureRandom(); …
Alexander Farber
  • 21,519
  • 75
  • 241
  • 416
1
vote
0 answers

http connection with TLS-PSK

I am learning how to use TLS-PSK in an HTTP connection with the Go programming language. I have used these two packages: https://github.com/raff/tls-psk https://github.com/raff/tls-ext. and follow the example here but still I couldn't make it. My…
A.Y. Wicaksono
  • 161
  • 1
  • 10
1
vote
0 answers

netty ssl key exchange mode,how to use TLS-PSK mode with netty

We are using Netty4, and we plan to expand SSL security mode of Netty, I am not sure whether Netty4 supports PSK key exchange mode, have the guidance of those who know this aspect, thank you very much
igogoxfox
  • 19
  • 2
1
vote
0 answers

TLS Session Resumption via Pre-Shared Key (PSK) in Node.js

Currently the TLS Session Resumption documentation for Node.js only covers two methods (Session IDs and Session Tickets) both of which are obsoleted in the TLS 1.3 spec. In practice I've found that Filezilla is not utilizing either of these methods…
andrew.carpenter
  • 516
  • 2
  • 6
  • 14
1
vote
1 answer

openSSL 1.1.1 API Doubts

I want to set up and run SSL client and server with TLS 1.2 using openSSL 1.1.1 for my project. I have a few doubts and/or requirements with openSSL: what is the right way to select TLS 1.2 as version? Currently I am using TLS_client_method(). the…
karthik_p
  • 13
  • 2
1
vote
0 answers

TLS-PSK over TOR python

I am currently trying to create a "TOR version" of a service I created, running with TLS. I want to perform mutual authentication of both parties ; client and server. I thought about using TLS-PSK over TOR, which would gives me the properties I…
JeanJean
  • 11
  • 1
1
vote
1 answer

OpenSSL TLS/DTLS PSK

I'm working on an application where Key Server (K) generates a symmetrical key and shares it with Server(A) and Client(B). A and B connects via UDP. I'm using Memory BIOs, and was trying to use Cipher "PSK-AES128-CBC-SHA". I have few questions…
Dilhan Geeth
  • 187
  • 2
  • 11
1
vote
0 answers

How do you make TlsServer send session ID on ServerHello in BouncyCastle?

Basically my implementation already works. I have made my own "custom" PSKTlsServer class and handshake works well. However, I did notice that my ServerHello message does not contain a session ID and the session ID length is also 00. Looking at the…
Josh
  • 11
  • 2
1
vote
2 answers

Is there a public psk server to test tls handshake?

What I want is test tls handshake when psk is active. I also want to see every http header exchanged during the connection between client (my laptop) and public server. Now I am wondering if there is a public psk tls server where I can do my…
frazzaglia
  • 39
  • 5
1
2