Browse Source

2020 Copyright update; minor comment typo fixes

Signed-off-by: Russ Magee <rmagee@gmail.com>
Russ Magee 1 year ago
parent
commit
1943b2314a
10 changed files with 13 additions and 12 deletions
  1. 3 2
      auth.go
  2. 1 1
      consts.go
  3. 2 2
      session.go
  4. 1 1
      xs/xs.go
  5. 1 1
      xsd/xsd.go
  6. 1 1
      xsnet/chan.go
  7. 1 1
      xsnet/consts.go
  8. 1 1
      xsnet/net.go
  9. 1 1
      xsnet/tun.go
  10. 1 1
      xspasswd/xspasswd.go

+ 3 - 2
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 {

+ 1 - 1
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)
 //

+ 2 - 2
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

+ 1 - 1
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)
 //

+ 1 - 1
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)
 //

+ 1 - 1
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)
 //

+ 1 - 1
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)
 //

+ 1 - 1
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)
 //

+ 1 - 1
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)
 //

+ 1 - 1
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)
 //