Nicolas Williams
df4b09f8af
asn1: Also pretty-print cert policies
2021-08-12 17:31:35 -05:00
Luke Howard
49f3f5bd99
kdc: support for GSS-API pre-authentication
...
Add support for GSS-API pre-authentication to the KDC, using a simplified
variation of draft-perez-krb-wg-gss-preauth-02 that encodes GSS-API context
tokens directly in PADATA, and uses FX-COOKIE for state management.
More information on the protocol and implementation may be found in
lib/gssapi/preauth/README.md.
2021-08-12 17:37:01 +10:00
Luke Howard
89ff0eb462
asn1: ensure template generator includes ASN1CALL
...
Windows 32-bit builds were broken as the ASN1CALL calling convention
macro was not included in the output of gen_template.c, only in the
generated header.
2021-08-12 16:33:45 +10:00
Isaac Boukris
a4527a28a3
Implement KERB_AP_OPTIONS_CBT (server side)
...
if the client asserted knowledge of channel-bindings by
passing KERB_AP_OPTIONS_CBT, and the server passed bindings,
require the bindings to match.
2021-08-06 13:15:19 +10:00
Luke Howard
b8728cae14
asn1: GSER is RFC3641, not RFC2641
...
Update README.md.
2021-07-09 20:04:56 +10:00
Luke Howard
f67dd0f903
roken: move Heimdal vis.h extensions to separate header
...
vis.h is not built on platforms (such as macOS) that already have
that header, which resulted in prototypes for Heimdal-specific
vis.h extensions being absent.
Move those prototypes to a separate header, vis-extras.h, which
must be explicitly included in order to use the Heimdal extensions.
2021-05-17 10:05:58 +10:00
Nicolas Williams
1e65ebd5eb
asn1: Fix Windows build
2021-04-25 10:45:43 -05:00
Nicolas Williams
ec171ef0b6
asn1: Add missing file gen_print.c
2021-04-25 10:45:43 -05:00
Nicolas Williams
5c93af553b
asn1: Build both backends
...
The codegen backend is faster than the template backend, even for
modules that don't use IOS. On x64 we see the template backend being
4% slower for TGS requests using the kdc-tester program.
So let's build both, libasn1 (codegen) and libasn1template when
configured with --disable-asn1-templating, but make sure that the
asn1_print utility is linked with libasn1template.
Eventually we'll want to either optimize the template backend better,
or add IOS and JSON printing support to the codegen backend.
2021-04-23 22:15:51 -05:00
Nicolas Williams
32b314b174
asn1: Generate print stubs (codegen)
2021-04-23 22:15:51 -05:00
Nicolas Williams
407f12cc0b
asn1: Fix --disable-asn1-templating build
2021-04-21 22:40:41 -05:00
Nicolas Williams
9dcab76724
asn1: Fix build concurrency bug
2021-04-01 01:08:00 -05:00
Nicolas Williams
9ff74bcd21
asn1: Fix check/print type confusion
2021-04-01 01:08:00 -05:00
Nicolas Williams
e7a8457fd2
asn1: Fix extra.c printer functions
2021-04-01 01:08:00 -05:00
Nicolas Williams
614b3a5914
asn1: Fix OS X build
...
We can't use VIS_DQ on when the OS has a vis implementation but lacks
VIS_DQ.
2021-03-27 23:29:34 -05:00
Nicolas Williams
7985f402cb
asn1: Attempt to fix makefile concurrency bug
2021-03-26 17:27:47 -05:00
Nicolas Williams
c74c57a143
asn1: Fix lib/asn1/Makefile.am buglet
2021-03-26 17:27:47 -05:00
Nicolas Williams
f0e628c2cf
asn1: Add Heimdal cert ext for ticket max_life
2021-03-24 19:12:00 -05:00
Nicolas Williams
94f9d67b3d
asn1: Update AFL screenshot
2021-03-18 18:07:23 -05:00
Nicolas Williams
36c6342230
asn1: Fix Linux build
2021-03-18 18:03:34 -05:00
Nicolas Williams
57de79ce6d
asn1: Make asn1_print good for benchmarking
2021-03-11 11:58:41 -06:00
Nicolas Williams
c4ff603adf
asn1: Fix asn1_print build w/ templating
2021-03-11 11:58:18 -06:00
Nicolas Williams
36c6ff407e
asn1: Fix Windows build harder
2021-03-11 09:57:18 -06:00
Nicolas Williams
a858821194
asn1: Fix Windows build
2021-03-11 09:50:48 -06:00
Nicolas Williams
4d39e8c1b2
asn1: Also fuzz using X.690 sample
2021-03-11 09:36:53 -06:00
Nicolas Williams
d0298e5804
asn1: Fix recent der_replace_tag() bug
...
Recently introduced.
2021-03-11 09:13:09 -06:00
Nicolas Williams
5bb5887f8c
asn1: Fix recent der_match_tag2() bug
...
Recently introduced.
2021-03-11 09:12:43 -06:00
Nicolas Williams
1b5fe4a35c
asn1: Test x690 sample with both backends
...
And remove it from the library itself.
2021-03-10 22:52:07 -06:00
Nicolas Williams
be2525ef29
asn1: Fix rfc2459.asn1 compilation w/o templates
2021-03-10 21:21:26 -06:00
Nicolas Williams
05a952dbb9
asn1: Fix IMPLICIT tagging (codegen)
2021-03-10 19:15:17 -06:00
Nicolas Williams
7f4e9db9f9
asn1: Make int sizing consistent and better
2021-03-10 19:15:17 -06:00
Nicolas Williams
440bfeda58
asn1: Allow asn1_print to build w/o templating
2021-03-10 16:00:04 -06:00
Nicolas Williams
c69a9764bc
asn1: Update README.md
2021-03-10 12:24:01 -06:00
Nicolas Williams
659e444e3d
asn1: Fix crash found by AFL
2021-03-10 12:23:51 -06:00
Nicolas Williams
a51eaab7b9
asn1: Update README.md
2021-03-09 14:51:19 -06:00
Nicolas Williams
cba34400fe
asn1: Fix printing of open type choice names
2021-03-09 12:22:43 -06:00
Nicolas Williams
6b5feba91d
asn1: Fix printing of bit string named members
...
Properly print commas between members.
2021-03-09 12:20:23 -06:00
Nicolas Williams
8bc4bae52d
asn1: Free template memory leak
...
New AFL session in progress.
2021-03-09 11:21:54 -06:00
Nicolas Williams
2a826fb331
asn1: Results from latest AFL session
2021-03-09 11:21:47 -06:00
Nicolas Williams
77126b4058
asn1: Update README-X681.md
2021-03-08 16:16:00 -06:00
Nicolas Williams
00e0475ce2
asn1: Use name not gen_name for JSON enum printing
2021-03-07 16:32:41 -06:00
Nicolas Williams
5d7d1897de
asn1: Pretty-print enum values
2021-03-07 13:36:37 -06:00
Nicolas Williams
be61d72be3
asn1: Some TPM fields have to be EXPLICIT
...
The TCG EK cert profile says that the context tags in the
TPMSecurityAssertions type are IMPLICIT. The sample EK cert we have
has them as EXPLICIT.
What to do?
2021-03-07 00:31:47 -06:00
Nicolas Williams
f7a018f002
asn1: Minor compiler performance improvment
2021-03-06 15:20:42 -06:00
Nicolas Williams
3f206d56fb
asn1: Add missing cases for ENUMERATED
2021-03-06 15:13:53 -06:00
Nicolas Williams
4010ffa96e
asn1: Fix Windows build harder
2021-03-06 14:57:00 -06:00
Nicolas Williams
bc51427ec9
asn1: Update JSON in check-gen.c (fix test)
2021-03-06 14:47:49 -06:00
Nicolas Williams
a450ef1884
asn1: Note lame JSON printing of ENUMERATEDs
2021-03-06 14:47:24 -06:00
Nicolas Williams
7559f36415
asn1: Add -q option to asn1_print
2021-03-06 14:46:52 -06:00
Nicolas Williams
ff571d52a0
asn1: Fix JSON printing bug
2021-03-06 14:46:21 -06:00