Skip to content
This repository has been archived by the owner on Aug 15, 2018. It is now read-only.

Update auxiliary.sh gpg calls with calls to python scripts #28

Open
diveshuttam opened this issue Jun 1, 2018 · 4 comments
Open

Update auxiliary.sh gpg calls with calls to python scripts #28

diveshuttam opened this issue Jun 1, 2018 · 4 comments

Comments

@diveshuttam
Copy link
Contributor

gpg --version | head -n 1 | cut -d" " -f3

secret_keys=$(gpg --homedir="$gnupghome" --list-secret-keys --with-colons | grep '^sec' | cut -d: -f5)

keyinfo=$(gpg --homedir="$gnupghome" --list-keys --with-colons $key_id | grep '^pub:u:')

FPR=$(gpg --list-keys --fingerprint --with-sig-check --with-colons $GPG_KEY | grep '^fpr:' | cut -d: -f10 | head -n 1)

key_details=$(gpg --list-keys --with-colons $GPG_KEY)

[[ -n $(gpg --list-secret-keys --with-colons $key_id 2>/dev/null) ]]

fingerprint=$(gpg --with-colons --fingerprint $key_id | grep '^fpr' | cut -d: -f10 | head -n 1)

@diveshuttam diveshuttam changed the title Update platform.sh with gpg calls Update platform.sh gpg calls with calls to python scripts Jun 1, 2018
@diveshuttam
Copy link
Contributor Author

@diveshuttam diveshuttam changed the title Update platform.sh gpg calls with calls to python scripts Update auxiliary.sh gpg calls with calls to python scripts Jun 1, 2018
This was referenced Jun 1, 2018
@diveshuttam diveshuttam added the help wanted Extra attention is needed label Jun 2, 2018
@dashohoxha
Copy link
Member

Maybe we can skip this one too.

@dashohoxha dashohoxha added need not fix and removed help wanted Extra attention is needed labels Jul 13, 2018
@diveshuttam
Copy link
Contributor Author

added version using gpgme in #86

@dashohoxha
Copy link
Member

It was not necessary.
Actually the best thing would be to replace auxiliary.sh with auxiliary.py, instead of replacing single gpg occurrences. But this is useful only if you have a program that is 100% Python.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants