rnsh


Namernsh JSON
Version 0.1.5 PyPI version JSON
download
home_pageNone
SummaryShell over Reticulum
upload_time2025-01-20 14:23:57
maintainerNone
docs_urlNone
authoracehoss
requires_python<4.0,>=3.7
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # `r n s h`  Shell over Reticulum 
[![CI](https://github.com/acehoss/rnsh/actions/workflows/python-package.yml/badge.svg)](https://github.com/acehoss/rnsh/actions/workflows/python-package.yml) 
[![Release](https://github.com/acehoss/rnsh/actions/workflows/python-publish.yml/badge.svg)](https://github.com/acehoss/rnsh/actions/workflows/python-publish.yml) 
[![PyPI version](https://badge.fury.io/py/rnsh.svg)](https://badge.fury.io/py/rnsh)  
![PyPI - Downloads](https://img.shields.io/pypi/dw/rnsh?color=informational&label=Installs&logo=pypi)

`rnsh` is a utility written in Python that facilitates shell 
sessions over [Reticulum](https://reticulum.network) networks. 
It is based on the `rnx` utility that ships with Reticulum and
aims to provide a similar experience to SSH.

## Contents

- [Alpha Disclaimer](#reminder--alpha-software)
- [Recent Changes](#recent-changes)
- [Quickstart](#quickstart)
- [Options](#options)
- [How it works](#how-it-works)
- [Roadmap](#roadmap)
- [Active TODO](#todo)

### Reminder: Beta Software
The interface is starting to firm up, but some bug fixes at this
point still may introduce breaking changes, especially in the
protocol layers of the software.

## Recent Changes
### v0.1.4
- Fix invalid escape sequence handling for terminal escape sequences

### v0.1.3
- Fix an issue where disconnecting a session using ~. would result in further connections to
  the same initiator would appear to hang.
- Setting `-q` will suppress the pre-connect spinners

### v0.1.2
- Adaptive compression (RNS update) provides significant performance improvements ([PR](https://github.com/acehoss/rnsh/pull/24))
- Allowed identities file - put allowed identities in a file instead of on the command
  line for easier service invocations. ([see PR for details](https://github.com/acehoss/rnsh/pull/25))
- Escape Sequences, Session Termination & Line-Interactive Mode ([see PR for details](https://github.com/acehoss/rnsh/pull/26))

### v0.1.1
- Fix issue with intermittent data corruption

### v0.1.0
- First beta! Includes peformance improvements.

### v0.0.13, v0.0.14
- Bug fixes

### v0.0.12
- Remove service name from RNS destination aspects. Service name
  now selects a suffix for the identity file and should only be
  supplied on the listener. The initiator only needs the destination
  hash of the listener to connect.
- Show a spinner during link establishment on tty sessions
- Attempt to catch and beautify exceptions on initiator

### v0.0.11
- Event loop bursting improves throughput and CPU utilization on
  both listener and initiator.
- Packet retries use RNS resend feature to prevent duplicate
  packets.

### v0.0.10
- Rate limit window change events to prevent saturation of transport
- Tweaked some loop timers to improve CPU utilization

### v0.0.9
- Switch to a new packet-based protocol
- Bug fixes and dependency updates

## Quickstart

Tested (thus far) on Python 3.11 macOS 13.1 ARM64. Should
run on Python 3.6+ on Linux or Unix. WSL probably works. 
Cygwin might work, too.

- Activate a virtualenv
- `pip3 install rnsh`
  - Or from a `whl` release, `pip3 install /path/to/rnsh-0.0.1-py3-none-any.whl`
- Configure Reticulum interfaces, check with `rnstatus`
- Ready to run `rnsh`. The options are shown below.

### Example: Shell server
#### Setup
Before running the listener or initiator, you'll need to get the 
listener destination hash and the initiator identity hash.
```shell
# On listener
rnsh -l -p

# On initiator
rnsh -p
```
Note: service name no longer is supplied on initiator. The destination
      hash encapsulates this information.

#### Listener
- Listening for default service name ("default").
- Using user's default Reticulum config dir (~/.reticulum).
- Using default identity ($RNSCONFIGDIR/storage/identities/rnsh).
- Allowing remote identity `6d47805065fa470852cf1b1ef417a1ac` to connect.
- Launching `/bin/zsh` on authorized connect.
```shell
rnsh -l -a 6d47805065fa470852cf1b1ef417a1ac -- /bin/zsh
```
#### Initiator
- Connecting to default service name ("default").
- Using user's default Reticulum config dir (~/.reticulum).
- Using default identity ($RNSCONFIGDIR/storage/identities/rnsh).
- Connecting to destination `a5f72aefc2cb3cdba648f73f77c4e887`
```shell
rnsh a5f72aefc2cb3cdba648f73f77c4e887
```

## Options
```
Usage:
    rnsh -l [-c <configdir>] [-i <identityfile> | -s <service_name>] [-v... | -q...] -p
    rnsh -l [-c <configdir>] [-i <identityfile> | -s <service_name>] [-v... | -q...] 
            [-b <period>] (-n | -a <identity_hash> [-a <identity_hash>] ...) [-A | -C] 
            [[--] <program> [<arg> ...]]
    rnsh [-c <configdir>] [-i <identityfile>] [-v... | -q...] -p
    rnsh [-c <configdir>] [-i <identityfile>] [-v... | -q...] [-N] [-m] [-w <timeout>] 
         <destination_hash> [[--] <program> [<arg> ...]]
    rnsh -h
    rnsh --version

Options:
    -c DIR --config DIR          Alternate Reticulum config directory to use
    -i FILE --identity FILE      Specific identity file to use
    -s NAME --service NAME       Service name for identity file if not default
    -p --print-identity          Print identity information and exit
    -l --listen                  Listen (server) mode. If supplied, <program> <arg>...will 
                                   be used as the command line when the initiator does not
                                   provide one or when remote command is disabled. If
                                   <program> is not supplied, the default shell of the 
                                   user rnsh is running under will be used.
    -b --announce PERIOD         Announce on startup and every PERIOD seconds
                                 Specify 0 for PERIOD to announce on startup only.
    -a HASH --allowed HASH       Specify identities allowed to connect
    -n --no-auth                 Disable authentication
    -N --no-id                   Disable identify on connect
    -A --remote-command-as-args  Concatenate remote command to argument list of <program>/shell
    -C --no-remote-command       Disable executing command line from remote
    -m --mirror                  Client returns with code of remote process
    -w TIME --timeout TIME       Specify client connect and request timeout in seconds
    -q --quiet                   Increase quietness (move level up), multiple increases effect
                                          DEFAULT LOGGING LEVEL
                                                  CRITICAL (silent)
                                    Initiator ->  ERROR
                                                  WARNING
                                     Listener ->  INFO
                                                  DEBUG    (insane)
    -v --verbose                 Increase verbosity (move level down), multiple increases effect
    --version                    Show version
    -h --help                    Show this help
```

## How it works
### Listeners
Listener instances are the servers. Each listener is configured 
with an RNS identity, and a service name. Together, RNS makes
these into a destination hash that can be used to connect to
your listener.
   
Each listener must use a unique identity. The `-s` parameter
can be used to specify a service name, which creates a unique
identity file.

Listeners can be configured with a command line to run on
connect. Initiators can supply a command line as well. There 
are several different options for the way the command line 
is handled:

- `-C` no initiator command line is allowed; the connection will
  be terminated if one is supplied.
- `-A` initiator-supplied command line is appended to listener-
  configured command line
- With neither of these options, the listener will use the first 
  valid command line from this list:
  1. Initiator-supplied command line
  2. Listener command line argument
  3. Default shell of user listener is running under


If the `-n` option is not set on the listener, the initiator
is required to identify before starting a command. The program 
will be started with the initiator's identity hash string is set 
in the environment variable `RNS_REMOTE_IDENTITY`.

Listeners are set up using the `-l` flag.
   
### Initiators
Initiators are the clients. Each initiator has an identity
hash which is used as an authentication mechanism on Reticulum.
You'll need this value to configure the listener to allow 
your connection. It is possible to run the server without 
authentication, but hopefully it's obvious that this is an
advanced use case. 
    
To get the identity hash, use the `-p` flag.
    
With the initiator identity set up in the listener command
line, and with the listener identity copied (you'll need to
do `-p` on the listener side, too), you can run the
initiator.
    
I recommend staying pretty vanilla to start with and
trying `/bin/zsh` or whatever your favorite shell is these 
days. The shell should start in login mode. Ideally it
works just like an `ssh` shell session.

## Protocol
The protocol is build on top of the Reticulum `Packet` API.
Application software sends and receives `Message` objects,
which are encapsulated by `Packet` objects. Messages are
(currently) sent one per packet, and only one packet is
sent at a time (per link). The next packet is not sent until 
the receiver proves the outstanding packet.

A future update will work to allow a sliding window of
outstanding packets to improve channel utilization.

### Session Establishment
1. Initiator establishes link. Listener session enters state 
   `LSSTATE_WAIT_IDENT`, or `LSSTATE_WAIT_VERS` if running
   with `--no-auth` option.

2. Initiator identifies on link if not using `--no-id`.
   - If using `--allowed-hash`, listener validates identity 
      against configuration and if no match, sends a 
      protocol error message and tears down link after prune
      timer.
3. Initiator transmits a `VersionInformationMessage`, which
   is evaluated by the server for compatibility. If
   incompatible, a protocol error is sent. 
4. Listener responds with a `VersionInfoMessage` and enters 
   state `LSSTATE_WAIT_CMD`
5. Initiator evaluates the listener's version information
   for compatibility and if incompatible, tears down link.
6. Initiator sends an `ExecuteCommandMessage` (which could 
   be an empty command) and enters the session event loop.
7. Listener evaluates the command message against the
   configured options such as `-A` or `-C` and responds
   with a protocol error if not allowed.
8. Listener starts the program. If success, the listener
   enters the session event loop. If failure, responds
   with a `CommandExitedMessage`.

### Session Event Loop
##### Listener state `LSSTATE_RUNNING`
Process messages received from initiator.
- `WindowSizeMessage`: set window size on child tty if appropriate
- `StreamDataMessage`: binary data stream for child process;
  streams ids 0, 1, 2 = stdin, stdout, stderr
- `NoopMessage`: no operation - listener replies with `NoopMessage`
- When link is torn down, child process is terminated if running and 
  session destroyed
- If command terminates, a `CommandExitedMessage` is sent and session
  is pruned after an idle timeout.
##### Initiator state `ISSTATE_RUNNING`
Process messages received from listener.
- `ErrorMessage`: print error, terminate link, and exit
- `StreamDataMessage`: binary stream information; 
   streams ids 0, 1, 2 = stdin, stdout, stderr
- `CommandExitedMessage`: remote command exited
- If link is torn down unexpectedly, print message and exit

   
## Roadmap
1. Plan a better roadmap
2. ?
3. Keep my day job

## TODO
- [X] ~~Initial version~~
- [X] ~~Pip package with command-line utility support~~
- [X] ~~Publish to PyPI~~
- [X] ~~Improve signal handling~~
- [X] ~~Make it scriptable (currently requires a tty)~~
- [X] ~~Protocol improvements (throughput!)~~
- [X] ~~Documentation improvements~~
- [X] ~~Fix issues with running `rnsh` in a binary pipeline, i.e. 
  piping the output of `tar` over `rsh`.~~
- [X] ~~Test on several platforms~~
- [X] ~~Fix issues that come up with testing~~
- [X] ~~v0.1.0 beta~~
- [X] ~~Test and fix more issues~~
- [ ] More betas
- [ ] Enhancement Ideas
  - [x] `authorized_keys` mode similar to SSH to allow one listener
        process to serve multiple users
  - [ ] Git over `rnsh` (git remote helper)
  - [ ] Sliding window acknowledgements for improved throughput
- [ ] v1.0 someday probably maybe

## Miscellaneous

By piping into/out of `rnsh`, it is possible to transfer
files using the same method discussed in 
[this article](https://cromwell-intl.com/open-source/tar-and-ssh.html).
It's not terribly fast currently, due to the round-trip rule 
enforced by the protocol. Sliding window acknowledgements will
speed this up significantly.

Running tests: `poetry run pytest tests`
            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "rnsh",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.7",
    "maintainer_email": null,
    "keywords": null,
    "author": "acehoss",
    "author_email": "acehoss@acehoss.net",
    "download_url": "https://files.pythonhosted.org/packages/82/01/76ac6c2d57cefa43434bc46eb27ddeebb4e429c16c0996170f24b9b0ef23/rnsh-0.1.5.tar.gz",
    "platform": null,
    "description": "# `r n s h` \u00a0Shell over Reticulum \n[![CI](https://github.com/acehoss/rnsh/actions/workflows/python-package.yml/badge.svg)](https://github.com/acehoss/rnsh/actions/workflows/python-package.yml)\u00a0\n[![Release](https://github.com/acehoss/rnsh/actions/workflows/python-publish.yml/badge.svg)](https://github.com/acehoss/rnsh/actions/workflows/python-publish.yml)\u00a0\n[![PyPI version](https://badge.fury.io/py/rnsh.svg)](https://badge.fury.io/py/rnsh) \u00a0\n![PyPI - Downloads](https://img.shields.io/pypi/dw/rnsh?color=informational&label=Installs&logo=pypi)\n\n`rnsh` is a utility written in Python that facilitates shell \nsessions over [Reticulum](https://reticulum.network) networks. \nIt is based on the `rnx` utility that ships with Reticulum and\naims to provide a similar experience to SSH.\n\n## Contents\n\n- [Alpha Disclaimer](#reminder--alpha-software)\n- [Recent Changes](#recent-changes)\n- [Quickstart](#quickstart)\n- [Options](#options)\n- [How it works](#how-it-works)\n- [Roadmap](#roadmap)\n- [Active TODO](#todo)\n\n### Reminder: Beta Software\nThe interface is starting to firm up, but some bug fixes at this\npoint still may introduce breaking changes, especially in the\nprotocol layers of the software.\n\n## Recent Changes\n### v0.1.4\n- Fix invalid escape sequence handling for terminal escape sequences\n\n### v0.1.3\n- Fix an issue where disconnecting a session using ~. would result in further connections to\n  the same initiator would appear to hang.\n- Setting `-q` will suppress the pre-connect spinners\n\n### v0.1.2\n- Adaptive compression (RNS update) provides significant performance improvements ([PR](https://github.com/acehoss/rnsh/pull/24))\n- Allowed identities file - put allowed identities in a file instead of on the command\n  line for easier service invocations. ([see PR for details](https://github.com/acehoss/rnsh/pull/25))\n- Escape Sequences, Session Termination & Line-Interactive Mode ([see PR for details](https://github.com/acehoss/rnsh/pull/26))\n\n### v0.1.1\n- Fix issue with intermittent data corruption\n\n### v0.1.0\n- First beta! Includes peformance improvements.\n\n### v0.0.13, v0.0.14\n- Bug fixes\n\n### v0.0.12\n- Remove service name from RNS destination aspects. Service name\n  now selects a suffix for the identity file and should only be\n  supplied on the listener. The initiator only needs the destination\n  hash of the listener to connect.\n- Show a spinner during link establishment on tty sessions\n- Attempt to catch and beautify exceptions on initiator\n\n### v0.0.11\n- Event loop bursting improves throughput and CPU utilization on\n  both listener and initiator.\n- Packet retries use RNS resend feature to prevent duplicate\n  packets.\n\n### v0.0.10\n- Rate limit window change events to prevent saturation of transport\n- Tweaked some loop timers to improve CPU utilization\n\n### v0.0.9\n- Switch to a new packet-based protocol\n- Bug fixes and dependency updates\n\n## Quickstart\n\nTested (thus far) on Python 3.11 macOS 13.1 ARM64. Should\nrun on Python 3.6+ on Linux or Unix. WSL probably works. \nCygwin might work, too.\n\n- Activate a virtualenv\n- `pip3 install rnsh`\n  - Or from a `whl` release, `pip3 install /path/to/rnsh-0.0.1-py3-none-any.whl`\n- Configure Reticulum interfaces, check with `rnstatus`\n- Ready to run `rnsh`. The options are shown below.\n\n### Example: Shell server\n#### Setup\nBefore running the listener or initiator, you'll need to get the \nlistener destination hash and the initiator identity hash.\n```shell\n# On listener\nrnsh -l -p\n\n# On initiator\nrnsh -p\n```\nNote: service name no longer is supplied on initiator. The destination\n      hash encapsulates this information.\n\n#### Listener\n- Listening for default service name (\"default\").\n- Using user's default Reticulum config dir (~/.reticulum).\n- Using default identity ($RNSCONFIGDIR/storage/identities/rnsh).\n- Allowing remote identity `6d47805065fa470852cf1b1ef417a1ac` to connect.\n- Launching `/bin/zsh` on authorized connect.\n```shell\nrnsh -l -a 6d47805065fa470852cf1b1ef417a1ac -- /bin/zsh\n```\n#### Initiator\n- Connecting to default service name (\"default\").\n- Using user's default Reticulum config dir (~/.reticulum).\n- Using default identity ($RNSCONFIGDIR/storage/identities/rnsh).\n- Connecting to destination `a5f72aefc2cb3cdba648f73f77c4e887`\n```shell\nrnsh a5f72aefc2cb3cdba648f73f77c4e887\n```\n\n## Options\n```\nUsage:\n    rnsh -l [-c <configdir>] [-i <identityfile> | -s <service_name>] [-v... | -q...] -p\n    rnsh -l [-c <configdir>] [-i <identityfile> | -s <service_name>] [-v... | -q...] \n            [-b <period>] (-n | -a <identity_hash> [-a <identity_hash>] ...) [-A | -C] \n            [[--] <program> [<arg> ...]]\n    rnsh [-c <configdir>] [-i <identityfile>] [-v... | -q...] -p\n    rnsh [-c <configdir>] [-i <identityfile>] [-v... | -q...] [-N] [-m] [-w <timeout>] \n         <destination_hash> [[--] <program> [<arg> ...]]\n    rnsh -h\n    rnsh --version\n\nOptions:\n    -c DIR --config DIR          Alternate Reticulum config directory to use\n    -i FILE --identity FILE      Specific identity file to use\n    -s NAME --service NAME       Service name for identity file if not default\n    -p --print-identity          Print identity information and exit\n    -l --listen                  Listen (server) mode. If supplied, <program> <arg>...will \n                                   be used as the command line when the initiator does not\n                                   provide one or when remote command is disabled. If\n                                   <program> is not supplied, the default shell of the \n                                   user rnsh is running under will be used.\n    -b --announce PERIOD         Announce on startup and every PERIOD seconds\n                                 Specify 0 for PERIOD to announce on startup only.\n    -a HASH --allowed HASH       Specify identities allowed to connect\n    -n --no-auth                 Disable authentication\n    -N --no-id                   Disable identify on connect\n    -A --remote-command-as-args  Concatenate remote command to argument list of <program>/shell\n    -C --no-remote-command       Disable executing command line from remote\n    -m --mirror                  Client returns with code of remote process\n    -w TIME --timeout TIME       Specify client connect and request timeout in seconds\n    -q --quiet                   Increase quietness (move level up), multiple increases effect\n                                          DEFAULT LOGGING LEVEL\n                                                  CRITICAL (silent)\n                                    Initiator ->  ERROR\n                                                  WARNING\n                                     Listener ->  INFO\n                                                  DEBUG    (insane)\n    -v --verbose                 Increase verbosity (move level down), multiple increases effect\n    --version                    Show version\n    -h --help                    Show this help\n```\n\n## How it works\n### Listeners\nListener instances are the servers. Each listener is configured \nwith an RNS identity, and a service name. Together, RNS makes\nthese into a destination hash that can be used to connect to\nyour listener.\n   \nEach listener must use a unique identity. The `-s` parameter\ncan be used to specify a service name, which creates a unique\nidentity file.\n\nListeners can be configured with a command line to run on\nconnect. Initiators can supply a command line as well. There \nare several different options for the way the command line \nis handled:\n\n- `-C` no initiator command line is allowed; the connection will\n  be terminated if one is supplied.\n- `-A` initiator-supplied command line is appended to listener-\n  configured command line\n- With neither of these options, the listener will use the first \n  valid command line from this list:\n  1. Initiator-supplied command line\n  2. Listener command line argument\n  3. Default shell of user listener is running under\n\n\nIf the `-n` option is not set on the listener, the initiator\nis required to identify before starting a command. The program \nwill be started with the initiator's identity hash string is set \nin the environment variable `RNS_REMOTE_IDENTITY`.\n\nListeners are set up using the `-l` flag.\n   \n### Initiators\nInitiators are the clients. Each initiator has an identity\nhash which is used as an authentication mechanism on Reticulum.\nYou'll need this value to configure the listener to allow \nyour connection. It is possible to run the server without \nauthentication, but hopefully it's obvious that this is an\nadvanced use case. \n    \nTo get the identity hash, use the `-p` flag.\n    \nWith the initiator identity set up in the listener command\nline, and with the listener identity copied (you'll need to\ndo `-p` on the listener side, too), you can run the\ninitiator.\n    \nI recommend staying pretty vanilla to start with and\ntrying `/bin/zsh` or whatever your favorite shell is these \ndays. The shell should start in login mode. Ideally it\nworks just like an `ssh` shell session.\n\n## Protocol\nThe protocol is build on top of the Reticulum `Packet` API.\nApplication software sends and receives `Message` objects,\nwhich are encapsulated by `Packet` objects. Messages are\n(currently) sent one per packet, and only one packet is\nsent at a time (per link). The next packet is not sent until \nthe receiver proves the outstanding packet.\n\nA future update will work to allow a sliding window of\noutstanding packets to improve channel utilization.\n\n### Session Establishment\n1. Initiator establishes link. Listener session enters state \n   `LSSTATE_WAIT_IDENT`, or `LSSTATE_WAIT_VERS` if running\n   with `--no-auth` option.\n\n2. Initiator identifies on link if not using `--no-id`.\n   - If using `--allowed-hash`, listener validates identity \n      against configuration and if no match, sends a \n      protocol error message and tears down link after prune\n      timer.\n3. Initiator transmits a `VersionInformationMessage`, which\n   is evaluated by the server for compatibility. If\n   incompatible, a protocol error is sent. \n4. Listener responds with a `VersionInfoMessage` and enters \n   state `LSSTATE_WAIT_CMD`\n5. Initiator evaluates the listener's version information\n   for compatibility and if incompatible, tears down link.\n6. Initiator sends an `ExecuteCommandMessage` (which could \n   be an empty command) and enters the session event loop.\n7. Listener evaluates the command message against the\n   configured options such as `-A` or `-C` and responds\n   with a protocol error if not allowed.\n8. Listener starts the program. If success, the listener\n   enters the session event loop. If failure, responds\n   with a `CommandExitedMessage`.\n\n### Session Event Loop\n##### Listener state `LSSTATE_RUNNING`\nProcess messages received from initiator.\n- `WindowSizeMessage`: set window size on child tty if appropriate\n- `StreamDataMessage`: binary data stream for child process;\n  streams ids 0, 1, 2 = stdin, stdout, stderr\n- `NoopMessage`: no operation - listener replies with `NoopMessage`\n- When link is torn down, child process is terminated if running and \n  session destroyed\n- If command terminates, a `CommandExitedMessage` is sent and session\n  is pruned after an idle timeout.\n##### Initiator state `ISSTATE_RUNNING`\nProcess messages received from listener.\n- `ErrorMessage`: print error, terminate link, and exit\n- `StreamDataMessage`: binary stream information; \n   streams ids 0, 1, 2 = stdin, stdout, stderr\n- `CommandExitedMessage`: remote command exited\n- If link is torn down unexpectedly, print message and exit\n\n   \n## Roadmap\n1. Plan a better roadmap\n2. ?\n3. Keep my day job\n\n## TODO\n- [X] ~~Initial version~~\n- [X] ~~Pip package with command-line utility support~~\n- [X] ~~Publish to PyPI~~\n- [X] ~~Improve signal handling~~\n- [X] ~~Make it scriptable (currently requires a tty)~~\n- [X] ~~Protocol improvements (throughput!)~~\n- [X] ~~Documentation improvements~~\n- [X] ~~Fix issues with running `rnsh` in a binary pipeline, i.e. \n  piping the output of `tar` over `rsh`.~~\n- [X] ~~Test on several platforms~~\n- [X] ~~Fix issues that come up with testing~~\n- [X] ~~v0.1.0 beta~~\n- [X] ~~Test and fix more issues~~\n- [ ] More betas\n- [ ] Enhancement Ideas\n  - [x] `authorized_keys` mode similar to SSH to allow one listener\n        process to serve multiple users\n  - [ ] Git over `rnsh` (git remote helper)\n  - [ ] Sliding window acknowledgements for improved throughput\n- [ ] v1.0 someday probably maybe\n\n## Miscellaneous\n\nBy piping into/out of `rnsh`, it is possible to transfer\nfiles using the same method discussed in \n[this article](https://cromwell-intl.com/open-source/tar-and-ssh.html).\nIt's not terribly fast currently, due to the round-trip rule \nenforced by the protocol. Sliding window acknowledgements will\nspeed this up significantly.\n\nRunning tests: `poetry run pytest tests`",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Shell over Reticulum",
    "version": "0.1.5",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3411823204b7ec207d4d008bbe11f0be473203b214a5d8944cfaa6c14278d92d",
                "md5": "311a5b60ba037f8da9ae8b20d8e86982",
                "sha256": "72c8ab60841ba94b9cc84fa86dc6347a0b9670db915b96cbabe7eed8b7061266"
            },
            "downloads": -1,
            "filename": "rnsh-0.1.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "311a5b60ba037f8da9ae8b20d8e86982",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.7",
            "size": 45028,
            "upload_time": "2025-01-20T14:23:56",
            "upload_time_iso_8601": "2025-01-20T14:23:56.113101Z",
            "url": "https://files.pythonhosted.org/packages/34/11/823204b7ec207d4d008bbe11f0be473203b214a5d8944cfaa6c14278d92d/rnsh-0.1.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "820176ac6c2d57cefa43434bc46eb27ddeebb4e429c16c0996170f24b9b0ef23",
                "md5": "2714eeace545a124d1ac7826a7b0cd68",
                "sha256": "caa493a1fdf9c9f22c0c22db14bb09d18a923315735b011d220bb2176ce9d717"
            },
            "downloads": -1,
            "filename": "rnsh-0.1.5.tar.gz",
            "has_sig": false,
            "md5_digest": "2714eeace545a124d1ac7826a7b0cd68",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.7",
            "size": 37276,
            "upload_time": "2025-01-20T14:23:57",
            "upload_time_iso_8601": "2025-01-20T14:23:57.790342Z",
            "url": "https://files.pythonhosted.org/packages/82/01/76ac6c2d57cefa43434bc46eb27ddeebb4e429c16c0996170f24b9b0ef23/rnsh-0.1.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-01-20 14:23:57",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "rnsh"
}
        
Elapsed time: 4.15430s