Send and verify a rfc3161 standard timestamp request
-
Create a timestamp request (tsq)
openssl ts -query -data file.txt -no_nonce -out request.tsqGot the hash already?
`openssl ts -query -digest b7e5d3f9319...
| #!/usr/bin/env python3 | |
| from cryptography.fernet import Fernet | |
| from kdf import derive_key | |
| passphrase = b"hunter2" | |
| f = Fernet(derive_key(passphrase)) | |
| with open('encrypted.txt', 'rb') as file: | |
| encrypted = file.read() # binary read |
Send and verify a rfc3161 standard timestamp request
Create a timestamp request (tsq)
openssl ts -query -data file.txt -no_nonce -out request.tsq
Got the hash already?
`openssl ts -query -digest b7e5d3f9319...
| # display all commits that are in develop but not in master | |
| git log master..develop | |
| # remove file from git tracking | |
| git rm --cached main.py |
| pragma solidity ^0.4.11; | |
| contract Purchase { | |
| uint public value; | |
| address public seller; | |
| address public buyer; | |
| enum State { Created, Locked, Refund, Inactive } | |
| // state init?? | |
| State public state = State.Created; |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/2.8.0/css/flag-icon.min.css"> | |
| {% for agency in agencies %} | |
| <div class="section"> | |
| <span class="flag-icon flag-icon-{{ agency.country|lower }}"></span> # here | |
| <div class="info rtl"> | |
| <h5>{{ agency.country.name }}</h5> | |
| <h5>{{ agency.agent_name }}</h5> | |
| <h5>{{ agency.email }}</h5> | |
| </div> |
| "\.\.\/(.+?)" | |
| "{% static '$1' %}" |
| # remove all stopped containers! | |
| docker container prune |
| apt-get install build-essential python3-dev python-dev libssl-dev libffi-dev |
| # -*- coding: utf-8 -*- | |
| #!/usr/bin/env python3 | |
| import PIL | |
| from PIL import ImageFont, Image, ImageDraw | |
| from bidi.algorithm import get_display | |
| import arabic_reshaper | |
| def rtl_fix(text): |