famedly / openpgp-scripts

Scripts for provisioning openpgp-ca keys, writing them onto yubikeys and storing the actual data encrypted on USB sticks.
GNU Affero General Public License v3.0
0 stars 0 forks source link

Fix oct card detection #6

Closed lrsksr closed 3 months ago

lrsksr commented 3 months ago

This line needs to look like this: IDENT=$(oct --output-format json list | jq '.idents.[0]' -r)

https://github.com/famedly/openpgp-scripts/blob/1205f8b9a6555b1cff19629d7a1123da9006807f/fos-new#L27

jdreichmann commented 3 months ago

@jcgruenhage has a pull request open for this