I am trying to validate whether a gpg file got expired or not. As first step I am trying to get the key of the file using node gpg package Method: gpg.importKey