User Tools

Site Tools


linux:security:password:password-manager:keepassxc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:security:password:password-manager:keepassxc [2021/11/09 23:43] chucklinux:security:password:password-manager:keepassxc [2022/03/03 11:43] (current) – [AppImage] chuck
Line 48: Line 48:
 ---- ----
  
 +===Script it!===
 +  * Here's a script I wrote to install/update the AppImage:<code bash>
 +#!/usr/bin/env bash
 +
 +latest="https://api.github.com/repos/keepassxreboot/keepassxc/releases/latest"
 +
 +# Import keepassxc's gpg key
 +if ! gpg --list-keys 0xCFB4C2166397D0D2; then
 +  gpg --fetch-keys https://keepassxc.org/keepassxc_master_signing_key.asc
 +fi
 +
 +printf '\n%b\n\n' "\e[1;34mDownloading the files.\e[0m"
 +
 +# Download the files
 +curl -s "$latest" | awk -F': ' '/browser_download_url/ && /\.AppImage/ && !/zsync/ {gsub(/"/, "", $(NF)); system("curl -LO " $(NF))}'
 +
 +# Verify and install the appimage
 +printf '\n%b\n\n' "\e[1;34mVerifying the files.\e[0m"
 +if shasum -c KeePassXC-*.AppImage.DIGEST; then
 +  if gpg --verify KeePassXC*.AppImage.sig KeePassXC*.AppImage; then
 +    mv -f KeePassXC*.AppImage ~/.local/bin/keepassxc && \
 +    chmod +x ~/.local/bin/keepassxc && \
 +    pkill -f keepassxc && \
 +    gtk-launch keepassxc.desktop && \
 +    rm -f KeePassXC*.AppImage*
 +  else
 +    printf '\n%b\n' "\e[1;31m[ERROR] Problem with signature!\e[0m"
 +  fi
 +else
 +  printf '\n%b\n' "\e[1;31m[ERROR] Problem with checksum!\e[0m"
 +fi
 +</code>
 +
 +----
 =====keepassxc-cli===== =====keepassxc-cli=====
 There's a small difference in using the ''%%keepassxc-cli%%'' depending on the method used to install. Note the hyphen ''%%-%%'' usage. There's a small difference in using the ''%%keepassxc-cli%%'' depending on the method used to install. Note the hyphen ''%%-%%'' usage.
Line 62: Line 96:
   * https://keepassxc.org   * https://keepassxc.org
   * https://keepassxc.org/verifying-signatures/   * https://keepassxc.org/verifying-signatures/
 +  * https://keepassxc.org/docs/KeePassXC_UserGuide.html
   * https://packages.debian.org/bullseye/keepassxc   * https://packages.debian.org/bullseye/keepassxc
   * https://manpages.debian.org/testing/keepassxc/keepassxc.1.en.html   * https://manpages.debian.org/testing/keepassxc/keepassxc.1.en.html
   * https://manpages.debian.org/unstable/keepassxc/keepassxc-cli.1.en.html   * https://manpages.debian.org/unstable/keepassxc/keepassxc-cli.1.en.html
linux/security/password/password-manager/keepassxc.1636501413.txt.gz · Last modified: by chuck