Skip to content

iamfatinilham/gpg-quick-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GNUPG PGP RSA Terminal Quick Backup Utility (GQB)

Version: 0.0.0.1 (Alpha)

Created by Fatin Ilham

A command line tool (GUI version coming soon) for automatically organizing your GNUPG PGP keys.

This tool is useful for people who would like to backup PGP keys like GPA (GNU Privacy Assistant). But does not have any graphical user interface.

  • Good for people who prefer terminal over graphical user interface.

Features

  • GPA (GNU Privacy Assistant) like Key Backup
  • Advanced backup.
  • Automatically compressing.
  • Cross platform: [ Linux, Android (Termux) ]

Run Directly

  • Clone the project

  git clone https://github.com/iamfatinilham/gpg-quick-backup.git
  • Go to directory

  cd $PWD/gqb/source/
  • Give executable permissions

  chmod +x gqb-cli.sh
  • Run the script

  ./gqb-cli.sh
  • To see help :

  ./gqb-cli.sh --help

Setup

Dependencies

  • To make the program run smoothly, these dependencies are recomended. Although, the program will tell you which dependencies to install using your package manager.

    The following dependencies are needed:

    • gnupg
    • 7zip
    • qrencode
    • dialog (Not needed for now.) [ Only for GUI ]
    • whiptail (Not needed for now.) [ Only for GUI ]

To install this tool to your system...

You need sudo permissions.

  • Clone the project

  git clone https://github.com/iamfatinilham/gpg-quick-backup.git
  • Go to directory

  cd $PWD/gqb/
  • Give executable permissions

  sudo chmod +x build.sh
  sudo chmod +x clean.sh
  sudo chmod +x setup/setup.sh
  • Run setup script

  sudo ./build.sh
  cd setup/
  cd ./setup.sh
  • And you are done...

Folder/Archive Structure

  • FlowChart_1.jpg

  • FlowChart_2.jpg

FAQ

1. Why the script does not work as I intended?

  • Answer: As the script is currently in development, some commands or arguments may conflict with each other.

2. Is this script safe?

  • Answer: It is always a good practice to verify scripts before running them. Especially scripts handeling sensitive info such as PGP key pairs. I try my best to make the script as secure as possible.

    • I added SHA512 hashes in PreCalculated_SHA512/ folder in source/ folder

    • You can advise me about anything in the Issues

Usage/Examples

Remember, if you are running the script without installing, add ./ before the script (gqb-cli.sh) name.

  • This will guide you step by step and configure default settings for you.

  gqb-cli
  • To add a QR code in KeyPair file,

  gqb-cli --qr
  • To set the QR code type,

  gqb-cli --qr -qrt [TYPE]

You have to replace [TYPE] with

ANSIUTF8 (Default)

ANSIUTF8i

ASCII

ASCIIi

Contributing

Contributions are always welcome!

Everyone Deserves Privacy.

  • But for now, I am developing it by myself.

    This is my first project.

Author

License

About

A GNUPG PGP RSA Quick Terminal Backup Utility

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages