rkerberos 0.2.2 → 0.3.0
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 +4 -4
- data/CHANGES.md +22 -0
- data/EXAMPLES.md +1015 -0
- data/MANIFEST.md +17 -12
- data/README.md +5 -5
- data/ext/rkerberos/ccache.c +105 -26
- data/ext/rkerberos/config.c +59 -10
- data/ext/rkerberos/context.c +76 -7
- data/ext/rkerberos/extconf.rb +16 -3
- data/ext/rkerberos/kadm5.c +301 -96
- data/ext/rkerberos/keytab.c +222 -66
- data/ext/rkerberos/keytab_entry.c +2 -1
- data/ext/rkerberos/policy.c +25 -23
- data/ext/rkerberos/principal.c +136 -10
- data/ext/rkerberos/rkerberos.c +244 -34
- data/ext/rkerberos/rkerberos.h +8 -0
- data/rkerberos.gemspec +10 -7
- data/spec/config_spec.rb +58 -3
- data/spec/context_spec.rb +57 -7
- data/spec/credentials_cache_spec.rb +106 -39
- data/spec/kadm5_spec.rb +292 -17
- data/spec/krb5_keytab_spec.rb +229 -24
- data/spec/krb5_spec.rb +142 -29
- data/spec/policy_spec.rb +12 -7
- data/spec/principal_spec.rb +102 -4
- data/spec/spec_helper.rb +34 -0
- metadata +10 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2b4449ae24587324c6b505b5b6c61fa612730a6bc1443fdb0434d8f1d0a80ce0
|
|
4
|
+
data.tar.gz: 35b35b78ba36dadeb712e340956ae12a8f809e619d05a83bd089c295f6068937
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d70da2c89782b2cd3a04be1ac6a07417b7baaa841fec419a95f9c225d52183d6de6ee4110c7cec4a40561eaf9bc330e81d38e0a56c7a2f0edb297730ef3022e2
|
|
7
|
+
data.tar.gz: 1ceaebf845c73143ba93c85e7e99a714a2ad4af2b6fdef881c550de0e0de6151e034f3012b7c570c75f0e5fc00555e4b4fcc578c0ed8c6b99d7ff2fbdee6ea6d
|
data/CHANGES.md
CHANGED
|
@@ -1,3 +1,25 @@
|
|
|
1
|
+
# 0.3.0 - 20-Aug-2026
|
|
2
|
+
* Added optional shared `Context` support to the `Krb5`, `Kadm5`, `Config`,
|
|
3
|
+
`CredentialsCache`, `Keytab`, and `Principal` constructors.
|
|
4
|
+
* Breaking: standardized option-based constructors, credential acquisition,
|
|
5
|
+
verification, and principal creation on strict keyword arguments. Positional
|
|
6
|
+
option hashes and unknown keywords are rejected.
|
|
7
|
+
* Added credentials cache authentication to the `Kadm5` constructor and support
|
|
8
|
+
for passing a `Principal` object to `Kadm5#create_principal`.
|
|
9
|
+
* Added `Keytab#add_entry`, `Keytab#remove_entry`, and `Keytab#have_content?`.
|
|
10
|
+
* Added context realm accessors, principal components and type information,
|
|
11
|
+
credential cache full names, Kerberos thread-safety detection, hostname
|
|
12
|
+
expansion, host realm lookup, and convenience aliases.
|
|
13
|
+
* Added comprehensive usage examples and expanded specs for the new APIs.
|
|
14
|
+
* Excluded generated artifacts from release packages.
|
|
15
|
+
|
|
16
|
+
# 0.2.3 - 8-Mar-2026
|
|
17
|
+
* All Kadm5 related classes are skipped if not found.
|
|
18
|
+
* Several updates to the spec helper that mainly revolved around supporting
|
|
19
|
+
MS Windows and/or skipping specs when Kadm5 classes aren't found.
|
|
20
|
+
* More potential memory issues addressed, mainly stuff that only happened
|
|
21
|
+
on an error path.
|
|
22
|
+
|
|
1
23
|
# 0.2.2 - 3-Mar-2026
|
|
2
24
|
* Added custom .dup methods for CredentialsCache and Keytab.
|
|
3
25
|
* Added the keytab_name and keytab_type methods to Keytab.
|