gssapi icon indicating copy to clipboard operation
gssapi copied to clipboard

A Ruby FFI wrapper around GSSAPI

Results 9 gssapi issues
Sort by recently updated
recently updated
newest added

I looked at the MIT source and they just pass a min_stat of 0 when checking the error for `krb5_gss_register_acceptor_identity`. This mimics that behavior.

This adds a guard that prevents the redefinition of the `GSSAPI::LibGSSAPI::GssOID` struct's layout. Previously, the class would call the `layout` method and redefine the layout each time the class was...

After updating to Puppetlabs Bolt 3.0.0 I saw a lot of these lines on console. ``` [DEPRECATION] Struct layout is already defined for class GSSAPI::LibGSSAPI::GssOID. Redefinition as in /opt/puppetlabs/bolt/lib/ruby/gems/2.7.0/gems/gssapi-1.3.1/lib/gssapi/lib_gssapi_loader.rb:10:in `'...

@zenchild in this method there is no min_stat defined in here right? Any explanation that why you use undefined `min_stat` in here? _Originally posted by @Zogoo in https://github.com/zenchild/gssapi/pull/29#discussion_r530244470_

/Users/user/.gem/gems/gssapi-1.2.0/lib/gssapi/lib_gssapi.rb:182: [BUG] Segmentation fault at 0x0000000000000000 ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-darwin18] -- Crash Report log information -------------------------------------------- See Crash Report log file under the one of following: * ~/Library/Logs/DiagnosticReports...

I'm getting following error when I write a simple test with existing (actual) SPNEGO token from AD "Negotiete YIIGUAYGKwYBBQUCoIIGRDCCBkCgMDAuBgkqhk ....". And it's working when I do some test with on...

Hi there, I am encountering the following error when attempting to authenticate using gssapi via SSH. I have traced it down to the following [line](https://github.com/zenchild/gssapi/blob/00965291b00c0e0f6627e93306ca9cbb76d80c8a/lib/gssapi/lib_gssapi.rb#L175). If i comment out this...

In Mac M1, the ruby process is getting crashed while connecting via keytab file ```ruby require 'gssapi' path = "//kerberos/http.keytab" gsscli = GSSAPI::Simple.new(nil, nil, path) ``` Crash log ``` -------------------------------------...

## Description This PR fixes an issue where the GSSAPI library path for kerberos auth was hardcoded to `/usr/lib/libgssapi_krb5.dylib` on macOS in `lib_gssapi_loader.rb`. This caused failures when GSSAPI was installed...