<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ocaml-sid, branch master</title>
<subtitle>Windows Security Identifiers</subtitle>
<link rel='alternate' type='text/html' href='http://git.phi-gamma.net/ocaml-sid/'/>
<entry>
<title>opam: add remove directive</title>
<updated>2018-12-16T23:02:51+00:00</updated>
<author>
<name>Philipp Gesang</name>
<email>phg@phi-gamma.net</email>
</author>
<published>2018-12-16T22:57:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.phi-gamma.net/ocaml-sid/commit/?id=f9f98ba58fa925b12698ae24e895da95d8ebbb3a'/>
<id>f9f98ba58fa925b12698ae24e895da95d8ebbb3a</id>
<content type='text'>
https://github.com/ocaml/opam-repository/pull/13118#pullrequestreview-183576751

Suggested-By: @mseri on Github
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ocaml/opam-repository/pull/13118#pullrequestreview-183576751

Suggested-By: @mseri on Github
</pre>
</div>
</content>
</entry>
<entry>
<title>sid.ml: rectify string used to derive constant</title>
<updated>2018-12-11T22:23:16+00:00</updated>
<author>
<name>Philipp Gesang</name>
<email>phg@phi-gamma.net</email>
</author>
<published>2018-12-11T22:22:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.phi-gamma.net/ocaml-sid/commit/?id=317bdf8f2b49be79ac63d55220217267c6048bc5'/>
<id>317bdf8f2b49be79ac63d55220217267c6048bc5</id>
<content type='text'>
Ugh, experiments show that MS will parse arbitrarily short hex encoded
IAs which in turn revealed miscalculation in our sloppy parsing mode.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ugh, experiments show that MS will parse arbitrarily short hex encoded
IAs which in turn revealed miscalculation in our sloppy parsing mode.
</pre>
</div>
</content>
</entry>
<entry>
<title>bump version</title>
<updated>2018-12-09T21:36:18+00:00</updated>
<author>
<name>Philipp Gesang</name>
<email>phg@phi-gamma.net</email>
</author>
<published>2018-12-09T20:33:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.phi-gamma.net/ocaml-sid/commit/?id=346c0c91bce135215597111a0530dd7ab51b3f89'/>
<id>346c0c91bce135215597111a0530dd7ab51b3f89</id>
<content type='text'>
Increment major version due to API breakage.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Increment major version due to API breakage.
</pre>
</div>
</content>
</entry>
<entry>
<title>sid.ml: give hex ia reader enough leeway for sloppy parsing</title>
<updated>2018-12-09T21:36:18+00:00</updated>
<author>
<name>Philipp Gesang</name>
<email>phg@phi-gamma.net</email>
</author>
<published>2018-12-09T21:34:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.phi-gamma.net/ocaml-sid/commit/?id=30557c0fdfdc8eacf481f41ab4c97536763c0fa9'/>
<id>30557c0fdfdc8eacf481f41ab4c97536763c0fa9</id>
<content type='text'>
In MS mode we need for much shorter strings to pass through to the
hex parser.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In MS mode we need for much shorter strings to pass through to the
hex parser.
</pre>
</div>
</content>
</entry>
<entry>
<title>doc: outline usage</title>
<updated>2018-12-09T20:29:09+00:00</updated>
<author>
<name>Philipp Gesang</name>
<email>phg@phi-gamma.net</email>
</author>
<published>2018-12-09T20:29:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.phi-gamma.net/ocaml-sid/commit/?id=4a754036826405dd488b0718315b434c9cb726d0'/>
<id>4a754036826405dd488b0718315b434c9cb726d0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>sidparse: flush linewise when run interactively</title>
<updated>2018-12-09T19:59:13+00:00</updated>
<author>
<name>Philipp Gesang</name>
<email>phg@phi-gamma.net</email>
</author>
<published>2018-12-09T19:59:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.phi-gamma.net/ocaml-sid/commit/?id=5835b73456898c7bd48d3ed9ec2539c1b560f9b8'/>
<id>5835b73456898c7bd48d3ed9ec2539c1b560f9b8</id>
<content type='text'>
Provide immediate feedback on stdout when running in an interactive
terminal the assumption being we’re dealing with a human.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Provide immediate feedback on stdout when running in an interactive
terminal the assumption being we’re dealing with a human.
</pre>
</div>
</content>
</entry>
<entry>
<title>sid: sid_test: add conformance mode imitating MS API</title>
<updated>2018-11-28T23:06:53+00:00</updated>
<author>
<name>Philipp Gesang</name>
<email>phg@phi-gamma.net</email>
</author>
<published>2018-11-13T23:15:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.phi-gamma.net/ocaml-sid/commit/?id=039f4068c0e991b79769426486147d7851d5d6fd'/>
<id>039f4068c0e991b79769426486147d7851d5d6fd</id>
<content type='text'>
Add a conformance handler “Con_MS” to achieve a behavior that
mimicks that of MS’s implementation bug-for-bug.

Aspects of reading and formatting governd by the conformance:

    - Validation of ident auths,
    - validation of subauths,
    - validation of leading zeros in decimal numbers,
    - zero-padding of hex numbers.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a conformance handler “Con_MS” to achieve a behavior that
mimicks that of MS’s implementation bug-for-bug.

Aspects of reading and formatting governd by the conformance:

    - Validation of ident auths,
    - validation of subauths,
    - validation of leading zeros in decimal numbers,
    - zero-padding of hex numbers.
</pre>
</div>
</content>
</entry>
<entry>
<title>sid: functorize well-formedness checks</title>
<updated>2018-11-08T12:20:09+00:00</updated>
<author>
<name>Philipp Gesang</name>
<email>phg@phi-gamma.net</email>
</author>
<published>2018-11-08T12:13:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.phi-gamma.net/ocaml-sid/commit/?id=7b3d8e1d13bab22c82b38012cfcb8cbfe67ed7e5'/>
<id>7b3d8e1d13bab22c82b38012cfcb8cbfe67ed7e5</id>
<content type='text'>
Offload the test for member count and size constraints of sas and ia,
respectively, into a separate validation module. This is a preparatory
step toward adding less rigid parsing modes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Offload the test for member count and size constraints of sas and ia,
respectively, into a separate validation module. This is a preparatory
step toward adding less rigid parsing modes.
</pre>
</div>
</content>
</entry>
<entry>
<title>sid.mli: add short module blurb</title>
<updated>2018-11-07T22:59:44+00:00</updated>
<author>
<name>Philipp Gesang</name>
<email>phg@phi-gamma.net</email>
</author>
<published>2018-11-07T22:59:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.phi-gamma.net/ocaml-sid/commit/?id=5fb6d7cbb60bb5420562b9aa336a796d1bb63a2f'/>
<id>5fb6d7cbb60bb5420562b9aa336a796d1bb63a2f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>sid: sid_test: make subauthorities mandatory</title>
<updated>2018-11-07T22:40:32+00:00</updated>
<author>
<name>Philipp Gesang</name>
<email>phg@phi-gamma.net</email>
</author>
<published>2018-11-07T22:40:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.phi-gamma.net/ocaml-sid/commit/?id=010d9d9d7f82e6d880da646c810492618476ee32'/>
<id>010d9d9d7f82e6d880da646c810492618476ee32</id>
<content type='text'>
Both the constructor “Sid.create” and the string format parser must
reject inputs lacking a subauthorities array of at least size one. Since
the array is no longer optional, reorder the the constructor arguments
to match the data representation.

It is still possible to create SIDs without subauthorities via the
“Sid.create_unsafe” constructor. Also, the packet representation will
happily accept them because their definition (as well as that that of
the identical RPC version) does not specify a minimum count.

This is all rather ambiguous and exacerbated by the fact that [MS-DTYP]
happily specifies an invalid SID “S-1-5” as the “NT_AUTHORITY”. However,
both the grammar and the Win API “ConvertStringSidToSidA()” function
reject SA-less inputs as invalid, so we should too.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Both the constructor “Sid.create” and the string format parser must
reject inputs lacking a subauthorities array of at least size one. Since
the array is no longer optional, reorder the the constructor arguments
to match the data representation.

It is still possible to create SIDs without subauthorities via the
“Sid.create_unsafe” constructor. Also, the packet representation will
happily accept them because their definition (as well as that that of
the identical RPC version) does not specify a minimum count.

This is all rather ambiguous and exacerbated by the fact that [MS-DTYP]
happily specifies an invalid SID “S-1-5” as the “NT_AUTHORITY”. However,
both the grammar and the Win API “ConvertStringSidToSidA()” function
reject SA-less inputs as invalid, so we should too.
</pre>
</div>
</content>
</entry>
</feed>
