Skip to content

Commit 4f675b4

Browse files
committed
Update readme
1 parent 5f92ff8 commit 4f675b4

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,19 @@ Use this key to authenticate other wush commands to this instance.
3434
On the client machine:
3535

3636
```bash
37+
$ wush send 1gb.txt
38+
Auth information:
39+
> Server overlay STUN address: Disabled
40+
> Server overlay DERP home: New York City
41+
> Server overlay public key: [NFWN0]
42+
> Server overlay auth key: [mTbpN]
43+
Bringing Wireguard up..
44+
Wireguard is ready!
45+
Received peer
46+
Peer active with relay nyc
47+
Peer active over p2p 172.20.0.13:53768
48+
Uploading "1gb.txt" 100% |██████████████████████████████████████████████| (2.1/2.1 GB, 376 MB/s)
49+
3750
$ wush
3851
┃ Enter the receiver's Auth key:
3952
┃ > 112v1RyL5KPzsbMbhT7fkEGrcfpygxtnvwjR5kMLGxDHGeLTK1BvoPqsUcjo7xyMkFn46KLTdedKuPCG5trP84mz9kx
@@ -95,4 +108,5 @@ way more functionality.
95108
## Acknowledgements
96109

97110
1. [Tailscale](https://tailscale.com)
111+
1. [Headscale](https://github.com/juanfont/headscale)
98112
1. [Wireguard-go](https://github.com/WireGuard/wireguard-go)

overlay/auth.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ func (ca *ClientAuth) Parse(authKey string) error {
7676
return errors.New("auth key should not be empty")
7777
}
7878

79-
fmt.Println(base58.Decode(authKey))
8079
decr := bytes.NewReader(base58.Decode(authKey))
8180

8281
ipLenB, err := decr.ReadByte()

0 commit comments

Comments
 (0)