Skip to content

Conversation

@slingamn
Copy link
Member

@slingamn slingamn commented Jun 4, 2020

No description provided.

@slingamn
Copy link
Member Author

slingamn commented Jun 4, 2020

Took some review suggestions from @daurnimator:

  1. Camel case and omitempty for JSON fields
  2. Passed the client's IP to the script as well

docs/MANUAL.md Outdated
* `certfp`: during certfp-based authentication, this is a string, otherwise omitted
* `ip`: a string representation of the client's IP address

The script must print a single line (`\n`-terminated) to its output and exit. This line must be a JSON-encoded dictionary with the following keys:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe we could replace "JSON-encoded dictionary" with "JSON dictionary"? seeing the -encoded part made me double-take and have to think about what was meant for a few seconds~

@DanielOaks
Copy link
Member

This is super cool, exciting~

slingamn added a commit to slingamn/ergo that referenced this pull request Jun 4, 2020
@slingamn slingamn merged commit cfec072 into ergochat:master Jun 4, 2020
@slingamn slingamn deleted the shellauth.1 branch July 6, 2020 07:43
@slingamn slingamn mentioned this pull request Jul 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants