all repos — honk @ 4da566d1893d87e2a8a9aaf3e687eb32caf35a54

my fork of honk

only looking for type key when querying keyname
Ted Unangst tedu@tedunangst.com
Wed, 10 Apr 2019 18:42:22 -0400
commit

4da566d1893d87e2a8a9aaf3e687eb32caf35a54

parent

54fca0fc03dcecc585d5cfa3acf5e4a5169e8340

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M honk.gohonk.go

@@ -75,7 +75,7 @@ }

func zaggy(keyname string) (key *rsa.PublicKey) { db := opendatabase() - row := db.QueryRow("select pubkey from honkers where xid = ?", keyname) + row := db.QueryRow("select pubkey from honkers where flavor = 'key' and xid = ?", keyname) var data string err := row.Scan(&data) savekey := false