From 1943b2314aa972dd600c7f7224a38d683d5eb847 Mon Sep 17 00:00:00 2001 From: Russ Magee Date: Sat, 8 Aug 2020 01:54:46 -0700 Subject: [PATCH] 2020 Copyright update; minor comment typo fixes Signed-off-by: Russ Magee --- auth.go | 5 +++-- consts.go | 2 +- session.go | 4 ++-- xs/xs.go | 2 +- xsd/xsd.go | 2 +- xsnet/chan.go | 2 +- xsnet/consts.go | 2 +- xsnet/net.go | 2 +- xsnet/tun.go | 2 +- xspasswd/xspasswd.go | 2 +- 10 files changed, 13 insertions(+), 12 deletions(-) diff --git a/auth.go b/auth.go index 2289f01..4bb3bf4 100644 --- a/auth.go +++ b/auth.go @@ -2,7 +2,7 @@ package xs // Package xs - a secure terminal client/server written from scratch in Go // -// Copyright (c) 2017-2019 Russell Magee +// Copyright (c) 2017-2020 Russell Magee // Licensed under the terms of the MIT license (see LICENSE.mit in this // distribution) // @@ -38,7 +38,8 @@ func NewAuthCtx( /*reader func(string) ([]byte, error), userlookup func(string) } // --------- System passwd/shadow auth routine(s) -------------- -// Verify a password against system standard shadow file + +// VerifyPass verifies a password against system standard shadow file // Note auxilliary fields for expiry policy are *not* inspected. func VerifyPass(ctx *AuthCtx, user, password string) (bool, error) { if ctx.reader == nil { diff --git a/consts.go b/consts.go index f774e8e..5ae9c34 100644 --- a/consts.go +++ b/consts.go @@ -1,6 +1,6 @@ // Package xs - a secure terminal client/server written from scratch in Go // -// Copyright (c) 2017-2019 Russell Magee +// Copyright (c) 2017-2020 Russell Magee // Licensed under the terms of the MIT license (see LICENSE.mit in this // distribution) // diff --git a/session.go b/session.go index 49fbc57..8003a24 100644 --- a/session.go +++ b/session.go @@ -2,7 +2,7 @@ package xs // Package xs - a secure terminal client/server written from scratch in Go // -// Copyright (c) 2017-2019 Russell Magee +// Copyright (c) 2017-2020 Russell Magee // Licensed under the terms of the MIT license (see LICENSE.mit in this // distribution) // @@ -96,7 +96,7 @@ func (h Session) AuthCookie(reallyShow bool) []byte { return []byte("**REDACTED**") } -// SetAuthCookie stores the authcookie (essential the password) used to +// SetAuthCookie stores the authcookie (essentially the password) used to // authenticate the Session. func (h *Session) SetAuthCookie(a []byte) { h.authCookie = a diff --git a/xs/xs.go b/xs/xs.go index c6894e9..17d53b7 100755 --- a/xs/xs.go +++ b/xs/xs.go @@ -1,7 +1,7 @@ // xs client // -// Copyright (c) 2017-2019 Russell Magee +// Copyright (c) 2017-2020 Russell Magee // Licensed under the terms of the MIT license (see LICENSE.mit in this // distribution) // diff --git a/xsd/xsd.go b/xsd/xsd.go index 6729cf1..d32fb7c 100755 --- a/xsd/xsd.go +++ b/xsd/xsd.go @@ -1,6 +1,6 @@ // xsd server // -// Copyright (c) 2017-2019 Russell Magee +// Copyright (c) 2017-2020 Russell Magee // Licensed under the terms of the MIT license (see LICENSE.mit in this // distribution) // diff --git a/xsnet/chan.go b/xsnet/chan.go index b8df398..e499f48 100644 --- a/xsnet/chan.go +++ b/xsnet/chan.go @@ -1,6 +1,6 @@ package xsnet -// Copyright (c) 2017-2019 Russell Magee +// Copyright (c) 2017-2020 Russell Magee // Licensed under the terms of the MIT license (see LICENSE.mit in this // distribution) // diff --git a/xsnet/consts.go b/xsnet/consts.go index 967ac58..57144b4 100644 --- a/xsnet/consts.go +++ b/xsnet/consts.go @@ -1,6 +1,6 @@ // consts.go - consts for xsnet -// Copyright (c) 2017-2019 Russell Magee +// Copyright (c) 2017-2020 Russell Magee // Licensed under the terms of the MIT license (see LICENSE.mit in this // distribution) // diff --git a/xsnet/net.go b/xsnet/net.go index 71c5ec5..c559a72 100644 --- a/xsnet/net.go +++ b/xsnet/net.go @@ -1,7 +1,7 @@ // xsnet.go - net.Conn compatible channel setup with encrypted/HMAC // negotiation -// Copyright (c) 2017-2019 Russell Magee +// Copyright (c) 2017-2020 Russell Magee // Licensed under the terms of the MIT license (see LICENSE.mit in this // distribution) // diff --git a/xsnet/tun.go b/xsnet/tun.go index 2b341e4..ac63047 100644 --- a/xsnet/tun.go +++ b/xsnet/tun.go @@ -1,6 +1,6 @@ // hkextun.go - Tunnel setup using an established xsnet.Conn -// Copyright (c) 2017-2019 Russell Magee +// Copyright (c) 2017-2020 Russell Magee // Licensed under the terms of the MIT license (see LICENSE.mit in this // distribution) // diff --git a/xspasswd/xspasswd.go b/xspasswd/xspasswd.go index d91527b..8cb41a9 100644 --- a/xspasswd/xspasswd.go +++ b/xspasswd/xspasswd.go @@ -1,7 +1,7 @@ // Util to generate/store passwords for users in a file akin to /etc/passwd // suitable for the demo hkexsh server, using bcrypt. // -// Copyright (c) 2017-2019 Russell Magee +// Copyright (c) 2017-2020 Russell Magee // Licensed under the terms of the MIT license (see LICENSE.mit in this // distribution) //