This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding=utf-8 | |
import hashlib | |
from django import forms | |
from .khipu_settings import USER_ID, USER_KEY | |
class KhipuPaymentForm(forms.Form): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "Super TBK Cert Generator 3.0" | |
echo " by @fceruti ⌐■-■\n" | |
read -p "Ingresa tu código de comercio: " given_commerce_code | |
COMMERCE_CODE="5970$given_commerce_code"; | |
openssl genrsa -out $COMMERCE_CODE.key 2048 >> /dev/null 2>&1 | |
echo ".\n.\n.\n.\n.\n$COMMERCE_CODE\n.\n.\n" | openssl req -new -key $COMMERCE_CODE.key -out $COMMERCE_CODE.csr >> /dev/null 2>&1 |