drduh
94919459a6
Update gpg prefs, style and fix #21 .
6 years ago
Matt T. Proud
7746c3381a
Emphasize keytocard danger and fix inconsistency.
...
This commit applies a few editorial cleanups to the document:
1. `keytocard` operations now contained emphasized warnings to convey
that these operations are destructive. I unknowingly made this
mistake a few years ago and only learned of it recently. For that
reason, we should go out of our way on user's behalf with due
diligence warnings.
2. `$KEYID` was not uniformly used throughout the document in various
command line input literals. This is now fixed.
3. `YubiKey` was often represented as `Yubikey` and other
inconsistent forms throughout the document. This is now fixed,
except in cases of URL, command output, etc.
6 years ago
drduh
a68fa27309
Merge pull request #79 from Wheest/master
...
Agent Forwarding
6 years ago
Wheest
4e23c63bb4
Agent Forwarding
...
Was looking at how to access on remote machines, is a standard ssh workflow, but might be useful to have it here too.
6 years ago
Brice Gagnage
86e03e6d09
final draft
6 years ago
Brice Gagnage
ee30767612
final draft
6 years ago
Brice Gagnage
ffd7b674c8
updated draft
6 years ago
Brice Gagnage
95624e2c48
first draft
6 years ago
Brice Gagnage
1c15d89a54
maow
6 years ago
Brice Gagnage
92467bc126
test
6 years ago
Brice Gagnage
f39b92ae45
test sign
6 years ago
Brice Gagnage
2b5891294a
Update README.md
...
continuing
6 years ago
Brice Gagnage
afc8580b0d
Update README.md
...
test
6 years ago
drduh
d818b03cdc
Grammar and lint. Fix #73 .
6 years ago
Julian Hernandez
857adb26a2
Update live Debian version to 9.6.0
6 years ago
Dino Bajramovic
472d85d12b
fix typo
6 years ago
drduh
f1a97fc6d5
Note about gpg public key
6 years ago
loys ollivier
6f76e6a197
Update README.md
...
gpg option to edit card info is now `--card-edit` and not `--edit-card`
6 years ago
Ian Brown
d02766389d
Add packages to apt-get list to fix gpg --recv and srm commands
...
Two commands mentioned later in the document won't work without two packages that don't come pre-installed with the Debian LiveCD: dirmngr and secure-delete.
6 years ago
drduh
96af4d3b3b
Merge pull request #70 from jwilk-forks/gpg-verify
...
Fix live image integrity check
6 years ago
Jakub Wilk
d7a14b078c
Fix live image integrity check
...
"gpg SHA512SUMS.sign" would do the right thing only if the file actually
contained a detached signature.
Use explicit and robust "gpg --verify SHA512SUMS.sign SHA512SUMS"
instead.
6 years ago
Jakub Wilk
3be71bd253
Fix typos
6 years ago
drduh
27bef99239
Massive style revision and version update
6 years ago
Ben Low
34a5502477
typos
6 years ago
Ben Low
52c8324fa2
Expand on ssh identies usage.
6 years ago
Ben Low
aad57241e9
Fix key label, consistency.
6 years ago
Ben Low
b67776a2b2
Fix TOC, spelling.
6 years ago
Ben Low
d33252848d
Added information on `gpg-agent`.
6 years ago
Jonah Aragon
840b4069f2
Fix "signingkey" typo
6 years ago
Vadim Zendejas
dad5bcd5fc
Added comment on GitHub Authetication for only Windows
6 years ago
Vadim Zendejas
acfdcacec5
Added veracrypt.fr link to pre-compiled execs
...
Added veracrypt.fr link to pre-compiled execs
6 years ago
Mirko Pizii
ad8cf8cd3a
Fix spaces for README
6 years ago
Mirko Pizii
ee8fcb3805
Fix link of summary list
6 years ago
Wheest
ecbe6e7b19
Fixing signature file fetch command for ykpers
6 years ago
drduh
25c8e23b8f
Emphasize live distro to fix #45
6 years ago
drduh
a470da3af7
Update introduction, fix formatting and fix #46
6 years ago
drduh
d07007a368
Fix up some formatting
6 years ago
drduh
254fd2c3d2
Formatting fix.
6 years ago
Jonathan Holtmann
eadd3bb2f5
Fixed menu
6 years ago
Jonathan Holtmann
ba382ce551
Added information on how to perform the YubiKey GPG setup and SSH authentication on Windows devices
6 years ago
drduh
478eb05de2
Mention Purse
6 years ago
drduh
b9cd480f7a
Note on keeping backup mounted for 2xkeys. Fix #44
7 years ago
drduh
fc429bf892
Remove obsolete option, add troubleshooting item
7 years ago
drduh
2cc0f7101e
Additional troubleshooting step and openbsd note
7 years ago
Michael Brown
17581cfd82
Remove outdated config from gpg.conf
...
Removing configuration paramaters no longer supported in GPG 2.X
Related to #28
7 years ago
James Wu
79dac3ec7d
add explicit public key naming for IdentitiesOnly usage
7 years ago
W1lkins
9a21477481
install hopenpgp-tools as it is used in section https://github.com/drduh/YubiKey-Guide\#check-your-work where an apt-get command is listed
7 years ago
Marjan Grabowski
f14d756578
Change rights of 'gpg.conf' to avoid warning
7 years ago
Nick Sandford
71b5e69cf1
Use gpgconf to get the ssh auth sock.
7 years ago
Philipp Eckel
dcadfbdccd
remove not need keyserver certificate, see https://github.com/drduh/YubiKey-Guide/issues/48
7 years ago
Philipp Eckel
161dea9e92
remove outdated use-standard-socket option from SSH config, see here: https://www.gnupg.org/documentation/manuals/gnupg/Agent-Options.html
7 years ago
drduh
e0430a0698
Formatting nit
7 years ago
drduh
5ecf1046a9
Formatting fix
7 years ago
kiralex
02bfc69c2a
Update README.md
7 years ago
kiralex
badf3cc5d9
fix ssh-agent does not work on archlinux
7 years ago
drduh
baf1e6676e
Mention ssh multiplex to ease multiple connections
7 years ago
drduh
e3c0512b21
Describe status if public key not imported, fix #6
7 years ago
drduh
5d452a9190
Reference paper backup instructions, fix #3
7 years ago
drduh
6f199ec00e
Document error from Debian 9
7 years ago
drduh
7c0ea30e53
Document ssh-add error
7 years ago
Philipp Eckel
6dde3bda33
emphasize 2048 bit as the correct key size for the YubiKey Neo
7 years ago
Philipp Eckel
109de3011d
fix exporting KEYID
7 years ago
Ben Low
bcada3f2cc
Whitespace fixes.
7 years ago
Ben Low
a010a2a752
Updated to gpg 2.2.1, and added some macOS references.
7 years ago
Aleksandr Vinokurov
9336fc1317
Replace hkt with gpg to fix unsupported GnuPG 2.1
...
hkt does not support GnuPG 2.1 because it expects gpg pubring.
But the export can be done by gpg itself.
7 years ago
Brendan Rius
c871adc904
Make hkt respect custom $GNUPGHOME
7 years ago
Dawid Łakomski
07752240cb
Add information about composite USB mode on YK with firmware >=3.3
7 years ago
drduh
1ad37577db
Use require-cross-certification option. Fix #14 .
8 years ago
drduh
94ada05473
Plug in YubiKey correctly. Fix #9 .
8 years ago
drduh
ac66a81a35
Merge pull request #24 from wsargent/patch-3
...
Use AES256 for private key password encryption
8 years ago
Will Sargent
8515aaf839
Use AES256 for private key password encryption
...
Adds
```
s2k-cipher-algo AES256
```
to the GPG configuration, per https://pthree.org/2015/11/19/your-gnupg-private-key/
> --s2k-cipher-algo name
> Use name as the cipher algorithm used to protect secret keys. The default cipher is CAST5. This cipher is also used for symmetric encryption with a passphrase if --personal-cipher-preferences and --cipher-algo is not given.
https://www.gnupg.org/documentation/manuals/gnupg-2.0/OpenPGP-Options.html#index-s2k_002dcipher_002dalgo
8 years ago
Will Sargent
ff871a254d
Use signing subkey
...
The signature was made using `0xBECFA3C1AE191D15`, and has to be used with the signing key, not the root key.
I can verify this with my own key -- using the keyid doesn't work:
```
~ echo "$(uname -a)" | gpg --armor --clearsign --default-key 0xB1A9D5A2A605F794
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Linux Puget-153699 4.4.0-38-generic #57-Ubuntu SMP Tue Sep 6 15:42:33 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
-----BEGIN PGP SIGNATURE-----
iQIcBAEBCgAGBQJX5aWdAAoJECaAG7YBLqXZi1EP/3R4oOdkXqZXcskwzfjBXa68
oZeKxTB8i74tSPXp0SL26+ULOQ6GRJdIFod2MQtqfjeu6dyNEbIBF1pHWnyLx4Bn
p/+ROoOTiBSFEWPts++yYhmo0tS0cXPv6QPCYqj4mPkJe6u8wVp5hkoyujL/k9bs
cAZSbeyV/hggS0rFTN4/5AeUky4LJPrWYkAiln7D0PVQeZc6DFlDpeup1Az7hWV5
ImRglAfoacNq+0LWslnc51/4knFGC/k4RS/QAyfUNJG/yy/ZZs6FNc7FjyZkw87E
yRqqSPkuL64BmzNxmfKnwgMAesaq8D674lRb7b9TC8sQuuelcbgPkCCDioRmCSWh
+NIe+pwWLIXHSwQntO2FblGFL+IeDYBZy3P5nO+N12EHn2oS2psep04STq5cjRaa
PTMopcDsThzXljn8b6p+Iu2BaFiMkEwpAD8f0knR4DZzorpgMjIV0mEdeDuTzC1L
dPHc7uZsTSSTEgxm7JO8x1h3hfwqX+KvVhmo0SgvwexqsmH7+b6j948RPGSCGBys
wS8HEQgzgznQYSxqnCHvuDT9cIuyuCi9BZfqvRy3NSa+ixKMHJ4n2rFWlw8WbvTm
tKFumm2z3z9JkijzJFj4sHETebaa2ip/TxeQvhFD/jEBB1XaqneDw1UaRll+6auA
K6naZ0LzZx2cOzJpn4xN
=TVTZ
-----END PGP SIGNATURE-----
~
~ gpg
gpg: Go ahead and type your message ...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Linux Puget-153699 4.4.0-38-generic #57-Ubuntu SMP Tue Sep 6 15:42:33 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
-----BEGIN PGP SIGNATURE-----
iQIcBAEBCgAGBQJX5aWdAAoJECaAG7YBLqXZi1EP/3R4oOdkXqZXcskLinux Puget-153699 4.4.0-38-generic #57-Ubuntu SMP Tue Sep 6 15:42:33 UTC 2016 x86_64 x86_64 x86_64 GNU/LinuxwzfjBXa68
oZeKxTB8i74tSPXp0SL26+ULOQ6GRJdIFod2MQtqfjeu6dyNEbIBF1pHWnyLx4Bn
p/+ROoOTiBSFEWPts++yYhmo0tS0cXPv6QPCYqj4mPkJe6u8wVp5hkoyujL/k9bs
cAZSbeyV/hggS0rFTN4/5AeUky4LJPrWYkAiln7D0PVQeZc6DFlDpeup1Az7hWV5
ImRglAfoacNq+0LWslnc51/4knFGC/k4RS/QAyfUNJG
/yy/ZZs6FNc7FjyZkw87E
yRqqSPkuL64BmzNxmfKnwgMAesaq8D674lRb7b9TC8sQuuelcbgPkCCDioRmCSWh
+NIe+pwWLIXHSwQntO2FblGFL+IeDYBZy3P5nO+N12EHn2oS2psep04STq5cjRaa
PTMopcDsThzXljn8b6p+Iu2BaFiMkEwpAD8f0knR4DZzorpgMjIV0mEdeDuTzC1L
dPHc7uZsTSSTEgxm7JO8x1h3hfwqX+K
vVhmo0SgvwexqsmH7+b6j948RPGSCGBys
wS8HEQgzgznQYSxqnCHvuDT9cIuyuCi9BZfqvRy3NSa+ixKMHJ4n2rFWlw8WbvTm
tKFumm2z3z9JkijzJFj4sHETebaa2ip/TxeQvhFD/jEBB1XaqneDw1UaRll+6auA
K6naZ0LzZx2cOzJpn4xN
=TVTZ
-----END PGP SIGNATURE-----
gpg: Signature made Fri 23 Sep 2016 02:58:53 PM PDT
gpg: using RSA key 0x26801BB6012EA5D9
gpg: BAD signature from "Will Sargent <will.sargent@lightbend.com>" [ultimate]
```
but using the signing key does work:
```
✘ ~ echo "$(uname -a)" | gpg --armor --clearsign --default-key 0x26801BB6012EA5D9
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Linux Puget-153699 4.4.0-38-generic #57-Ubuntu SMP Tue Sep 6 15:42:33 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
-----BEGIN PGP SIGNATURE-----
iQIcBAEBCgAGBQJX5aagAAoJECaAG7YBLqXZvZwP/21yoEQ3hI9hP0QyrFJu/T/0
sD9Y+DGQHBU5WaII3/iVgBN2V3EQwlzX8dP4/LfTm7NQ0M2flgbPbqf/rUYLQQZg
lO489XbI78kk80b3kDebkautN5rQhkU0ZAy/WfDdKmwGnF1hEXzYqEwI5S0tGddT
cKt0U3cZ0XuOI7pdtSOD423tNV4l45sIAT/ndAsgpbzT0ZTkza65V/RHWqGQDDT1
VB6WKmuqOca1gTDYGlW5yITfOqdWjB30ljLjuOjFJjcOunJQmlSRDMGyjfdzF3ec
X1/+vLKnI0M2ipFaxKTtjdCTo8+26wjExdGca6Sy8v9M0zBjA2vgCGBTwCpXkMQE
4HFZ6N0+6k/3icyNALJhHSRkApNom3ZqINntDNNcN/tyHZVUijb5/hfv7W4D5LSe
8b1/UbF/R46w21sgR4Rzfv5EsbZkkjWx65hTXYWByf4PqZ7NiJJGbETpPC8wSc+4
oZNk9SLZunzE2Gemk2CXu7VXR58BIP014FHjU4FN7k54ZGn7IzU2xfKCZ+se7pFh
SzWIrDhZP5vsbCMbh4HzD4WFPLteNOdV+nkHi4iaSXc7UQfdgZIeKb2ljbjJTmN4
fyi/Zjk0+29pwB+W5iWD4AoKqzSsHMCrK73KRyAHcFaHOHILl8grG0GsfJmPGHCz
Mm3O7IH5is7ZkvOmbUMY
=jQY+
-----END PGP SIGNATURE-----
~ gpg
gpg: Go ahead and type your message ...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Linux Puget-153699 4.4.0-38-generic #57-Ubuntu SMP Tue Sep 6 15:42:33 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
-----BEGIN PGP SIGNATURE-----
iQIcBAEBCgAGBQJX5aagAAoJECaAG7YBLqXZvZwP/21yoEQ3hI9hP0QyrFJu/T/0
sD9Y+DGQHBU5WaII3/iVgBN2V3EQwlzX8dP4/LfTm7NQ0M2flgbPbqf/rUYLQQZg
lO489XbI78kk80b3kDebkautN5rQhkU0ZAy/WfDdKmwGnF1hEXzYqEwI5S0tGddT
cKt0U3cZ0XuOI7pdtSOD423tNV4l45sIAT/ndAsgpbzT0ZTkza65V/RHWqGQDDT1
VB6WKmuqOca1gTDYGlW5yITfOqdWjB30ljLjuOjFJjcOunJLinux Puget-153699 4.4.0-38-generic #57-Ubuntu SMP Tue Sep 6 15:42:33 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
QmlSRDMGyjfdzF3ec
X1/+vLKnI0M2ipFaxKTtjdCTo8+26wjExdGca6Sy8v9M0zBjA2vgCGBTwCpXkMQE
4HFZ6N0+6k/3icyNALJhHSRkApNom3ZqINntDNNcN/tyHZVUijb5/hfv7W4D5LSe
8b1/UbF/R46w21sgR4Rzfv5EsbZkkjWx65hTXYWByf4PqZ7NiJJGbETpPC8wSc+4
oZNk9SLZunzE2Gemk2CXu7VXR58BIP014FHjU4FN7k54ZGn7IzU2xfKCZ+se7pFh
SzWIrDhZP5vsbCMbh4HzD4WFPLteNOdV+nkHi4iaSXc7UQfdgZIeKb2ljbjJTmN4
fyi/Zjk0+29pwB+W5iWD4AoKqzSsHMCrK73KRyAHcFaHOHILl8grG0GsfJmPGHCz
Mm3O7IH5is7ZkvOmbUMY
=jQY+
-----END PGP SIGNATURE-----
gpg: Signature made Fri 23 Sep 2016 03:03:12 PM PDT
gpg: using RSA key 0x26801BB6012EA5D9
gpg: Good signature from "Will Sargent <will.sargent@lightbend.com>" [ultimate]
gpg: aka "Will Sargent <will.sargent@gmail.com>" [ultimate]
Primary key fingerprint: 75E4 E7F9 1D18 D981 3028 64B1 B1A9 D5A2 A605 F794
Subkey fingerprint: ADB3 1ED0 EC01 44AF 8301 320D 2680 1BB6 012E A5D9
```
8 years ago
Will Sargent
e195a60ecc
Add $
8 years ago
Will Sargent
99aef6c70d
Add instructions for installing gnupg-curl
...
Fixes https://github.com/drduh/YubiKey-Guide/issues/5
8 years ago
Will Sargent
678c8a8da7
Prepend $
8 years ago
Will Sargent
9c5c247446
Add key checking
8 years ago
Will Sargent
8f8322a479
Add an extra error condition
8 years ago
Will Sargent
388f1599da
Discuss pinentry-gnome3
8 years ago
Will Sargent
25ec3400e6
Adds explanation of ssh-add -L option
8 years ago
Will Sargent
75c5c07e14
Change link
...
https://rnorth.org/8/gpg-and-ssh-with-yubikey-for-mac is https://rnorth.org/gpg-and-ssh-with-yubikey-for-mac now.
8 years ago
drduh
3964cd9e5f
Followed my own guide to make new keys; refresh
8 years ago
drduh
cb6bfd972e
Merge pull request #1 from victorso/patch-1
...
yubikey tails fix
8 years ago
Victor Fischer Scattone
bce316b45c
Export public key to file
...
The public key must be written on a file.
8 years ago
Victor Fischer Scattone
2de6ad9a99
yubikey tails fix
...
Fix to use the yubikey on Tails
8 years ago
drduh
da1ce278c6
Use variable to store Key ID
9 years ago
drduh
1c16d968e9
Add encrypted USB backup instructions, grammar fixes
9 years ago
drduh
e86af76264
Use IO rediction for revocation certificate step
9 years ago
drduh
c34f78044e
Fix up formatting.
9 years ago
drduh
f4c76ba210
Create local configuration, too
9 years ago
drduh
172a4292a5
Create README.md
9 years ago