Skip to content

Make GPG optional #2

@diegobfernandez

Description

@diegobfernandez

I can't use the plugin because I don't have GPG installed. I have no plans on encrypting the connection files as I am only connecting to local databases that are already pretty accessible.

This is the output I get when running :PGConnectBuffer

E5108: Error executing lua .../site/pack/packer/start/plenary.nvim/lua/plenary/job.lua:106: /usr/bin/gpg: Executable not found

stack traceback:
        .../site/pack/packer/start/plenary.nvim/lua/plenary/job.lua:106: in function 'new'
        ...pack/packer/start/pg.nvim/lua///get_connection_files.lua:6: in function 'load_encrypted_file'
        ...pack/packer/start/pg.nvim/lua///get_connection_files.lua:32: in function 'load_file'
        ...pack/packer/start/pg.nvim/lua///get_connection_files.lua:59: in function 'get_connection_files'
        ...hare/nvim/site/pack/packer/start/pg.nvim/lua/pg-nvim.lua:57: in function 'ConnectBuffer'
        [string ":lua"]:1: in main chunk
stack traceback:
        [C]: in function 'error'
        .../site/pack/packer/start/plenary.nvim/lua/plenary/job.lua:106: in function 'new'
        ...pack/packer/start/pg.nvim/lua///get_connection_files.lua:6: in function 'load_encrypted_file'
        ...pack/packer/start/pg.nvim/lua///get_connection_files.lua:32: in function 'load_file'
        ...pack/packer/start/pg.nvim/lua///get_connection_files.lua:59: in function 'get_connection_files'
        ...hare/nvim/site/pack/packer/start/pg.nvim/lua/pg-nvim.lua:57: in function 'ConnectBuffer'
        [string ":lua"]:1: in main chunk
E5108: Error executing lua .../site/pack/packer/start/plenary.nvim/lua/plenary/job.lua:106: /usr/bin/gpg: Executable not found

stack traceback:
        .../site/pack/packer/start/plenary.nvim/lua/plenary/job.lua:106: in function 'new'
        ...pack/packer/start/pg.nvim/lua///get_connection_files.lua:6: in function 'load_encrypted_file'
        ...pack/packer/start/pg.nvim/lua///get_connection_files.lua:32: in function 'load_file'
        ...pack/packer/start/pg.nvim/lua///get_connection_files.lua:59: in function 'get_connection_files'
        ...hare/nvim/site/pack/packer/start/pg.nvim/lua/pg-nvim.lua:57: in function 'ConnectBuffer'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions