Skip to content

reavon/jbin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quality of life scripts

git clone [email protected]:reavon/bin.git ~/.bin

awsinfo

Prerequisite: python3, boto3

Returns account number, region, account alias

decode-message

Prerequisite: awscli, jq

Use when Amazon gives you an "Encoded authorization failure message" and you need to turn it into something readable.

latest-python

Prerequisite: pyenv

Downloads, compiles and installs the latest python and sets global python version to use.

smartcard

99999 stands in for your PIV PIN

  • pip install cryptography PyKCS11
  • python smartcard certs 999999

By inspection, choose which certificate to export. Then, run it again to export the certificate you wanted:

python smartcard.py openssh 999999 --cert 0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published