Digital Signatures for Dummies®, Cryptomathic Special Edition
Total Page:16
File Type:pdf, Size:1020Kb
These materials are © 2017 John Wiley & Sons, Ltd. Any dissemination, distribution, or unauthorized use is strictly prohibited. Digital Signatures Cryptomathic Special Edition by Chris Allen and Steve Marshall These materials are © 2017 John Wiley & Sons, Ltd. Any dissemination, distribution, or unauthorized use is strictly prohibited. Digital Signatures For Dummies®, Cryptomathic Special Edition Published by: John Wiley & Sons, Ltd., The Atrium, Southern Gate Chichester, West Sussex, www.wiley.com © 2017 by John Wiley & Sons, Ltd., Chichester, West Sussex Registered Office John Wiley & Sons, Ltd., The Atrium, Southern Gate, Chichester, West Sussex, PO19 8SQ, United Kingdom All rights reserved. No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted by the UK Copyright, Designs and Patents Act 1988, without the prior written permission of the Publisher. For information about how to apply for permission to use the copyright material in this book, please see our website at http://www. wiley.com/go/permissions. Trademarks: Wiley, For Dummies, the Dummies Man logo, Dummies.com, and related trade dress are trademarks or registered trademarks of John Wiley & Sons, Inc. and/or its affiliates in the United States and other countries, and may not be used without written permission. All other trademarks are the property of their respective owners. John Wiley & Sons, Ltd., is not associated with any product or vendor mentioned in this book. LIMIT OF LIABILITY/DISCLAIMER OF WARRANTY: WHILE THE PUBLISHER AND AUTHOR HAVE USED THEIR BEST EFFORTS IN PREPARING THIS BOOK, THEY MAKE NO REPRESENTATIONS OR WARRANTIES WITH RESPECT TO THE ACCURACY OR COMPLETENESS OF THE CONTENTS OF THIS BOOK AND SPECIFICALLY DISCLAIM ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. IT IS SOLD ON THE UNDERSTANDING THAT THE PUBLISHER IS NOT ENGAGED IN RENDERING PROFESSIONAL SERVICES AND NEITHER THE PUBLISHER NOR THE AUTHOR SHALL BE LIABLE FOR DAMAGES ARISING HEREFROM. IF PROFESSIONAL ADVICE OR OTHER EXPERT ASSISTANCE IS REQUIRED, THE SERVICES OF A COMPETENT PROFESSIONAL SHOULD BE SOUGHT. For general information on our other products and services, or how to create a custom For Dummies book for your business or organization, please contact our Business Development Department in the U.S. at 877-409-4177, contact [email protected], or visit www.wiley.com/go/ custompub. For information about licensing the For Dummies brand for products or services, contact BrandedRights&[email protected]. ISBN 978-1-119-42289-1 (pbk), ISBN 978-1-119-42290-7 (ebk) Printed in Great Britain 10 9 8 7 6 5 4 3 2 1 Publisher’s Acknowledgments We’re proud of this book and of the people who worked on it. Some of the people who helped bring this book to market include the following: Project Editor: Martin V. Minner Production Editor: Siddique Shaik Editorial Manager: Rev Mengle Cryptomathic Project Manager: Executive Editor: Katie Mohr Stefan Hansen Business Development Representative: Frazer Hossack These materials are © 2017 John Wiley & Sons, Ltd. Any dissemination, distribution, or unauthorized use is strictly prohibited. Table of Contents INTRODUCTION ............................................................................................... 1 CHAPTER 1: Why Digital Signatures Are Relevant Now .............. 5 Why Use Digital Signatures? ................................................................ 5 A Tool for Building Confidence ........................................................... 7 Rules of the Game ................................................................................ 8 CHAPTER 2: Demystifying the Technology .......................................... 11 Security Is A PAIN ............................................................................... 11 Availability ...................................................................................... 12 Privacy ............................................................................................ 12 Authentication ............................................................................... 13 Integrity .......................................................................................... 13 Non-repudiation............................................................................ 13 Putting it all together .................................................................... 14 The Science of Encryption ................................................................. 14 Encryption and Digital Signatures .................................................... 16 Public-key cryptography ............................................................... 16 What is being signed? ................................................................... 18 It’s a matter of trust ...................................................................... 19 A word on blockchains ................................................................. 20 The Need for Digital Certificates ...................................................... 21 CHAPTER 3: A World of Possibilities .......................................................... 23 Where the Business Models Stand Now ......................................... 23 Defining Digital Signature Formats .................................................. 25 The PAdES format ......................................................................... 25 The XAdES and CAdES formats ................................................... 26 Building the Architectural Frameworks ........................................... 27 Are You Signing What You See? ........................................................ 28 Why Remote Signature Server Solutions Are Preferable ..............30 PKI becomes invisible ................................................................... 30 Certificate expiration and revocation are no longer issues .......31 The end of blacklists ..................................................................... 31 Independent timestamping is no longer required ...................32 Remote signing works on the latest smartphones and tablets ..................................................................................... 32 What it all means .......................................................................... 32 Table of Contents iii These materials are © 2017 John Wiley & Sons, Ltd. Any dissemination, distribution, or unauthorized use is strictly prohibited. Europe Pioneers the Regulatory Framework .................................. 33 Authentication assurance: The three levels .............................. 34 Signatures: Qualified and Advanced .......................................... 35 Digital Signature Law in the U.S. ....................................................... 37 Laws in Other Jurisdictions ................................................................ 38 CHAPTER 4: Your Deployment Strategy ................................................ 39 Digital Strategy Is Yours to Own ....................................................... 39 Getting Help ........................................................................................ 40 Checklists and Pointers to Consider ................................................ 41 Your business strategy ................................................................. 42 Commercial factors/influences ................................................... 42 User experience ............................................................................ 42 Security ........................................................................................... 43 Legal admissibility ......................................................................... 43 Integration effort .......................................................................... 43 Scalability/extensibility/operability ............................................. 44 Reputation and experience ......................................................... 44 Ongoing management ................................................................. 44 Commercial Considerations .............................................................. 45 CHAPTER 5: You’ve Signed, Now What? ................................................. 47 Seeing What’s Been Signed ............................................................... 48 Archiving for the Long Term ............................................................. 49 PAdES Baseline Profile ................................................................. 50 Long-Term Archival with Timestamps (LTA) .............................. 50 Dealing with Threats .......................................................................... 52 Hands off my private key! ............................................................ 53 The human factor ......................................................................... 54 Direct social engineering.............................................................. 56 Man-in-the-browser attack .......................................................... 57 Legal Matters: Liability and Non-Repudiation ................................ 57 Getting Consumers to Buy In ............................................................ 59 CHAPTER 6: Ten Ways Cryptomathic Can Help You..................... 61 iv Digital Signatures For Dummies, Cryptomathic Special Edition These materials are © 2017 John Wiley