github.com/sentienttechnologies/studio-go-runner@v0.0.0-20201118202441-6d21f2ced8ee/assets/crypto/signer.sh (about)

     1  # Copyright 2020 (c) Cognizant Digital Business, Evolutionary AI. All rights reserved. Issued under the Apache 2.0 License.
     2  
     3  export PATH=$PATH:/root/.local/bin
     4  export EXP_DIR=`pwd`
     5  echo `pwd` >&2
     6  ls -alcrt
     7  eval "$(pyenv init -)"
     8  eval "$(pyenv virtualenv-init -)"
     9  which pip3
    10  which python3
    11  pip3 install pip==20.0.2 --user
    12  pip3 install --upgrade pip
    13  pip3 install pynacl==1.3.0
    14  pip3 install pycryptodome==3.9.7
    15  pip3 install paramiko==2.7.1
    16  python3 $EXP_DIR/signer.py $EXP_DIR/private $EXP_DIR/payload $EXP_DIR/signature