Comments (6)
"character-string" is treated as binary information, and can be up to 256 characters in
length (including the length octet).
from acme-spec.
255 characters is the single string limit, a TXT (or SPF) record may exceed this limit by using multiple quoted strings in the record which the reading application must then concatenate, ISC Reference/RFC4408, i.e. TXT "..." "..."
. If we were to use multiple records we would require a way to make sure returned TXT strings were concatenated in the right order, and that no other TXT records are present that could foul up the JWS object.
from acme-spec.
Even with multiple TXT records, it requires that the dns server keeps the TXT records order, and from what I've seen during my tests, it's not always the case. Also it will most likely require to use tcp for dns queries (also not supported by all dns servers).
Using a hash of the signature offers the same level of trust, without those potential problems
from acme-spec.
This will be fixed if #223 is merged
from acme-spec.
There's a bit of misunderstanding here. TXT records may contain multiple character strings and each character string can be 0 to 255 bytes. The maximum number of character strings that can be contained within a single record is limited only by the resource record length field (RDLEN) which is 16-bits and by extension ultimately whatever else is within a given message. (Messages also have a 16-bit length limit and there's the 12-byte header, question and other RRSet fields to take into account.) The order of character strings within a given TXT record is always preserved.
from acme-spec.
Yes, you are right. I figured this out by reading the spec again.
I still consider short records should be preferred, for easier configuration and maximum compatibility.
from acme-spec.
Related Issues (20)
- 7.4 DNS Challenge *pre*pends label HOT 5
- 9.1 update outbound cxn methods HOT 1
- Differing description of {DVSNI, DNS} validation mechanism in 7.2, 9.2 HOT 1
- Add RECOMMENDED line to stronger DNS validation HOT 1
- Specify type of "true" / "false" value for "tls" field. HOT 3
- .well-known ACME challenge files blocked 403 Forbidden in some Nginx configurations HOT 8
- method needed for forwarding *.acme.invalid to correct server HOT 3
- Register .well-known/acme-challenge with IANA HOT 2
- Describe 'validationRecord' (part of a challenge-resource) HOT 1
- Usage of RFC3339 - "5.3 Rarely Used Options" HOT 3
- Clarification on which spec to use HOT 2
- ASN1_mbstring_ncopy string too long with multiple alt-names HOT 3
- Domain validation and usage of userkey pair discussion HOT 1
- Travis integration may expose integration keys HOT 6
- http-01 and dns-01 challenges: just use account key HOT 1
- dns-01 walk-up HOT 1
- Letsencrypt behind a firewall with NAT HOT 4
- --agree-tos in ACME clients: acceptable or not? HOT 2
- Add alternate hostname for http challange HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from acme-spec.