Last active
July 21, 2023 14:22
-
-
Save cwharris/4726e646332354bcb757d36755ec6f9f to your computer and use it in GitHub Desktop.
Install 1Password
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# wget -O - <this gist> | bash | |
set -Eeox pipefail | |
# install 1password | |
sudo apt-get -y install curl | |
curl -sS https://downloads.1password.com/linux/keys/1password.asc | sudo gpg --dearmor --output /usr/share/keyrings/1password-archive-keyring.gpg | |
echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/1password-archive-keyring.gpg] https://downloads.1password.com/linux/debian/amd64 stable main' | sudo tee /etc/apt/sources.list.d/1password.list | |
sudo mkdir -p /etc/debsig/policies/AC2D62742012EA22/ | |
curl -sS https://downloads.1password.com/linux/debian/debsig/1password.pol | sudo tee /etc/debsig/policies/AC2D62742012EA22/1password.pol | |
sudo mkdir -p /usr/share/debsig/keyrings/AC2D62742012EA22 | |
curl -sS https://downloads.1password.com/linux/keys/1password.asc | sudo gpg --dearmor --output /usr/share/debsig/keyrings/AC2D62742012EA22/debsig.gpg | |
sudo apt-get -y update | |
sudo apt-get -y install 1password |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment