Skip to content

Instantly share code, notes, and snippets.

View slavama's full-sized avatar

Slava slavama

  • Asia/Krasnoyarsk
View GitHub Profile
@slavama
slavama / admin.py
Created March 28, 2022 07:38 — forked from herotux/admin.py
django rest api framework session auth example
from django.contrib import admin
from .models import User
admin.site.register([User])
@slavama
slavama / gost_engine.sh
Created January 23, 2019 11:09 — forked from shadz3rg/gost_engine.sh
Настройка ГОСТ OpenSSL под Ubuntu 18.04
# Ubuntu 18.04.1 LTS (GNU/Linux 4.15.0-36-generic x86_64)
# (из коробки) OpenSSL 1.1.0g 2 Nov 2017
# (из коробки) curl 7.58.0 (x86_64-pc-linux-gnu)
# PHP 7.2.10-0ubuntu0.18.04.1 (cli) (built: Sep 13 2018 13:45:02) ( NTS )
# Компилим GOST-engine
sudo apt install cmake libssl-dev
git clone --branch=openssl_1_1_0 https://github.com/gost-engine/engine.git gost-engine/engine
cd gost-engine/engine
cmake .