Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #1107 #1111

Merged
merged 3 commits into from
Jun 4, 2020
Merged

fix #1107 #1111

merged 3 commits into from
Jun 4, 2020

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