Can not install Modern Fortran on remote machine - Signature verification failed

I met a problem on installing Modern Fortran in vscode when I connected to a remote machine

The Modern Fortran works well on my local machine and in the WSL

However, when I connected to a remote machine by ssh on vscode, the Modern Fortran can not be installed. Vscode says “Signature verification failed with ‘NotSigned’ error.”

I have been able to install other extensions with no trouble, such as C/C++ Extension Pack and Python. I am confused about the problem of Modern Fortran

Some related information
vscode version: 1.102.0
Modern Fortran version: 3.2.0
local machine: windows 11
remote machine: ubuntu 20.04.1

Okey, a practical method is to install Modern Fortron on the remote machine by using the VSIX file directly

May it be helpful for others

Hi, I’m having this issue as well on an Ubuntu 20.04.6 remote. Installing from VSIX seems to work. One way to do it is

  • On the Modern Fortran extension page in vscode on the remote, click the gear icon, choose “Download VSIX”.
  • In the vscode Command Palette when connected to the remote, paste ext install fortran-lang.linter-gfortran, choose “Extensions: Install from VSIX” and point to the file.
1 Like