From f765083626f35fdc04813b4bc3ee2b38be613813 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= Date: Wed, 19 Aug 2020 18:27:00 +0200 Subject: [PATCH] Bump srht-keys to update SSH key used time on use Ref: ~sircmpwn/meta.sr.ht#82 Ref: ~sircmpwn/meta.sr.ht#140 --- gitsrht-keys/go.mod | 4 +--- gitsrht-keys/go.sum | 24 +++++++++++------------- gitsrht-keys/main.go | 1 - 3 files changed, 12 insertions(+), 17 deletions(-) diff --git a/gitsrht-keys/go.mod b/gitsrht-keys/go.mod index f4bc401..db8a860 100644 --- a/gitsrht-keys/go.mod +++ b/gitsrht-keys/go.mod @@ -3,8 +3,6 @@ module git.sr.ht/~sircmpwn/git.sr.ht/gitsrht-keys go 1.13 require ( - git.sr.ht/~sircmpwn/scm.sr.ht/srht-keys v0.0.0-20200522161732-0239442c9dad - github.com/go-redis/redis v6.15.8+incompatible - github.com/lib/pq v1.5.2 // indirect + github.com/go-redis/redis v6.15.9+incompatible github.com/vaughan0/go-ini v0.0.0-20130923145212-a98ad7ee00ec ) diff --git a/gitsrht-keys/go.sum b/gitsrht-keys/go.sum index c8807ec..7c228ed 100644 --- a/gitsrht-keys/go.sum +++ b/gitsrht-keys/go.sum @@ -1,17 +1,15 @@ -git.sr.ht/~sircmpwn/scm.sr.ht v0.0.0-20200522161732-0239442c9dad h1:igvisSaNuxtGxWDfcJdX/IlPybfreegKl1j/7rdXL5g= -git.sr.ht/~sircmpwn/scm.sr.ht/srht-keys v0.0.0-20200522161732-0239442c9dad h1:wQ2Ba/jbRJx1RhT/ZDlJRBvjCSHUf80jx0R2flJsggU= -git.sr.ht/~sircmpwn/scm.sr.ht/srht-keys v0.0.0-20200522161732-0239442c9dad/go.mod h1:Agf7zmDrTdkJ5BiCLb9jwpEiV3JCMAVFyzUtLVHUgOE= -github.com/go-redis/redis v6.15.6+incompatible h1:H9evprGPLI8+ci7fxQx6WNZHJSb7be8FqJQRhdQZ5Sg= -github.com/go-redis/redis v6.15.6+incompatible/go.mod h1:NAIEuMOZ/fxfXJIrKDQDz8wamY7mA7PouImQ2Jvg6kA= -github.com/go-redis/redis v6.15.8+incompatible h1:BKZuG6mCnRj5AOaWJXoCgf6rqTYnYJLe4en2hxT7r9o= -github.com/go-redis/redis v6.15.8+incompatible/go.mod h1:NAIEuMOZ/fxfXJIrKDQDz8wamY7mA7PouImQ2Jvg6kA= +github.com/go-redis/redis v6.15.9+incompatible h1:K0pv1D7EQUjfyoMql+r/jZqCLizCGKFlFgcHWWmHQjg= +github.com/go-redis/redis v6.15.9+incompatible/go.mod h1:NAIEuMOZ/fxfXJIrKDQDz8wamY7mA7PouImQ2Jvg6kA= github.com/google/uuid v1.1.1 h1:Gkbcsh/GbpXz7lPftLA3P6TYMwjCLYm83jiFQZF/3gY= github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/lib/pq v1.2.0 h1:LXpIM/LZ5xGFhOpXAQUIMM1HdyqzVYM13zNdjCEEcA0= -github.com/lib/pq v1.2.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= -github.com/lib/pq v1.3.0 h1:/qkRGz8zljWiDcFvgpwUpwIAPu3r07TDvs3Rws+o/pU= -github.com/lib/pq v1.3.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= -github.com/lib/pq v1.5.2 h1:yTSXVswvWUOQ3k1sd7vJfDrbSl8lKuscqFJRqjC0ifw= -github.com/lib/pq v1.5.2/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= +github.com/lib/pq v1.8.0 h1:9xohqzkUwzR4Ga4ivdTcawVS89YSDVxXMa3xJX3cGzg= +github.com/lib/pq v1.8.0/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= github.com/vaughan0/go-ini v0.0.0-20130923145212-a98ad7ee00ec h1:DGmKwyZwEB8dI7tbLt/I/gQuP559o/0FrAkHKlQM/Ks= github.com/vaughan0/go-ini v0.0.0-20130923145212-a98ad7ee00ec/go.mod h1:owBmyHYMLkxyrugmfwE/DLJyW8Ro9mkphwuVErQ0iUw= +golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de h1:ikNHVSjEfnvz6sxdSPCaPt572qowuyMDMJLLm3Db3ig= +golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= diff --git a/gitsrht-keys/main.go b/gitsrht-keys/main.go index d7d0c98..41ea3a1 100644 --- a/gitsrht-keys/main.go +++ b/gitsrht-keys/main.go @@ -29,7 +29,6 @@ func main() { keyType string prefix string ) - // TODO: update key last used timestamp on meta.sr.ht logf, err := os.OpenFile(logFile, os.O_WRONLY|os.O_CREATE|os.O_APPEND, 0644) -- 2.38.4