Commit Graph

7 Commits

Author SHA1 Message Date
Michael Pfaff 70b8ff57f5
Allow building without server 2023-06-09 09:45:54 -04:00
Michael Pfaff ba5fa16cc1
Use upstream pam_client on non-macos platforms 2023-06-09 09:31:17 -04:00
Michael Pfaff 7901a2a0b0
Work
- Automatic terminfo installation
    - Some very nasty code for this support. To be cleaned up at a
      later point.
- Seemingly correct privilege dropping/impersonation for spawning user
  shells
- Run the user's shell from /etc/passwd (but uses the libc api instead
  of accessing the file directly)
- Seems to have fixed the bug when using the fish shell that was mentioned in a previous commit
- A parser for the `id` command, used for determining the UID, GID, and
  supplementary groups of a given user by name (could get the UID and
  GID from the same API used to get the shell, but would miss out on
  supplementary groups).
- Temporarily disabled `Stream::Exec` until it can be brought up to
  speed with improvements made to `Stream::Shell`
- Added a workaround for an oddity in PAM authentication
    - Further testing has suggested that the "workaround" might have
      been a fluke/misunderstanding of the problem. Further testing is
      needed.
2023-06-08 00:33:56 -04:00
Michael Pfaff b538e148d1
Remove root certificate loading in client 2023-06-06 23:37:40 -04:00
Michael Pfaff 545ec4ebc4
Rename, rudimentary host verification
- Rename to quinoa
- Implement rudimentary host verification (byte-for-byte equality check
  on certificate)
  - While the verification algorithm is rudimentary, the storage and
    handling/UI is completely acceptable, almost on par with that of SSH
- Fixed termios reset on exit
- There is to be a bug when using the fish shell that breaks things when
  navigating the history with the arrow keys
2023-06-06 23:33:02 -04:00
Michael Pfaff e3d610e9ad
Authentication, better performance, better error handling 2023-06-06 20:07:10 -04:00
Michael Pfaff 96b1a94a4a
Initial commit 2023-06-06 00:32:07 -04:00