open-vault/helper/password
James Nugent 2c14ff7385 build: Add support for building on Illumos
This commit adds support for building for Illumos-derived operating
systems. Regrettably, the cyrpto/ssh/terminal package does not include
implementations of the functions IsTerminal, MakeRaw or Restore for the
solaris OS. Consequently this commit implements them in Vault.

makeRaw(fd int) is based on the Illumos implementation of the getpass
function [1] for the correct flags. isTerminal(fd int) is based on the
Illumos libc implementation [2] of isatty.

[1] http://src.illumos.org/source/xref/illumos-gate/usr/src/lib/libast/common/uwin/getpass.c
[2] http://src.illumos.org/source/xref/illumos-gate/usr/src/lib/libbc/libc/gen/common/isatty.c
2016-08-13 00:20:15 -04:00
..
password.go helper/password: interrupt should exit readline 2015-10-16 16:01:19 -07:00
password_solaris.go build: Add support for building on Illumos 2016-08-13 00:20:15 -04:00
password_unix.go Remove us building Solaris binaries for the moment, as they don't build successfully 2016-03-16 15:47:55 -04:00
password_windows.go Fixes #83 2015-04-29 10:20:09 +02:00