~apreiml

Austria

https://denkmaschine.at/

~apreiml/hare-tls

Last active 4 months ago

~apreiml/public-inbox

Last active 4 years ago
View more

Recent activity

Re: [PATCH himitsu-firefox] Makefile: don't depend on extension 2 days ago

From Armin Preiml to ~sircmpwn/himitsu-devel

Thanks!

To git@git.sr.ht:~sircmpwn/himitsu-firefox
   e33ac63..394c981  master -> master

Re: [PATCH hare v4 6/6] asn1: add readme 15 days ago

From Armin Preiml to ~sircmpwn/hare-dev

On Thu Feb 8, 2024 at 11:22 AM CET, Drew DeVault wrote:
> I'm going to make some minor
> improvements, mostly to style and doc strings, and then push this.

Thanks for your support with this!

> Should we make plans to fuzz test this at some point?

Sure, would be neat. Though it will not be a priority for me anytime
soon.

[PATCH hare v4 6/6] asn1: add readme 16 days ago

From Armin Preiml to ~sircmpwn/hare-dev

Signed-off-by: Armin Preiml <apreiml@strohwolke.at>
---

v4: mention oid support

 encoding/asn1/README | 6 ++++++
 1 file changed, 6 insertions(+)
 create mode 100644 encoding/asn1/README

diff --git a/encoding/asn1/README b/encoding/asn1/README
new file mode 100644
index 00000000..80fbf801
--- /dev/null
+++ b/encoding/asn1/README
[message trimmed]

[PATCH hare v4 5/6] asn1: add decode support for non utf8 string types 16 days ago

From Armin Preiml to ~sircmpwn/hare-dev

numeric and ia5, which is basically ascii, are required by some
entries in x.509. UniversalString, BMPString and T61 are only provided
for legacy support.

Note that this only supports a subset of T61. There are still some
certificates in the mozilla trust store that have T61 encoded strings.
Though the characters may only be a subset of ASCII.

Signed-off-by: Armin Preiml <apreiml@strohwolke.at>
---
 encoding/asn1/+test/strings_test.ha | 164 +++++++++
 encoding/asn1/charset+test.ha       | 154 ++++++++
 encoding/asn1/strings.ha            | 362 +++++++++++++++++++
 encoding/asn1/t61.ha                | 534 ++++++++++++++++++++++++++++
[message trimmed]

[PATCH hare v4 4/6] asn1: oid support 16 days ago

From Armin Preiml to ~sircmpwn/hare-dev

encoding/asn1/oiddb/db.txt contains all oids required by the stdlib. It
is in a separate module so that projects may create their own oid list
by appending to the stdlib and generating the db with the genoiddb
command.

It is still no ideal solution if multiple libs will require their own
oids added to the db.

Signed-off-by: Armin Preiml <apreiml@strohwolke.at>
---

v3: Rework to allow different oid databases in different modules.
v4: Fix oid reader test. Improve documentation.
[message trimmed]

[PATCH hare v4 3/6] asn1: decoder 16 days ago

From Armin Preiml to ~sircmpwn/hare-dev

Signed-off-by: Armin Preiml <apreiml@strohwolke.at>
---

 encoding/asn1/+test/decoder_test.ha | 331 ++++++++++++
 encoding/asn1/decoder.ha            | 810 ++++++++++++++++++++++++++++
 2 files changed, 1141 insertions(+)
 create mode 100644 encoding/asn1/+test/decoder_test.ha
 create mode 100644 encoding/asn1/decoder.ha

diff --git a/encoding/asn1/+test/decoder_test.ha b/encoding/asn1/+test/decoder_test.ha
new file mode 100644
index 00000000..2282fc40
--- /dev/null
+++ b/encoding/asn1/+test/decoder_test.ha
[message trimmed]

[PATCH hare v4 2/6] asn1: encoder 16 days ago

From Armin Preiml to ~sircmpwn/hare-dev

Signed-off-by: Armin Preiml <apreiml@strohwolke.at>
---

v3: the encoder now uses io operations on 'mem' except in encode

 encoding/asn1/+test/encoder_test.ha | 147 ++++++++++
 encoding/asn1/encoder.ha            | 422 ++++++++++++++++++++++++++++
 2 files changed, 569 insertions(+)
 create mode 100644 encoding/asn1/+test/encoder_test.ha
 create mode 100644 encoding/asn1/encoder.ha

diff --git a/encoding/asn1/+test/encoder_test.ha b/encoding/asn1/+test/encoder_test.ha
new file mode 100644
index 00000000..6ac2a21a
[message trimmed]

[PATCH hare v4 1/6] asn1: add types and errors 16 days ago

From Armin Preiml to ~sircmpwn/hare-dev

Signed-off-by: Armin Preiml <apreiml@strohwolke.at>
---

 encoding/asn1/errors.ha |  68 ++++++++++++++++++++
 encoding/asn1/types.ha  | 136 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 204 insertions(+)
 create mode 100644 encoding/asn1/errors.ha
 create mode 100644 encoding/asn1/types.ha

diff --git a/encoding/asn1/errors.ha b/encoding/asn1/errors.ha
new file mode 100644
index 00000000..f79f5e84
--- /dev/null
+++ b/encoding/asn1/errors.ha
[message trimmed]

[PATCH hare v3 6/6] asn1: add readme 18 days ago

From Armin Preiml to ~sircmpwn/hare-dev

Signed-off-by: Armin Preiml <apreiml@strohwolke.at>
---
 encoding/asn1/README | 4 ++++
 1 file changed, 4 insertions(+)
 create mode 100644 encoding/asn1/README

diff --git a/encoding/asn1/README b/encoding/asn1/README
new file mode 100644
index 00000000..ff3c9749
--- /dev/null
+++ b/encoding/asn1/README
@@ -0,0 +1,4 @@
This module provides functions to parse the distinguished encoding rules (DER)
subset of the basic encoding rules (BER) format defined in X.690 ITU-T standard.
[message trimmed]