I called my certificate OTrecorderSign
$ vi *.c
$ make
$ codesign -f -s OTrecorderSign myprog
============= 01.json | |
{"_type":"cmd", "action":"reportLocation"} | |
ok -- validation done | |
The following files were checked: | |
01.json | |
============= 02.json | |
{"_type":"cmd", "action":"reportSteps"} | |
ok -- validation done |
{ | |
"type": "object", | |
"properties": { | |
"_type": { | |
"enum": [ "cmd", "waypoint" ] | |
}, | |
"action": { | |
"default": "dump", | |
"enum" : [ | |
"reportLocation", |
--- | |
- name: testplaybook | |
become: true | |
become_method: sudo | |
hosts: ansible-test | |
gather_facts: false | |
vars: | |
new_ip: 10.65.5.14 | |
interfaces_content: | | |
auto eth0 |
--- mosquitto.py.orig 2013-11-12 11:41:17.000000000 +0100 | |
+++ mosquitto.py 2013-11-13 08:44:31.000000000 +0100 | |
@@ -45,6 +45,11 @@ | |
import sys | |
import threading | |
import time | |
+HAVE_DNS = True | |
+try: | |
+ import dns.resolver | |
+except ImportError: |
;; Truncated, retrying in TCP mode. | |
; <<>> DiG 9.18.11 <<>> @127.0.0.1 gaodong.com MX | |
; (1 server found) | |
;; global options: +cmd | |
;; Got answer: | |
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2541 | |
;; flags: qr rd ra; QUERY: 1, ANSWER: 123, AUTHORITY: 0, ADDITIONAL: 1 | |
;; OPT PSEUDOSECTION: |
BIND 9.16.37 (Extended Support Version) <id:2b2afb2> | |
running on Linux x86_64 5.10.25-linuxkit #1 SMP Tue Mar 23 09:27:39 UTC 2021 | |
built by make with '--host=x86_64-suse-linux-gnu' '--build=x86_64-suse-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/lib' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--disable-dependency-tracking' '--with-python=/usr/bin/python3' '--includedir=/usr/include/bind' '--disable-static' '--with-openssl' '--enable-threads' '--with-libtool' '--with-libxml2' '--with-libjson' '--with-libidn2' '--with-dlz-mysql' '--with-dlz-ldap' '--with-randomdev=/dev/urandom' '--enable-ipv6' '--with-pic' '--disable-openssl-version-check' '--with-tuning=large' '--with-maxminddb' '--with-dlopen' '--with-gssapi=yes' '--disable-isc-spnego' '--enable-fixed-rrset' '--enable-fil |
There is an increasing count of applications which use Authy for two-factor authentication. However many users who aren't using Authy, have their own authenticator setup up already and do not wish to use two applications for generating passwords.
Since I use 1Password for all of my password storing/generating needs, I was looking for a solution to use Authy passwords on that. I couldn't find any completely working solutions, however I stumbled upon a gist by Brian Hartvigsen. His post had a neat code with it to generate QR codes for you to use on your favorite authenticator.
His method is to extract the secret keys using Authy's Google Chrome app via Developer Tools. If this was not possible, I guess people would be reverse engineering the Android app or something like that. But when I tried that code, nothing appeared on the screen. My guess is that Brian used the
#!/usr/bin/env python3 | |
import feedparser | |
from mastodon import Mastodon | |
MASTODON_BASE_URL = 'https://mastodon.social' | |
CLIENTCRED = 'JP_appsecret.txt' | |
USERCRED = 'JP_usersecret.txt' | |
mastodon = Mastodon( |