Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
wllm-rbnt authored Jan 13, 2025
1 parent bdf0c1f commit 1c0a1f3
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

[![tests](https://github.com/wllm-rbnt/asn1template/actions/workflows/tests.yml/badge.svg)](https://github.com/wllm-rbnt/asn1template/actions/workflows/tests.yml)

## Description

This tool takes a DER or PEM encoded ASN.1 structure and outputs the equivalent
textual description that can be edited and later be fed to OpenSSL's
```ASN1_generate_nconf(3)``` function in order to build the equivalent DER
Expand Down Expand Up @@ -274,8 +272,8 @@ This script was written many years ago as a quick and dirty PoC. It was then
improved to support DER structures found in the wild (i.e. certificates).

This tool has the same limitations as ```ASN1_generate_nconf(3)```:
- it does not support indefinite length encoding, regular length encoding is
used instead. EOC tags are preserved.
- it does not support indefinite length encoding since DER forbids it, regular
length encoding is used instead. EOC tags are preserved.
- it might produce a template that is not supported by ASN1_generate_nconf(3),
this is the case with some CN encoded as PrintableString that contain
forbidden characters such as ```*```, ```@```, ```&``` or ```_```
Expand All @@ -287,13 +285,13 @@ Please refer to example #5 in [examples](EXAMPLES.md) section.

Line feeds in OCTET STRINGs break the conversion.

Unicode strings are sometimes broken and might require adjustments.
Unicode strings are sometimes broken and might require manual adjustments.

ENUM and some string types are not supported yet by ```asn1template.pl```.

## License

Copyright (c) 2022-2024 William Robinet <[email protected]>
Copyright (c) 2022-2025 William Robinet <[email protected]>

Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
Expand Down

0 comments on commit 1c0a1f3

Please sign in to comment.