Digital Signatures: Practical Guidelines

We use digital signatures every time we visit a secure web site. Visiting a secure web site involves an authentication process that includes verifying the identity of the server by ensuring that its digital certificate, or “server certificate”, is signed by a trusted certificate authority. This verification process might involve verifying an entire chain of certificates from the actual server certificate up through one or more intermediate certificate authorities and ending with a trusted root certificate authority. This all takes place quickly and automatically before the web page is displayed in your web browser because the web browser includes built in logic to do this work without any user interaction. More importantly, the web browser warns us when the server certificate is expired or invalid. The biggest obstacle when using digital certificates in a CAD environment today is not creating them, but easily and automatically verifying them at the receiving end. Even in a completely digital distribution system where everybody works from the CAD model, the various software tools we use to view and work with the model do not handle digital signature verification automatically in a standardized way. As long as downstream consumers of CAD data cannot easily and automatically ensure the trustworthiness of digital data, they will continue to rely on handwritten signatures on paper. A second obstacle to the use of digital signatures is the difficulty in accepting that digitally signed data is only trustworthy while it remains in digital format, and therefore the digital file is the “record” document. There is substantial social inertia that must be overcome before a digital document can gain the same amount of trust as a paper document. Engineers and architects must deal with the specter of previously hidden meta data in their CAD models becoming part of their signed document, thereby exposing them to new liabilities that don’t exist with paper drawings. Construction supervisors must learn to refer to the CAD model instead of relying on hardcopy blueprints when resolving disputes or establishing responsibility for errors. Here I think it should be noted that the use of a digitally signed model does not preclude the creation of hardcopy blueprints. Those can be created and “wet stamped” separately at the same time the CAD model is signed digitally; or they can be created in the field for reference without any signature at all. AutoCAD has supported digital signatures for several years, but using the built in functionality is limited to only individual DWG files, lacks support for co-signing (more than one person signing), and forces the signed document to remain in the proprietary DWG format or lose its signature. These problems can be worked around by using third party tools, but doing so requires recipients to use the same tools. Over the past few years, many government plan review bodies have amended laws and administrative rules to accommodate digital signatures as part of the plan review process. Without standardization, however, organizations still struggle to effect the necessary changes in their workflow. A lack of uniformity in terminology from one set of regulations to another adds to the confusion. If you are involved in amending or creating rules or regulations that enable the use of digital signatures, you should use generic and well defined terms of art in the regulations, but supplement these with practical guidelines that mention specific technologies, software tools, and file formats that will meet the legal requirements and that you are capable of working with. If you are an architect, engineer, or CAD manager working to implement digital signatures into your firm’s workflow, there are some concrete steps you can take to make the task easier. Start by segregating your distribution network into “digital-only” and “hardcopy” classes of downstream users. Begin the transition with the digital-only part of the network (perhaps only the plan reviewing authority, for example). Next, decide which file format to use for your digital “documents”. Rather than signing CAD files, many companies start by signing 2D output files such as PDF, DWFx, or XPS. These files are essentially digital versions of the hardcopy documents, so they are more familiar to a wider audience and avoid some of the liability issues of exposing formerly hidden metadata that lives within the CAD model files. You’ll need to obtain a digital ID and establish internal policies for storing and accessing the digital ID so that only the owner of the digital ID ever has access to the private key. Windows includes a built in certificate manager that you can use to view and manage your digital IDs. To start the certificate manager, run the certmgr.msc management console by entering its name in the Start -> Run command window. Your digital certificate will be installed in your personal certificates folder along with a link to the private key stored in the Windows secure key repository. Make a backup of the digital ID by exporting it to a password protected PFX file. Once a backup is made, the private key should be marked as not exportable to further secure it. If you want to create digitally signed AutoCAD DWG files, you can use the digital signature feature of AutoCAD to sign a drawing file either while saving it or after it is saved. You should also consider subscribing to a commercial time service (see What time is it?) to ensure that your signatures are accompanied by a reliable time stamp in case your digital ID becomes compromised at some point in the future. Third party tools like CADVault for AutoCAD even make it possible for different people to sign different parts of the CAD model, but such advanced functionality is not needed in most cases. If you use different CAD software that does not support digital signatures natively, or if you choose to sign only the secondary files produced by exporting your CAD model to a different format, then you will need to use either tools specific to that format or third party tools that work with files of any format. Adobe Acrobat (PDF) and Microsoft’s free XPS Viewer both provide integrated digital signature tools that use the same digital IDs that you would use in AutoCAD, Internet Explorer, or Outlook/Windows Mail, and both applications are easy for recipients to obtain and use. Another popular tool for managing digital IDs and signing files is an open source tool called GnuPG. GnuPG utilizes encryption and key storage standards called OpenPGP. OpenPGP is not compatible with the X.509 standard used by Windows and many other encryption tools, however it is an attractive alternative when cost or closed source tools are a prohibitive barrier. There are many other digital signature resources available on the internet for those wanting more information, or needing specialized tools. Unfortunately, no matter what software tools or file formats you use, today’s CAD software and document viewers still do not provide the user experience that web browsers do when it comes to digital signatures. These problems can be overcome by end users, but ultimately they need to be addressed by the makers of the software tools we use. Software for handling digital data will need better user interfaces that allow users to easily specify which digital signatures should be trusted for which purposes, and provide requisite warnings when a document should not be trusted. I am confident that these improvements will come in the future, especially as more companies begin to use digital signatures in their workflow and demand for better digital signature support rises. If you already use digital signatures with your CAD related documents, I would like to hear about it. Please leave a comment about your experiences, whether good or bad!

December 10, 2007 · 6 min · Owen Wengerd

Digital Signatures: Prelude

For many, the word "encryption" has a mysterious quality that invokes images of math virtuosos in secret bunkers working feverishly during wartime to break the enemy's coded communications. My first exposure to encryption came in 1996 when I began working with Paul Kohut on the first version of CADLock software for locking AutoCAD drawing files. After overcoming my initial struggle to understand the terminology and get a handle on the mathematics behind encryption, I realized that it wasn't nearly as mysterious and complicated as it first appeared. ...

December 10, 2007 · 2 min · Owen Wengerd

Digital Signatures

Introduction The information on this page was compiled from a series of posts on my blog in December, 2007 about the use of digital signatures in the CAD industry. Note that some information and links that were current as of the original writing may now be out of date. ...

December 10, 2007 · 17 min · Owen Wengerd

Brutal

I’ve heard the word “brutal” used more than once during conversations with Autodesk employees about the Autodesk sponsored discussion groups. It’s true that raw unfiltered feedback can be brutal, and it can also hurt your ego if you happen to be the target of criticism. The trick is to learn how to interpret the feedback. If you can master that skill, that raw feedback is a fast, unbiased, low noise-to-signal-ratio predictor of the future. I’ve seen many recognizable Autodesk names come and go since the days of Autodesk’s original online discussion group, the CompuServe ACAD forum. Oftentimes, they came espousing the virtues of such a vibrant community, only to wilt away after they got singed a few times in the inevitable flame wars. Some Autodesk names (Art Cooney comes to mind) have been around forever, and still take it all in stride. Personally, I view the discussion groups as one of Autodesk’s biggest competitive advantages, even while they go largely untapped. This week saw too issues erupt into what could fairly be termed brutal feedback. The first was caused by the Autodesk University registration site failing under the load of opening day registration. Several threads (“Dear Carl Bass” and “AU2007 Registration is now open!!!") called Autodesk to the carpet for blowing it again, after a similar fiasco in 2006. The second event occurred when AutoCAD product manager Eric Stover announced a new “bonus” tool called CommandComplete. I pity the poor guy or gal that wrote this tool (on their own time, I’m sure), all excited to see how it is received, only to become the victim of a flame war. Okay, not really a flame war in this case because Eric employed his finely tuned flame retardant diplomacy skills to prevent it from getting out of hand – so let’s just call it a “venomous reaction”. There is a moral to this story. Some companies would kill to have access to this kind of critical, unfiltered, instantaneous feedback from the unwashed masses. I hope Autodesk recognizes the goose that lays the golden egg.

August 17, 2007 · 2 min · Owen Wengerd

QuikPik, Periscope, SuperPurge Updated for AutoCAD 2008

If you use of any of these ManuSoft products, preliminary AutoCAD 2008 support has been available for several weeks at the Download Center for registered users. The QuikPik and Periscope updates are now officially released, and the shareware versions of QuikPik and Periscope are now available as well. SuperPurge will be officially released in the next week or so. My free AcadStatusBarButton library has also been updated for AutoCAD 2008, and is now available for download on the Freebies page. The only change is the addition of a blank status bar pane beneath your floating buttons so that the new annotation scale buttons in AutoCAD 2008 don’t get covered up (the blank panes force the annotation scale buttons to the left of your custom buttons). If your button position is fixed (i.e. not floating), the blank pane will not be used. As always, if you encounter any problems, please let me know!

May 4, 2007 · 1 min · Owen Wengerd

Rational Ignorance

Reading the discussion about the reluctance to move to 3D/BIM in the latest issue of upFront.eZine reminded me of the principle of rational ignorance. The principle of rational ignorance applies when the perceived cost of obtaining knowledge is greater than the perceived benefit. It’s a bit of a chicken-and-egg scenario, where individuals rationalize their decision to remain ignorant based on their perception of the (lack of) benefit in the very thing they are ignorant about. It is interesting to think about the 2D to 3D paradigm shift in terms of shifting the balance in the rational ignorance equation. I think there’s also another principle at work here: Newton’s Third Law. The harder the collective movers and shakers try to push, the harder the end users resist. Maybe if the software companies stopped pushing so hard, the shift would occur naturally with much less resistance. By the way, I noticed a familiar theme in the upFront eZine discussion: those resistant to the paradigm shift lament the lost art of drafting and fail to believe that the new paradigm no longer needs artisans. Obviously there are other factors at work here – factors over which no amount of logic will prevail.

April 22, 2007 · 1 min · Owen Wengerd

Egyptian Pyramid Scheme

Deelip Menezes asks what got me started on lamenting the sad state of the CAD industry in my previous post. Good question. It all started with a Fox News story about a French architect’s claim to have solved the “Pyramid Secret”: http://www.foxnews.com/story/0,2933,262981,00.html. The article links to Dassault Systemes’ web site: http://khufu.3ds.com/introduction/. My snake oil alarm went off when I saw the site. I’ll admit I didn’t read it, but it looks like a slick marketing ploy. I was irritated that I fell for it. It reminded me of how insideous and incestuous this industry has become, now reaching out to mainstream media in search of new victims.

March 31, 2007 · 1 min · Owen Wengerd

Lamenting

In some ways the CAD software industry is a lot like the fashion industry. The movers and shakers are trying to establish new fads that are just recycled from older fads, while guiding the unwashed masses into adopting new trends that have been carefully molded to ensure perpetuation of the system. Meanwhile the up and comers try desperately to get a share of the action, while an entire industry of hangers-on tries to eke out a living from the scraps left behind by the big players. It’s a tired old symphony played on the world stage, with pretty much the same players today as twenty years ago. The same seamstresses making the same old faux fluff, dressing it up a bit, draping it over a new model, and parading it down the same old runways. Bah! I’m going outside, maybe that’ll cheer me up.

March 31, 2007 · 1 min · Owen Wengerd

This Just In: Microsoft Patents Photons

No, Microsoft didn’t really try to patent photons, but check out the the ironic twists described in this account of a recent US Supreme Court hearing. Here’s a summary (exaggerated a bit for effect): 1. Microsoft argues that software is not patentable, therefore it is not guilty of patent infringement. 2. The US Government argues on Microsoft’s behalf that software is patentable, but photons are not.

March 2, 2007 · 1 min · Owen Wengerd

Introducing OpenDCL for AutoCAD

AutoLISP programmers may remember a product named ObjectDCL, by 3rd Day Software. ObjectDCL was released as open source in the summer of 2006 by developer Chad Wanless due to his inability to continue supporting the software because of “health reasons”. At the time, many users of ObjectDCL hoped that someone would update the code to work in AutoCAD 2007. Programmer David Robison did some work to get AutoCAD 2007 supported, but the project has been languishing, almost to the point of extinction. After being asked by several ObjectDCL users whether I could help, I decided a few weeks ago to contribute to the community by getting the original C++ code updated to support AutoCAD 2007. As I am wont to do, I’ve ended up re-architecting much of the code in the process. The results of my work are available now at the new OpenDCL project on SourceForge. The new 4.0 release is still in the alpha testing phase. If you program in AutoLISP and want to create rich user interfaces for your applications, check it out!

January 31, 2007 · 1 min · Owen Wengerd

CMS Web Site

Introduction The information on this page was compiled from a series of posts on my blog in January, 2007 entitled "I'll take web sites for $200, Alex". The posts document what I learned during the creation of my first content managed web site. Note that some information and links that were current as of the original writing may now be out of date. ...

January 17, 2007 · 12 min · Owen Wengerd

AutoCAD drawing files: possession is 9/10 of the law?

The title sums up the puzzling conclusion in a recent 6th Circuit Court of Appeals ruling (CA6 Grusenmeyer Decision.pdf) in a decision about a copyright infringement claim filed by Cleveland architect Jeffrey Grusenmeyer. Grusenmeyer had contracted to provide a “master plan” for Magnificat High School. The master plan was provided to Magnificat in hardcopy format, Magnificat paid the architect $15,000 as agreed in the contract, and the project was apparently concluded. Some time later, a Magnificat facility manager requested DWG files for “personal use”. Grusenmeyer asserted at the time that he retained all rights to the DWG files but agreed to provide them on the condition they only be used internally and not be further distributed. Fast forward to the eventual “request for proposal” for an anticipated new building at the school. Upon request, Magnificat provided the Grusenmeyer files to the defendants (a competing architectural firm), who then used portions of the files in their winning proposal. The defendants were aware that Grusenmeyer claimed copyrights to the files, but they used the files anyway. The appeals court notes that “[a]ccording to the individual DSC architects, such reliance on drawings of existing conditions is routine in the industry." In affirming the district court’s summary judgement in favor of the defendants, the appeals court noted that the contract between Grusenmeyer and his client (Magificat High School) provided that Grusenmeyer would “provide a master plan for the implementation of the capital improvements program, including plans, renderings, and perspectives suitable for use in presentation and future reference during master plan implementation.” They concluded that this “plain language” gave Magnificat permission to send the AutoCAD DWG files to Grusenmeyer’s competitor. The district court had previously ruled that Grusenmeyer’s drawings were not sufficiently original to warrant copyright protection, but the appeals court did not address the copyrightability issue at all, dismissing the infringement claim out of hand with their opinion that Grusenmeyer had already given Magnificat carte blanche copyrights to the files vis a vis the quoted clause in their contract – even though the files were never provided as part of the contract! I think the court erred in determining that the DWG files were subject to the terms of the master plan contract (its incorrect interpretation of the contract notwithstanding), but what I find really surprising in the ruling is the appellate court’s complete disregard of the plaintiff’s claimed and federally registered copyrights. The moral of the story If you are providing electronic files, don’t rely on copyright law alone to protect your intellectual property. This case reinforces the 3 C’s for protecting AutoCAD DWG files: copyright, contract, and CADLock. Update William Patry (Senior Copyright Counsel, Google Inc.) writes about this case at The Patry Copyright Blog: Make Sure the Contract is Signed.

January 14, 2007 · 3 min · Owen Wengerd