Press "Enter" to skip to content

Category: Life: Work and Techy

Getting Mailvelope working on Brave Browser

For the last few years, I’ve been using Brave as my primary web browser due to its advert and tracking blocking abilities – extremely useful on YouTube! It’s based on Chromium (like Google Chrome and Microsoft Edge), but more privacy/anti-ad orientated. I’ve also been wanting to GPG/PGP sign some emails using my web based email clients so I’ve installed the Mailvelope plugin from the Google Chrome store and in conjunction with GPG4Win it means I should have access to all the PGP and GPG keys stored on my Windows 10 machine… Except it doesn’t work – it fails to list any installed keys… Why? Well, it all comes down to a Chrome based protocol called NativeMessaging which requires software (such as GPG4Win) to registered their “acknowledgement” of browser plugins such as Mailvelope by adding (in the case of Windows) various registry settings for the browser to read and interlink. In the case of Brave, it appears the others of GPG4Win aren’t (currently) aware of it and so don’t set the various registry settings for it to work correctly – and Brave, unlike Microsoft Edge, has no “fall back” facilities to check other browsers for their Native messaging setup. I have…

iPhone Windows 10 Microsoft Store Firmware location

I’ve just been trying to recover an old iPhone 5s which is stuck in recovery (DFU) mode and whilst I haven’t yet had any luck getting beyond the Apple logo yet, I hope the following information may help others. I installed iTunes 12.10.7.3 on my Windows 10 Professional machine using the Microsoft Store (which now appears to be the preferred way Apple is distributing it) and I connected it up, it saw the iPhone and downloaded the 2.9Gb firmware. I did then try a few other applications to try and fix the Apple iPhone but they needed the firmware – but where was it on my machine? A few sites suggested checking C:\Users\<Username>\AppData\Roaming\Apple Computer\iTunes – but that path was empty for me. However, using Windows 10’s resource monitor, I soon spotted the firmware file was at C:\Users\<Username>\AppData\Local\Packages\AppleInc.iTunes_nzyj5cx40ttqa\LocalCache\Roaming\Apple Computer\iTunes\iPhone Software Updates\iPhone_4.0_64bit_12.4.7_16G192_Restore.ipsw I suspect the name of the “Package” may differ between iTunes versions, but that should help guide you to the iPhone IPSW firmware file (which I could have also downloaded from http://updates-http.cdn-apple.com/2020SpringFCS/fullrestores/061-94832/B6D93224-1059-4DF0-9438-78CD3BED57FE/iPhone_4.0_64bit_12.4.7_16G192_Restore.ipsw – but “guessing” that URL might have been tricky).

Windows 10 OpenSSH – Configuring Windows Git

This article is the last of a series I’ve written about migrating from using PuTTy on Windows to using the native OpenSSH client now available on Windows 10: you can read the rest of the articles via: Installation Storing keys using the SSH Agent Importing existing keys Creating a new public/private key pair Other useful OpenSSH commands Configuring Windows Git < You are here If you are using Git for Windows and had previously been using PuTTy, you need to make a small tweak to the configuration for Git to use Windows 10’s OpenSSH client. If you’ve been getting an error like: FATAL ERROR: Disconnected: No supported authentication methods available (server sent: publickey) fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. when running git clone, but a test such as ssh git@github.com works, then you need to do the following steps. (Perhaps optional): Uninstall Git if you already have it installed. In theory, this can be done from Window’s “Add or Remove Programs”, but this was playing up for me. If you go into C:\Program Files\Git there should be a unins000.exe executable which will remove Git for you…

Windows 10 OpenSSH – Useful commands

This article is the fifth of a series I’ve written about migrating from using PuTTy on Windows to using the native OpenSSH client now available on Windows 10: you can read the rest of the articles via: Installation Storing keys using the SSH Agent Importing existing keys Creating a new public/private key pair Other useful OpenSSH commands < You are here Configuring Windows Git Check the keys have been imported to the SSH agent ssh-add -l 2048 SHA256:9hLEuBRdTBGDmAWxaDXhSwvqYLGVxDVtGiMumz9NUak C:\Users\userName/.ssh/id_rsa (RSA) Show the public keys in the ssh-agent ssh-add -L ssh-rsa AAAAB3Nza…1F53nyTYMlmtcrZZp C:\Users\userName/.ssh/id_rsa Delete all keys from the ssh-agent ssh-add -D : hope you kept a backup! Delete a specific key from the ssh-agent ssh-add -d C:\Users\userName/.ssh/id_rsa

Windows 10 OpenSSH – Creating a new private/public key pair

This article is the fourth of a series I’ve written about migrating from using PuTTy on Windows to using the native OpenSSH client now available on Windows 10: you can read the rest of the articles via: Installation Storing keys using the SSH Agent Importing existing keys Creating a new public/private key pair < You are here Other useful OpenSSH commands Configuring Windows Git If you need a new SSH key pair for Github, Bitbucket, AWS, your own SSH server etc, then the easiest way to generate one is from your user’s PowerShell using the command: ssh-keygen -o (the -o argument indicates to use the newer OpenSSH format rather than the pre-2014 older PEM format) This will produce output such as: ssh-keygen -o Generating public/private rsa key pair. Enter file in which to save the key (C:\Users\userName/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in C:\Users\userName/.ssh/id_rsa. Your public key has been saved in C:\Users\userName/.ssh/id_rsa.pub. The key fingerprint is: SHA256:9hLEuBRdTBGDmAWxaDXhSwvqYLGVxDVtGiMumz9NUak userName@machineName The key’s randomart image is: +—[RSA 2048]—-+ | …oOOo=*o | | .o.*+@o .. | | ..o= & o | | .++ E = | |.o= = S | |.= . . o…