Decrypting TLS data with Wireshark on Mac

This post is about how decrypt TLS data with Wireshark using session key file. The session key file saves combination of secret keys which web browser used to encrypt or decrypt http traffic. Not all browsers may save session key, as I know only Google Chrome and Firefox permit to do this. The example below… Read More »

cURL without cacert or capath options

The curl as mention in its manual is the tool to transfer data from or to a server, using one of the different application-layer Internet protocol including HTTPS. With HTTPS curl works as CLI browser and supports TLS handshake process. cURL cacert option is used to specify certificate file to verify the peer, capath tells… Read More »

🍒 Cherry-pick in github

I began to use cherry picking to add changes from a commit from one branch and move them onto another branch. Cherry-pick looks promising for transferring the code changes between branches. Everything is simple according to the documentation but a little different in real life. It took me approximately one hour to pick a cherry… Read More »

Create private backup of your web site

Everything may happen, but being wise after the event sometime is not a good choice. On Saturday 28 August 2021 incident happened the data on servers of my Webhosting provider were wiped, some backups were destroyed also on many server machines. You can read more about this here . Most likely it was a Ransom… Read More »

Remote desktop from Mac to Windows and input control matching.

Recently working from home I needed to use remote desktop connection from Mac to Windows computer. Microsoft remote desktop client is available on the App Store. There was no problem with Microsoft Remote Desktop installation on Mac laptop and connection to Windows PC. The main difficulties appeared with using Mac keyboard with Windows applications. Later… Read More »

The GPG_TTY environment variable or github commit problem

I used a lot of different source control systems: SVN, CVS, Rational ClearCase, Perforce Helix, Bitbucket and others. Currently I am on github. Github looks indeed complex, even after Bitbucket which is based on git solution as well. Recently I cloned my repository on new Azure Linux virtual machine, everything was OK until commit step.… Read More »

Get Thumbprints from Windows Catalog File on Linux

This article is related to the “Windows Catalog Files” post and describes how to parse catalog file using posix c++ on Linux platform. On Windows as it is mentioned in “Windows Catalog Files” it is possible to retrieve thumbprints with mscat.h API. The Linux parsing method is based on searching positions of some OIDs… Read More »

Simple WebSocket Test on the Server Side

WebSocket protocol is a suitable way to create a reliable two directional connection between a server and a client. WebSocket is using the same ports as HTTP/HTTPS protocols: 80 and 443. However very frequently WebSocket is not such transparent as HTTP and may be blocked by firewalls, proxy or antivirus applications. Anyway if multiple WebSocket… Read More »

Windows Catalog Files

Windows Catalog file is used to store hash checksums or thumbprints of any collection of files to validate its authenticity. Besides the Catalog file may be digitally signed and be used as group digital signature of the files which thumbprints are presented in this Catalog file. Catalog file may be generated from text catalog definition… Read More »

Alice, Bob and Asymmetric Cryptography

I suppose a lot of people know about Alice and Bob, the characters of many cryptographic tales. Previously I posted article “Encrypt and Decrypt Data on Linux Devices using OpenSSL” which explains how encrypt and decrypt files in symmetric way, currently I want to do the same using asymmetric cryptography, exactly how Alice and Bob… Read More »