Written for fairly adept technical users, preferably of Debian GNU/Linux, not for absolute beginners.
You'll probably be working with a single smartcard, so you'll want only one primary key ( |
import base64 | |
from http import HTTPStatus | |
from http.server import BaseHTTPRequestHandler | |
import json | |
import logging | |
from random import randint | |
import sys | |
import socketserver | |
import threading |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python3 | |
import datetime | |
import argparse | |
import re | |
DT_NOW = datetime.datetime.now() | |
def mkdate(datestring): | |
if isinstance(datestring, datetime.datetime): |
#!/bin/bash | |
# https://gist.github.com/koenpunt/40c0b042c453a1add0e8 | |
# | |
# Check if the user is in the right group | |
# and afterwards retrieve the SSH public key from LDAP | |
# Logs directly in Syslog | |
# requires ldap-utils | |
# | |
# sshd_config for OpenSSH 6.2 or higher: | |
# |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import requests | |
USERNAME = "admin2" | |
PASSWORD = "not-very-secret" | |
APIURL = "http://127.0.0.1:8080/api/v3" # no trailing slash | |
PROJECT_NAME = "otrs" |
#!/usr/bin/env python | |
# -*- coding: UTF-8 -*- | |
# Copyright 2017 frennkie (https:/github.com/frennkie) | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is |