kerberos_authenticator 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c594e9c76894d762d40c03315577382a1202c241
4
- data.tar.gz: 8ca589fdf26e7183cc11075e3224b7b1737b5af3
3
+ metadata.gz: 3afffc469a4b7a1b5bc3158ce86e67d583f72573
4
+ data.tar.gz: 53428561df043b88cbe37a84c0bf86b5ccf53665
5
5
  SHA512:
6
- metadata.gz: 936e9cdefd7562f35f4f583673fc8647bf07361ed934d00486a793b53cfb6b71de327ec118d9c9a0911df14e666d5311513884798e02f8c7e3bae36165b729e1
7
- data.tar.gz: e54b978206b7d64df2e6dab52f441d7393db2aa4fff387ad92c3377ac8d707058f7e0fe81643f940d36b71c3316122b320322c6616966c0adf095b94c46456b1
6
+ metadata.gz: 52972eb5198980638526c36e2d210064a069be28bcf245dbd6a91cd5cd4e1a1ce760da22eef990602d1064245448c1ebaf5a8a241c3e3289ad5d4eb74666cb06
7
+ data.tar.gz: d92070f20d8685d314473d1ca18ed89657bf7cb9c1837b16042dc5dcb4a2941a74c4a8b472bb0df5fce7c4da963c1239779a669a6ff4cce8881eb7bbc5be23b8
@@ -64,7 +64,6 @@ module KerberosAuthenticator
64
64
  verify_creds_opt = FFI::MemoryPointer.new :int, 2
65
65
 
66
66
  Krb5.verify_init_creds_opt_init(verify_creds_opt)
67
- verify_creds_opt.autorelease = false
68
67
 
69
68
  begin
70
69
  Krb5.verify_init_creds_opt_set_ap_req_nofail(verify_creds_opt, nofail)
@@ -73,8 +72,6 @@ module KerberosAuthenticator
73
72
  keytab_ptr = keytab ? keytab.ptr : nil
74
73
 
75
74
  Krb5.verify_init_creds(context.ptr, ptr, server_princ_ptr, keytab_ptr, nil, verify_creds_opt)
76
- ensure
77
- Krb5.get_init_creds_opt_free(context.ptr, verify_creds_opt)
78
75
  end
79
76
 
80
77
  true
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kerberos_authenticator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Watkins
@@ -49,7 +49,7 @@ rubyforge_project:
49
49
  rubygems_version: 2.5.1
50
50
  signing_key:
51
51
  specification_version: 4
52
- summary: An FFI library to support Kerberos authentication of a user, with a password,
53
- and of the KDC, with a keytab
52
+ summary: A Ruby library to authenticate a Kerberos user using their password. Uses
53
+ Ruby-FFI to interface with the Kerberos library.
54
54
  test_files: []
55
55
  has_rdoc: