From b644cf94efd0f972a05ac8051d1fd32f0cde12ba Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Tue, 9 Oct 2018 14:29:46 -0700 Subject: [PATCH] asaur-ificate package and imports --- README.md | 2 ++ cmd_authenticate.go | 2 +- cmd_onion.go | 4 ++-- cmd_protocolinfo.go | 4 ++-- conn.go | 4 ++-- dialer.go | 2 +- listener.go | 2 +- response.go | 2 +- status.go | 2 +- 9 files changed, 13 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 9e1a7ad..ae73ec5 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ ## bulb - Is not stem ### Yawning Angel (yawning at torproject dot org) +** Asaur is a bulb fork by Open Privacy ** + bulb is a Go language interface to the Tor control port. It is considerably lighter in functionality than stem and other controller libraries, and is intended to be used in combination with`control-spec.txt`. diff --git a/cmd_authenticate.go b/cmd_authenticate.go index aba7bd6..e8ace29 100644 --- a/cmd_authenticate.go +++ b/cmd_authenticate.go @@ -5,7 +5,7 @@ // commons "cc0" public domain dedication. See LICENSE or // for full details. -package bulb +package asaur import ( "crypto/hmac" diff --git a/cmd_onion.go b/cmd_onion.go index b616c02..6c889eb 100644 --- a/cmd_onion.go +++ b/cmd_onion.go @@ -5,7 +5,7 @@ // using the creative commons "cc0" public domain dedication. See LICENSE or // for full details. -package bulb +package asaur import ( "crypto" @@ -14,7 +14,7 @@ import ( "fmt" "strings" - "github.com/yawning/bulb/utils/pkcs1" + "git.openprivacy.ca/openprivacy/asaur/utils/pkcs1" ) // OnionInfo is the result of the AddOnion command. diff --git a/cmd_protocolinfo.go b/cmd_protocolinfo.go index 44685b0..4bac312 100644 --- a/cmd_protocolinfo.go +++ b/cmd_protocolinfo.go @@ -5,13 +5,13 @@ // commons "cc0" public domain dedication. See LICENSE or // for full details. -package bulb +package asaur import ( "strconv" "strings" - "github.com/yawning/bulb/utils" + "git.openprivacy.ca/openprivacy/asaur/utils" ) // ProtocolInfo is the result of the ProtocolInfo command. diff --git a/conn.go b/conn.go index a2613a4..a50b05a 100644 --- a/conn.go +++ b/conn.go @@ -5,8 +5,8 @@ // commons "cc0" public domain dedication. See LICENSE or // for full details. -// Package bulb is a Go language interface to a Tor control port. -package bulb +// package asaur is a Go language interface to a Tor control port. +package asaur import ( "errors" diff --git a/dialer.go b/dialer.go index 3b3c0cb..4fb2024 100644 --- a/dialer.go +++ b/dialer.go @@ -5,7 +5,7 @@ // commons "cc0" public domain dedication. See LICENSE or // for full details. -package bulb +package asaur import ( "strconv" diff --git a/listener.go b/listener.go index 847b50f..7405b95 100644 --- a/listener.go +++ b/listener.go @@ -5,7 +5,7 @@ // the creative commons "cc0" public domain dedication. See LICENSE or // for full details. -package bulb +package asaur import ( "crypto" diff --git a/response.go b/response.go index 568a3ea..dd3a336 100644 --- a/response.go +++ b/response.go @@ -5,7 +5,7 @@ // commons "cc0" public domain dedication. See LICENSE or // for full details. -package bulb +package asaur import ( "log" diff --git a/status.go b/status.go index c0971c5..6ebe6ff 100644 --- a/status.go +++ b/status.go @@ -5,7 +5,7 @@ // commons "cc0" public domain dedication. See LICENSE or // for full details. -package bulb +package asaur import ( "fmt"