several new kerberos related libraries and applications to FreeBSD: o kgetcred(1) allows one to manually get a ticket for a particular service. o kf(1) securily forwards ticket to another host through an authenticated and encrypted stream. o kcc(1) is an umbrella program around klist(1), kswitch(1), kgetcred(1) and other user kerberos operations. klist and kswitch are just symlinks to kcc(1) now. o kswitch(1) allows you to easily switch between kerberos credentials if you're running KCM. o hxtool(1) is a certificate management tool to use with PKINIT. o string2key(1) maps a password into key. o kdigest(8) is a userland tool to access the KDC's digest interface. o kimpersonate(8) creates a "fake" ticket for a service. We also now install manpages for some lirbaries that were not installed before, libheimntlm and libhx509. - The new HEIMDAL version no longer supports Kerberos 4. All users are recommended to switch to Kerberos 5. - Weak ciphers are now disabled by default. To enable DES support (used by telnet(8)), use "allow_weak_crypto" option in krb5.conf. - libtelnet, pam_ksu and pam_krb5 are now compiled with error on warnings disabled due to the function they use (krb5_get_err_text(3)) being deprecated. I plan to work on this next. - Heimdal's KDC now require sqlite to operate. We use the bundled version and install it as libheimsqlite. If some other FreeBSD components will require it in the future we can rename it to libbsdsqlite and use for these components as well. - This is not a latest Heimdal version, the new one was released while I was working on the update. I will update it to 1.5.2 soon, as it fixes some important bugs and security issues.
82 lines
2.3 KiB
Groff
82 lines
2.3 KiB
Groff
-- $Id$ --
|
|
|
|
PKCS12 DEFINITIONS ::=
|
|
|
|
BEGIN
|
|
|
|
IMPORTS ContentInfo FROM cms
|
|
DigestInfo FROM rfc2459
|
|
heim_any, heim_any_set FROM heim;
|
|
|
|
-- The PFX PDU
|
|
|
|
id-pkcs-12 OBJECT IDENTIFIER ::= { iso(1) member-body(2) us(840)
|
|
rsadsi(113549) pkcs(1) pkcs-12(12) }
|
|
|
|
id-pkcs-12PbeIds OBJECT IDENTIFIER ::= { id-pkcs-12 1}
|
|
id-pbeWithSHAAnd128BitRC4 OBJECT IDENTIFIER ::= { id-pkcs-12PbeIds 1}
|
|
id-pbeWithSHAAnd40BitRC4 OBJECT IDENTIFIER ::= { id-pkcs-12PbeIds 2}
|
|
id-pbeWithSHAAnd3-KeyTripleDES-CBC OBJECT IDENTIFIER ::= { id-pkcs-12PbeIds 3}
|
|
id-pbeWithSHAAnd2-KeyTripleDES-CBC OBJECT IDENTIFIER ::= { id-pkcs-12PbeIds 4}
|
|
id-pbeWithSHAAnd128BitRC2-CBC OBJECT IDENTIFIER ::= { id-pkcs-12PbeIds 5}
|
|
id-pbewithSHAAnd40BitRC2-CBC OBJECT IDENTIFIER ::= { id-pkcs-12PbeIds 6}
|
|
|
|
id-pkcs12-bagtypes OBJECT IDENTIFIER ::= { id-pkcs-12 10 1}
|
|
|
|
id-pkcs12-keyBag OBJECT IDENTIFIER ::= { id-pkcs12-bagtypes 1 }
|
|
id-pkcs12-pkcs8ShroudedKeyBag OBJECT IDENTIFIER ::= { id-pkcs12-bagtypes 2 }
|
|
id-pkcs12-certBag OBJECT IDENTIFIER ::= { id-pkcs12-bagtypes 3 }
|
|
id-pkcs12-crlBag OBJECT IDENTIFIER ::= { id-pkcs12-bagtypes 4 }
|
|
id-pkcs12-secretBag OBJECT IDENTIFIER ::= { id-pkcs12-bagtypes 5 }
|
|
id-pkcs12-safeContentsBag OBJECT IDENTIFIER ::= { id-pkcs12-bagtypes 6 }
|
|
|
|
|
|
PKCS12-MacData ::= SEQUENCE {
|
|
mac DigestInfo,
|
|
macSalt OCTET STRING,
|
|
iterations INTEGER OPTIONAL
|
|
}
|
|
|
|
PKCS12-PFX ::= SEQUENCE {
|
|
version INTEGER,
|
|
authSafe ContentInfo,
|
|
macData PKCS12-MacData OPTIONAL
|
|
}
|
|
|
|
PKCS12-AuthenticatedSafe ::= SEQUENCE OF ContentInfo
|
|
-- Data if unencrypted
|
|
-- EncryptedData if password-encrypted
|
|
-- EnvelopedData if public key-encrypted
|
|
|
|
PKCS12-Attribute ::= SEQUENCE {
|
|
attrId OBJECT IDENTIFIER,
|
|
attrValues -- SET OF -- heim_any_set
|
|
}
|
|
|
|
PKCS12-Attributes ::= SET OF PKCS12-Attribute
|
|
|
|
PKCS12-SafeBag ::= SEQUENCE {
|
|
bagId OBJECT IDENTIFIER,
|
|
bagValue [0] heim_any,
|
|
bagAttributes PKCS12-Attributes OPTIONAL
|
|
}
|
|
|
|
PKCS12-SafeContents ::= SEQUENCE OF PKCS12-SafeBag
|
|
|
|
PKCS12-CertBag ::= SEQUENCE {
|
|
certType OBJECT IDENTIFIER,
|
|
certValue [0] heim_any
|
|
}
|
|
|
|
PKCS12-PBEParams ::= SEQUENCE {
|
|
salt OCTET STRING,
|
|
iterations INTEGER (0..4294967295) OPTIONAL
|
|
}
|
|
|
|
PKCS12-OctetString ::= OCTET STRING
|
|
|
|
-- KeyBag ::= PrivateKeyInfo
|
|
-- PKCS8ShroudedKeyBag ::= EncryptedPrivateKeyInfo
|
|
|
|
END
|