Repository navigation
Replies: 4 comments 18 replies
|
This kind of annotation was defined in "Digital Signature Appearances for Public-Key Interoperability" by Adobe, Sep 2001. But the only reference I can find to this document is... on our own website, amusingly. The copyright notice says I can't post it here without permission from Adobe, but it's definitely of historical interest only. It specified a recommendation that signatures were made up of several XObject layers with well-defined names (n0, n1, n2, n3, n4), some of which were not displayed and/or empty by default. The PDF viewer would selectively display (and possibly populate) those layers depending on the validation state. I don't think they're deprecated, but I also It's nothing to do with |
|
Indeed, as far as ISO 32000 is concerned, it defines no mechanism for such dynamic appearances. Thus, such a mechanism cannot be deprecated in regard to the PDF specification ISO 32000. But it can be forbidden, see section 12.7.5.5 "Signature Fields" in ISO 32000-2:
Thus, any PDF viewer supporting the dynamic signature appearances is not fully ISO 32000-2 conform. But of course we know that at least a well-known implementation does support a mechanism for those dynamic appearances. Even they, though, started phasing out these signatures some 20 years ago: As Mike said, that mechanism is documented in the Adobe "Digital Signature Appearances" document from September 2001; it is focused on so-called "layers" n1, n3, and n4. But let's follow the development of that document... The May 2003 version of that document still documents the mechanism but at the same time says:
And in the October 2006 version of the document the mechanism is not documented anymore, there merely is
Thus, since Acrobat 6 in the early 2000s these dynamic appearances have effectively been deprecated. Apparently, though, they have not had the time or resources yet to remove this mechanism from Acrobat... ;) |
|
Ok, I got that ISO spec explicitly disallows renderings of signature status and the signature panel check is ofc the gold standard for fighting against tampered "render" documents. To guess the causal reasoning of such spec origination, prohibiting such visual renderings on the document itself of signature status checks is likely a way to discourage relying on tamperable visual renderings. Ideally if both (visual render and signature panel) are always checked by humans there is no harm in keeping the visual rendering I believe but since people might rely solely on the easier choice users may then avoid signature panel altogether if provided with two choices. In an ideal scenario the visual rendering is meaningful when backed by valid crypto chain but if the chain itself is tampered or removed then such direct renderings fully loses value and needs to be checked via additional steps such as signature panel. since it is not easy to differentiate these two states its better to altogether eliminate visual renders on document again. anyway now my question is is rendering this n0-n4 layers differentially upon chain validation ok by pdf readers aka at the minimum should we suppress n1-n3-n4 layers that have code for the "yellow question mark" and "Signature not verified" when the pdf reader is capable to understand historical meaning of those layers and the ability to validate the chain? To clarify, I am not asking about whether the readers should render green or red marks on document as ISO spec blocks but whether just suppressing these default legacy layers should happen which were intended to convey some states; since this scenario is not talked of anywhere - whether the best answer really is "should be left as is"? I know it looks wonky and ISO spec doesnt explicitly describe what should be the behaviour on the pdf documents that follow this legacy formats and if reader can validate the chain of these temporary filler layers. now for real-life example that is complicating the situation futher, the earlier image in this discussion is of Indian Aadhaar, and that signature block is in millions of unique PDFs generated even to this date, and a better uniform solution would definitely be phasing out such layers at source level, but that generating public organisation (UIDAI) isnt open to public discussions and then Adobe propagates this method with even explicit blog page that ISO prohibits and then shows it as the standard way to render those documents signature and for printing it (there is /F 132 for that n0-n4 block atleast but again its meaningless when compared to documents which are tampered fully) - now because adobe readers render it differently and any printed copies showing such renders gets instant veto and has the effect of that other pdf readers who dont render it are deemed to be substandard or incorrect from people who take such document photocopies. Aka the user is forced to use only Adobe reader (see below) because of this hedging behaviour and authorities (who dont bother with pdf signature specs even though they should) at large who rely on that document believe it is the only correct way - and the ironic paradoxical outcome of If you dont have a green tick on your photocopy, you also have not provided proof that it is not tampered so get that green tick at all costs - https://www.google.com/search?q=aadhaar+green+tick and yes for reference adobe acrobat latest version still violates the ISO spec for this n0-n4 objects: |
|
Sorry, @vizagite, it took me a while to recognize why the whole system was a total mess (or I took too much for granted). From your images, I see that the digital signature isn’t by a personal certificate (a digital certificate granted to individuals, such as the common practice may be), but the digital certificate comes from the DS UIAI (Digital Signature Unique Identification Authority of India). Based on this sample and this other one and partly from https://www.adobe.com/in/acrobat/roc/blog/digitally-sign-verify-aadhaar-card.html, this is a unique kind of document that gives all residents of India an official identification card. From a security point of view, I think this is a very good way to forge printed identification cards:
Even online verification of the certificate chain may be tricky with Acrobat, since I don’t know whether the root certificate for the UIAI is part of the Adobe Approved Trust List. The CCA seems to be part of AATL, but I have no idea which my be the CA for the DS UIAI.1 As digitally signing, Adobe seems to suggest a signing method there that isn’t related to any digital signature as involving digital certificates. As a concluding remark, I’m afraid that the FAQ from that article describes some practices that may be hard to understand (at least for an average computer user as myself). Footnotes
|


Uh oh!
There was an error while loading. Please reload this page.
I’m afraid I don’t know the name of this kind of annotation that changes its content depending on how the digital signature is validated:
I thought these annotations for signatures were deprecated long before PDF-1.7, but I cannot find anything about that.
I think these annotations may be similar to
/ByteRangein signatures only excludin the value of/Contents: in PDF-1.7 this was highly recommended, in PDF-2.0 it was mandatory.Could anyone confirm the status of these annotations for signatures in the documentation?
Many thanks for your help.
All reactions