mirror of https://gogs.blitter.com/RLabs/xs
Fixed up mentions of old name hkexsh
This commit is contained in:
parent
3cd6f8b7e6
commit
119c039b91
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
## This wrapper may be used within the MSYS/mintty Windows
|
## This wrapper may be used within the MSYS/mintty Windows
|
||||||
## shell environment to have a functioning hkexsh client with
|
## shell environment to have a functioning xs client with
|
||||||
## working 'raw' mode and hidden password entry.
|
## working 'raw' mode and hidden password entry.
|
||||||
##
|
##
|
||||||
## mintty uses named pipes and ptys to get a more POSIX-like
|
## mintty uses named pipes and ptys to get a more POSIX-like
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
package xsnet
|
package xsnet
|
||||||
|
|
||||||
// Implementation of HKEx-wrapped versions of the golang standard
|
// Implementation of key-exchange-wrapped versions of the golang standard
|
||||||
// net package interfaces, allowing clients and servers to simply replace
|
// net package interfaces, allowing clients and servers to simply replace
|
||||||
// 'net.Dial' and 'net.Listen' with 'hkex.Dial' and 'hkex.Listen'
|
// 'net.Dial' and 'net.Listen' with 'hkex.Dial' and 'hkex.Listen'
|
||||||
// (though some extra methods are implemented and must be used
|
// (though some extra methods are implemented and must be used
|
||||||
|
@ -1084,7 +1084,7 @@ func (hl HKExListener) Close() error {
|
||||||
return hl.l.Close()
|
return hl.l.Close()
|
||||||
}
|
}
|
||||||
|
|
||||||
// Addr returns a the listener's network address.
|
// Addr returns the listener's network address.
|
||||||
//
|
//
|
||||||
// See go doc net.Listener.Addr
|
// See go doc net.Listener.Addr
|
||||||
func (hl HKExListener) Addr() net.Addr {
|
func (hl HKExListener) Addr() net.Addr {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// Util to generate/store passwords for users in a file akin to /etc/passwd
|
// Util to generate/store passwords for users in a file akin to /etc/passwd
|
||||||
// suitable for the demo hkexsh server, using bcrypt.
|
// suitable for the xs server, using bcrypt.
|
||||||
//
|
//
|
||||||
// Copyright (c) 2017-2020 Russell Magee
|
// Copyright (c) 2017-2020 Russell Magee
|
||||||
// Licensed under the terms of the MIT license (see LICENSE.mit in this
|
// Licensed under the terms of the MIT license (see LICENSE.mit in this
|
||||||
|
|
Loading…
Reference in New Issue