Git Product home page Git Product logo

google / hiba Goto Github PK

View Code? Open in Web Editor NEW
363.0 11.0 15.0 147 KB

HIBA is a system built on top of regular OpenSSH certificate-based authentication that allows to manage flexible authorization of principals on pools of target hosts without the need to push customized authorized_users files periodically.

Home Page: https://github.com/google/hiba

License: BSD 3-Clause "New" or "Revised" License

Makefile 0.93% C 64.77% Shell 12.54% M4 6.46% Roff 15.29%
ssh authorization

hiba's Issues

hiba-ca.sh

hiba-ca.sh script does not accept '-m' option but prints it if called with '--help'

Revocations, invalid use of undefined type 'struct sshbuf'

Gathering fresh sources for openssh-portable, openssl, and hiba I run into a build error.

Following the instructions on INSTALL.md, I gathered sources

$ git clone [email protected]:openssh/openssh-portable.git
$ git clone [email protected]:sourcequench/hiba.git
$ git clone git://git.openssl.org/openssl.git

Building openssl and openssh (with the addition of LD_LIBRARY_PATH=../openssl) worked out fine.

The autogen.sh and configure steps worked fine for hiba, but make ended in sadness - looks like an issue with untyped struct for revocations.

make
make  all-am
make[1]: Entering directory '/home/ryanshea/git/hiba'
  CC       libhiba_la-revocations.lo
In file included from revocations.c:15:
revocations.c: In function 'hibagrl_decode':
revocations.c:173:80: error: invalid use of undefined type 'struct sshbuf'
  173 |                 debug3("hibagrl_decode: serial list section content @%zu", blob->off);
      |                                                                                ^~
../openssh-portable/log.h:88:100: note: in definition of macro 'debug3'
   88 | #define debug3(...)             sshlog(__FILE__, __func__, __LINE__, 0, SYSLOG_LEVEL_DEBUG3, NULL, __VA_ARGS__)
      |                                                                                                    ^~~~~~~~~~~
revocations.c:189:75: error: invalid use of undefined type 'struct sshbuf'
  189 |                 debug3("hibagrl_decode: bitmap section content @%zu", blob->off);
      |                                                                           ^~
../openssh-portable/log.h:88:100: note: in definition of macro 'debug3'
   88 | #define debug3(...)             sshlog(__FILE__, __func__, __LINE__, 0, SYSLOG_LEVEL_DEBUG3, NULL, __VA_ARGS__)
      |                                                                                                    ^~~~~~~~~~~
make[1]: *** [Makefile:609: libhiba_la-revocations.lo] Error 1
make[1]: Leaving directory '/home/ryanshea/git/hiba'
make: *** [Makefile:394: all] Error 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.