JP5041833B2 - Data recovery method, image processing apparatus, controller board, and data recovery program - Google Patents
Data recovery method, image processing apparatus, controller board, and data recovery program Download PDFInfo
- Publication number
- JP5041833B2 JP5041833B2 JP2007069651A JP2007069651A JP5041833B2 JP 5041833 B2 JP5041833 B2 JP 5041833B2 JP 2007069651 A JP2007069651 A JP 2007069651A JP 2007069651 A JP2007069651 A JP 2007069651A JP 5041833 B2 JP5041833 B2 JP 5041833B2
- Authority
- JP
- Japan
- Prior art keywords
- encryption key
- key
- backup
- processing apparatus
- storage device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Record Information Processing For Printing (AREA)
- Facsimile Transmission Control (AREA)
Description
本発明は、データ復旧方法、画像処理装置、コントローラボード及びデータ復旧プログラムに係り、特に暗号鍵によって暗号化されたデータを復旧するデータ復旧方法、画像処理装置、コントローラボード及びデータ復旧プログラムに関する。 The present invention relates to a data recovery method, an image processing apparatus, a controller board, and a data recovery program, and more particularly to a data recovery method, an image processing apparatus, a controller board, and a data recovery program for recovering data encrypted with an encryption key.
近年では、プリンタ,スキャナ,ファックス,コピー又は複合機(MFP)等の画像処理装置においてもセキュリティに関する要求が高くなってきている。画像処理装置は周辺機器の一例である。現在では、複合機等の画像処理装置におけるセキュリティ標準であるIEEE P2600において、装置内部に保存されるデータを保護するという要求、要件がある。 In recent years, there has been an increasing demand for security in image processing apparatuses such as printers, scanners, fax machines, copiers, and multifunction peripherals (MFPs). An image processing apparatus is an example of a peripheral device. Currently, IEEE P2600, which is a security standard for image processing apparatuses such as multifunction peripherals, has a requirement and requirement to protect data stored in the apparatus.
具体的に、画像処理装置ではアドレス帳や画(画像)情報等のユーザデータ,セキュリティログ等のセキュリティデータを格納しているストレージデバイスの盗難及び解析を防いで、ユーザデータ,セキュリティデータを保護する必要がある。ストレージデバイスに格納しているユーザデータ,セキュリティデータを保護する方法としては、一定強度以上の暗号を施すことが考えられる(例えば特許文献1〜3参照)。
Specifically, the image processing apparatus protects user data and security data by preventing theft and analysis of storage devices storing user data such as address books and image (image) information, and security data such as security logs. There is a need. As a method of protecting user data and security data stored in the storage device, it is conceivable to apply encryption with a certain strength or higher (see, for example,
また、ストレージデバイスに格納しているユーザデータ,セキュリティデータを保護する別の方法としては、暗号鍵をTPM(Trusted Platform Module )に格納し、暗号鍵の漏洩を防止することが考えられる。 Another method for protecting user data and security data stored in the storage device is to store the encryption key in a TPM (Trusted Platform Module) to prevent leakage of the encryption key.
ユーザデータ等を保護するパーソナルコンピュータ(PC)やワークステーション等では起動ごとにパスワードを入力させる方法が一般的である。一方、複合機等の画像処理装置は複数のユーザ(操作者)が利用し、且つ誰もが電源をON/OFFすることが一般的な利用形態である。このような利用形態の画像処理装置では、ユーザデータ等を保護するものであっても、起動ごとにパスワードの入力をユーザへ強制することが難しい。 In a personal computer (PC), workstation, or the like that protects user data or the like, a method of inputting a password every time it is started is common. On the other hand, an image processing apparatus such as a multifunction peripheral is generally used by a plurality of users (operators) and everyone turns on / off the power. In an image processing apparatus of such a usage form, it is difficult to force a user to input a password every time it is activated even if it protects user data and the like.
そこで、従来の画像処理装置には、ユーザデータ等を格納しているストレージデバイスの暗号鍵を自動生成し、その暗号鍵をTPMに格納した別の暗号鍵で暗号化して、コントローラボード上の不揮発性メモリ等の不揮発性デバイスに保存しているものがあった。
ユーザデータ等を格納しているストレージデバイスの暗号鍵を自動生成し、その暗号鍵をTPMに格納した別の暗号鍵で暗号化して、コントローラボード上の不揮発性メモリ等の不揮発性デバイスに保存する従来の画像処理装置では、ストレージデバイスが盗難されたとしてもストレージデバイスの解読が困難である。 Automatically generates an encryption key for the storage device that stores user data, etc., encrypts the encryption key with another encryption key stored in the TPM, and stores it in a nonvolatile device such as a nonvolatile memory on the controller board In the conventional image processing apparatus, even if the storage device is stolen, it is difficult to decipher the storage device.
しかしながら、従来の画像処理装置では何らかの部品不良や部品寿命切れ等によりコントローラボードの交換が必要となった場合、ストレージデバイスに暗号化されて格納されているユーザデータ等を復号できなくなる。 However, in the conventional image processing apparatus, when the controller board needs to be replaced due to some component failure or component life expiration, user data encrypted and stored in the storage device cannot be decrypted.
実際、複合機等の家電品ではコントローラボード上の一部の故障部品のみを交換することは稀であり、コントローラボードごと交換することが一般的である。従って、画像処理装置ではコントローラボードの交換が頻繁に起こることが予想される。複合機等の画像処理装置において、コントローラボードの交換毎にユーザデータ等を復号できなくなるのでは都合が悪い。 In fact, in home appliances such as multifunction peripherals, it is rare to replace only some of the faulty parts on the controller board, and it is common to replace the entire controller board. Therefore, it is expected that the controller board is frequently replaced in the image processing apparatus. In an image processing apparatus such as a multifunction machine, it is inconvenient if the user data cannot be decoded every time the controller board is replaced.
本発明は、上記の点に鑑みなされたもので、装置内部の暗号鍵が使用不可となっても装置内部の記憶装置に暗号化されて格納されているデータを復旧することができるデータ復旧方法、画像処理装置、コントローラボード及びデータ復旧プログラムを提供することを目的とする。 The present invention has been made in view of the above points, and is a data recovery method capable of recovering data that is encrypted and stored in a storage device inside the apparatus even if the encryption key inside the apparatus becomes unusable An object is to provide an image processing apparatus, a controller board, and a data recovery program.
上記課題を解決するため、本発明は、少なくともセキュアメモリ及び第1記憶装置を搭載するコントローラボードと、第2記憶装置とを含む構成であり、前記セキュアメモリに第1暗号鍵を格納し、前記第1暗号鍵で暗号化された第2暗号鍵を前記第1記憶装置に格納し、前記第2暗号鍵で暗号化されたデータを前記第2記憶装置に格納している情報処理装置のデータ復旧方法であって、前記第1暗号鍵を用いて前記第2暗号鍵を復号し、その第2暗号鍵を前記情報処理装置の外部にバックアップ鍵としてバックアップするバックアップステップと、前記第1及び第2暗号鍵が使用できないとき、前記バックアップ鍵を前記情報処理装置の内部にリストアするリストアステップと、前記情報処理装置の内部にリストアした前記バックアップ鍵を用いて、前記第2記憶装置に格納しているデータを復号する復号ステップとを有することを特徴とする。 In order to solve the above-described problem, the present invention is a configuration including at least a controller board on which a secure memory and a first storage device are mounted, and a second storage device , storing a first encryption key in the secure memory, the second encryption key encrypted with the first encryption key stored in the first storage device, the data of the information processing apparatus the data encrypted with the second encryption key is stored in the second storage device A backup method that decrypts the second encryption key using the first encryption key and backs up the second encryption key as a backup key outside the information processing apparatus; and the first and first when two encryption key is not available, and restore step of restoring the backup key inside the information processing apparatus, said backup key restored inside the information processing apparatus Used, and having a decoding step of decoding data stored in the second storage device.
また、本発明は、少なくともセキュアメモリ及び第1記憶装置を搭載するコントローラボードと、第2記憶装置と、プロッタ及びスキャナの少なくとも一方とを含む構成であり、前記セキュアメモリに第1暗号鍵を格納し、前記第1暗号鍵で暗号化された第2暗号鍵を前記第1記憶装置に格納し、前記第2暗号鍵で暗号化されたデータを前記第2記憶装置に格納している画像処理装置であって、前記第1暗号鍵を用いて前記第2暗号鍵を復号し、その第2暗号鍵を装置外部にバックアップ鍵としてバックアップするバックアップ手段と、前記第1及び第2暗号鍵が使用できないとき、前記バックアップ鍵を装置内部にリストアするリストア手段と、装置内部にリストアした前記バックアップ鍵を用いて、前記第2記憶装置に格納しているデータを復号する復号手段とを有することを特徴とする。 The present invention also includes a configuration including at least a controller board on which the secure memory and the first storage device are mounted, a second storage device, and at least one of a plotter and a scanner, and the first encryption key is stored in the secure memory. and stores the second encryption key encrypted with the first encryption key to the first storage device, images data encrypted with the second encryption key that has been stored in the second storage device A processing device for decrypting the second encryption key using the first encryption key and backing up the second encryption key as a backup key outside the device; and the first and second encryption keys, When the data cannot be used, the restoration means for restoring the backup key to the inside of the device and the data stored in the second storage device using the backup key restored to the inside of the device. And having a decoding means for decoding the.
また、本発明は、セキュアメモリに第1暗号鍵を格納し、前記第1暗号鍵で暗号化された第2暗号鍵を第1記憶装置に格納するように構成されており、前記第2暗号鍵で暗号化されたデータを格納している第2記憶装置,プロッタ及びスキャナの少なくとも一方を有する画像処理装置に含まれる少なくとも前記セキュアメモリ及び前記第1記憶装置を搭載するコントローラボードであって、前記第1暗号鍵を用いて前記第2暗号鍵を復号し、その第2暗号鍵を前記画像処理装置の外部にバックアップ鍵としてバックアップするバックアップ手段と、前記第1及び第2暗号鍵が使用できないとき、前記バックアップ鍵を前記画像処理装置の内部にリストアするリストア手段と、前記画像処理装置の内部にリストアした前記バックアップ鍵を用いて、前記第2記憶装置に格納しているデータを復号する復号手段とを有することを特徴とする。 Further, the present invention is configured to store a first encryption key in a secure memory, and store a second encryption key encrypted with the first encryption key in a first storage device. A controller board including at least the secure memory and the first storage device included in an image processing apparatus having at least one of a second storage device, a plotter, and a scanner storing data encrypted with a key; Backup means for decrypting the second encryption key using the first encryption key and backing up the second encryption key as a backup key outside the image processing apparatus, and the first and second encryption keys cannot be used Using the restoration means for restoring the backup key to the inside of the image processing apparatus and the backup key restored to the inside of the image processing apparatus. , And having a decoding means for decoding the data stored in the second storage device.
また、本発明は、少なくともセキュアメモリ及び第1記憶装置を搭載するコントローラボードと、第2記憶装置とを含む構成であり、前記セキュアメモリに第1暗号鍵を格納し、前記第1暗号鍵で暗号化された第2暗号鍵を前記第1記憶装置に格納し、前記第2暗号鍵で暗号化されたデータを前記第2記憶装置に格納している情報処理装置に、前記第1暗号鍵を用いて前記第2暗号鍵を復号し、その第2暗号鍵を前記情報処理装置の外部にバックアップ鍵としてバックアップするバックアップ手順と、前記第1及び第2暗号鍵が使用できないとき、前記バックアップ鍵を前記情報処理装置の内部にリストアするリストア手順と、前記情報処理装置の内部にリストアした前記バックアップ鍵を用いて、前記第2記憶装置に格納しているデータを復号する復号手順とを実行させるためのデータ復旧プログラムであることを特徴とする。
The present invention also includes a controller board on which at least a secure memory and a first storage device are mounted, and a second storage device, wherein the first encryption key is stored in the secure memory, and the first encryption key is used. storing the second cryptographic key encrypted in the first storage device, the data encrypted with the second encryption key with which the information processing apparatus is stored in the second storage device, the first encryption key A backup procedure for decrypting the second encryption key using the server and backing up the second encryption key as a backup key outside the information processing apparatus, and when the first and second encryption keys cannot be used, the backup key The data stored in the second storage device is restored using the restore procedure for restoring the information into the information processing device and the backup key restored in the information processing device. Characterized in that it is a data recovery program for executing the Gosuru decoding procedure.
なお、本発明の構成要素、表現または構成要素の任意の組合せを、方法、装置、システム、コンピュータプログラム、記録媒体、データ構造などに適用したものも本発明の態様として有効である。 In addition, what applied the component, expression, or arbitrary combination of the component of this invention to a method, an apparatus, a system, a computer program, a recording medium, a data structure, etc. is also effective as an aspect of this invention.
本発明によれば、装置内部の暗号鍵が使用不可となっても装置内部の記憶装置に暗号化されて格納されているデータを復旧することができるデータ復旧方法、画像処理装置、コントローラボード及びデータ復旧プログラムを提供可能である。 According to the present invention, a data recovery method, an image processing apparatus, a controller board, and a data recovery method capable of recovering data encrypted and stored in a storage device inside the apparatus even when the encryption key inside the apparatus becomes unusable A data recovery program can be provided.
次に、本発明を実施するための最良の形態を、以下の実施例に基づき図面を参照しつつ説明していく。なお、本実施例では情報処理装置及び画像処理装置の一例として複合機を例に説明するが、他の装置又は機器等であってもよい。 Next, the best mode for carrying out the present invention will be described based on the following embodiments with reference to the drawings. In the present embodiment, a multifunction peripheral is described as an example of the information processing apparatus and the image processing apparatus. However, other apparatuses or devices may be used.
図1は本発明による複合機の一例のハードウェア構成図である。複合機100は、コントローラボード101,オペポート109,プロッタ110,スキャナ111,NVRAM112及びHDD113を含む構成である。コントローラボード101は、CPU102,ROM103,RAM104,LANコントローラ105,DCR106,TPM107,USBフラッシュメモリ108,OCR501を含む構成である。
FIG. 1 is a hardware configuration diagram of an example of a multifunction machine according to the present invention. The
コントローラボード101は、複合機100の全体制御を行うマザーボード(基盤)である。CPU102は演算処理を行う。ROM103はプログラムを格納する。RAM104はプログラムを動作し、又は一時的にデータを格納する。LANコントローラ105はイーサネット(登録商標)や無線LAN等のネットワークと接続する。DCR106は画情報(ビットマップ)を電子文書に変換する。
The
TPM107はコントローラボード101に直付けされるチップで実現される。特開2004−282391号公報には、TCPA(Trusted Computing Platform Alliance)の仕様に基づいたPCにおける、TPM(Trusted Platform Module )を用いた情報の暗号化について記載されている。TPM107はセキュアメモリの一例である。USBフラッシュメモリ108は不揮発性メモリの一例である。OCR501は印刷された文字情報を読み取り、符号化するものである。
The TPM 107 is realized by a chip directly attached to the
オペポート109は、ユーザ操作入出力を行う。プロッタ110は、紙に画情報を印刷する。スキャナ111は、紙から画情報を読み取る。NVRAM112は、不揮発性メモリ及びストレージデバイスの一例である。NVRAM112は、各種パラメータを保持する。HDD(ハードディスクドライブ)113はアドレス帳や画情報などの大量のデータを保持する。HDD113はストレージデバイスの一例である。
The
複合機100は、TPM107の内部に暗号鍵B及びCを暗号化又は復号するための暗号鍵Aを保存している。また、複合機100はUSBフラッシュメモリ108に、暗号鍵Aで暗号化された状態の暗号鍵B及びCを保存している。暗号鍵BはNVRAM112を暗号化又は復号するためのものである。暗号鍵CはHDD113を暗号化又は復号するためのものである。
The
図2は本発明による複合機の一例のソフトウェア構成図である。複合機100は、OS114,全体制御ソフトウェア(CTL)115,コピーソフトウェア,プリンタソフトウェア,ファックスソフトウェア,スキャナソフトウェア及びドキュメントボックスソフトウェアから成るアプリケーション制御ソフトウェア116を含む構成である。
FIG. 2 is a software configuration diagram of an example of a multifunction machine according to the present invention. The MFP 100 includes an OS 114, an overall control software (CTL) 115,
OS114はソフトウェアを動作させるためのオペレーティングシステムである。CTL115は各アプリケーション制御ソフトウェア116に対して、データの集計、受け渡しを行うソフトウェアである。アプリケーション制御ソフトウェア116は複合機100の各アプリケーションを制御するソフトウェアである。
The OS 114 is an operating system for operating software. The CTL 115 is software that aggregates and delivers data to each
図1及び図2に示した複合機100は例えば図3及び図4に示すように起動する。図3は本発明による複合機の起動手順を表したフローチャートである。図4は本発明による複合機の起動手順を表したシーケンス図である。
The
まず、図3のフローチャートでは、複合機100の電源がONされると、ステップS1に進み、CTL115がTPM107から暗号鍵Aを取得したあと、USBフラッシュメモリ108に暗号鍵が設定されているか判定する。暗号鍵が設定されていれば(S2においてYES)、CTL115はステップS3に進み、USBフラッシュメモリ108に保存されている、暗号鍵Aによって暗号化された状態の暗号鍵B及びCを、暗号鍵Aを用いて復号する。
First, in the flowchart of FIG. 3, when the
ステップS4に進み、CTL115は復号した暗号鍵BをUSBフラッシュメモリ108から取得し、暗号鍵Bを用いてNVRAM112を復号する。また、CTL115はステップS5に進み、復号した暗号鍵CをUSBフラッシュメモリ108から取得し、その暗号鍵Bを用いてHDD113を復号する。ステップS8に進み、複合機100はアプリケーション制御ソフトウェア116によって各アプリケーションを起動する。
In step S4, the
暗号鍵が設定されていなければ(S2においてNO)、CTL115はNVRAM112及びHDD113が暗号化されていないと判定する。ステップS6に進み、CTL115はNVRAM112から各種パラメータを読み出す。また、ステップS7に進み、CTL115はHDD113からデータを読み出す。ステップS8に進み、複合機100はアプリケーション制御ソフトウェア116によって各アプリケーションを起動する。
If the encryption key is not set (NO in S2), the
図4のシーケンス図は、NVRAM112及びHDD113が暗号化されているときの起動手順を表している。まず、図4のシーケンス図では、複合機100の電源がONされると、ステップS11及びS12において、CTL115がTPM107から暗号鍵Aを取得する。ステップS13に進み、CTL115はUSBフラッシュメモリ108に保存されている、暗号鍵Aによって暗号化された状態の暗号鍵B及びCを、暗号鍵Aを用いて復号する。
The sequence diagram of FIG. 4 represents a startup procedure when the
ステップS14に進み、CTL115は復号した暗号鍵B及びCをUSBフラッシュメモリ108から取得する。ステップS15に進み、CTL115は暗号鍵Bを用いてNVRAM112を復号する。ステップS16に進み、CTL115は暗号鍵Cを用いてHDD113を復号する。そして、複合機100はアプリケーション制御ソフトウェア116によって各アプリケーションを起動する。
In
ここでは、本発明の理解を容易とするため、複合機100のコントローラボード101の交換時に生じる問題点について説明する。図5はコントローラボードを交換した複合機の一例のハードウェア構成図である。
Here, in order to facilitate understanding of the present invention, a problem that occurs when the
図5に示すように、コントローラボード101を交換した複合機100では、USBフラッシュメモリ108が初期化された状態となっており、暗号鍵Aで暗号化された状態の暗号鍵B及びCが保存されていない。したがって、コントローラボード101を交換した複合機100では、NVRAM112及びHDD113に暗号鍵B及びCで暗号化されて格納されているパラメータやデータを復号できないため、NVRAM112及びHDD113に暗号化されて格納されているパラメータやデータを復旧することができないという問題があった。結果として、コントローラボード101を交換した複合機100では、NVRAM112及びHDD113が故障していなくても、NVRAM112及びHDD113を初期化しなければならなかった。
As shown in FIG. 5, in the
なお、TPM107は暗号鍵B及びCを暗号化又は復号するための暗号鍵Aと異なる暗号鍵A'を保存している。TPM107が保存している暗号鍵A'は例えばコントローラボード101毎に異なる。
The
図6は本発明によるデータ復旧方法を表した概念図である。図6の上段はコントローラボード101の交換前の複合機100を表している。図6の下段はコントローラボード101の交換後の複合機100を表している。
FIG. 6 is a conceptual diagram showing a data recovery method according to the present invention. The upper part of FIG. 6 represents the multifunction peripheral 100 before the
本発明による複合機100は、コントローラボード101が正常動作している間に、USBフラッシュメモリ108に保存されている暗号鍵B及びCを、操作パネル等により外部出力しておく。そして、コントローラボード101の交換後、本発明による複合機100は外部出力しておいた暗号鍵B及びCを操作パネル等により内部入力することで、USBフラッシュメモリ108へ暗号鍵B及びCをリストアする。
The multifunction peripheral 100 according to the present invention outputs the encryption keys B and C stored in the
従って、本発明による複合機100では、コントローラボード101の交換後であってもNVRAM112及びHDD113に暗号鍵B及びCで暗号化されて格納されているパラメータやデータを復号できる。
Therefore, the
図7は本発明による複合機の暗号鍵設定手順を表したフローチャートである。操作パネルやネットワーク経由で鍵変更指示(暗号鍵b,c→暗号鍵B,C)を受け取ると、CTL115はステップS21に進み、TPM107から暗号鍵Aを取得する。CTL115はUSBフラッシュメモリ108に保存されている、暗号鍵Aによって暗号化された状態の暗号鍵b及びcを、暗号鍵Aを用いて復号する。CTL115は、復号した暗号鍵b及びcをUSBフラッシュメモリ108から取得する。CTL115は暗号鍵bを用いてNVRAM112を復号する。また、CTL115は暗号鍵cを用いてHDD113を復号する。
FIG. 7 is a flowchart showing the encryption key setting procedure of the multifunction machine according to the present invention. Upon receiving a key change instruction (encryption key b, c → encryption key B, C) via the operation panel or the network, the
ステップS22に進み、CTL115は新しい暗号鍵B及びCを、操作パネルやネットワーク経由で外部出力しておく。ステップS23に進み、CTL115は暗号鍵B及びCの外部出力が成功した場合(S23においてYES)、ステップS24に進み、新しい暗号鍵B及びCでNVRAM112及びHDD113を再び暗号化する。そして、ステップS24からステップS25に進み、CTL115は操作パネルに操作画面を表示させて暗号鍵の設定を終了する。
In step S22, the
一方、CTL115はユーザキャンセル等、何らかの原因で暗号鍵B及びCの外部出力が失敗した場合(S23においてNO)、ステップS26に進み、操作パネルにエラー画面を表示する。ステップS26からステップS27に進み、CTL115は操作パネルに暗号鍵の設定失敗画面を表示する。
On the other hand, if the external output of the encryption keys B and C fails for some reason, such as user cancellation (NO in S23), the
図8のシーケンス図は、新しい暗号鍵B及びCの外部出力が成功したときの暗号鍵設定手順を表している。ステップS31では、CTL115が、操作パネルやネットワーク経由で鍵変更指示(暗号鍵b,c→暗号鍵B,C)を受け取る。CTL115はステップS32及びS33に進み、TPM107から暗号鍵Aを取得する。
The sequence diagram of FIG. 8 represents the encryption key setting procedure when the external output of the new encryption keys B and C is successful. In step S31, the
ステップS34及びS35に進み、CTL115はUSBフラッシュメモリ108に保存されている、暗号鍵Aによって暗号化された状態の暗号鍵b及びcを、暗号鍵Aを用いて復号し、復号した暗号鍵b及びcをUSBフラッシュメモリ108から取得する。CTL115はステップS36及びS37に進み、暗号鍵b及びcを用いてNVRAM112及びHDD113を復号する。
Proceeding to steps S34 and S35, the
ステップS38及びS39に進み、CTL115は新しい暗号鍵B及びCを外部デバイス117に外部出力する。暗号鍵B及びCの外部出力が成功したため、CTL115はステップS40及びS41に進み、暗号鍵B及びCを暗号鍵Aで暗号化した後、USBフラッシュメモリ108に保存する。
Proceeding to steps S38 and S39, the
そして、ステップS42及びS43に進み、CTL115は新しい暗号鍵B及びCでNVRAM112及びHDD113を再び暗号化する。そして、CTL115はステップS44に進み、新しい暗号鍵B及びCの設定が成功したため、操作パネルへ操作画面を表示させて暗号鍵の設定を終了する。
Then, the process proceeds to steps S42 and S43, and the
図9は複合機における起動手順を表したフローチャートである。図10はコントローラボード交換後の複合機における起動手順を表したシーケンス図である。 FIG. 9 is a flowchart showing a startup procedure in the multifunction machine. FIG. 10 is a sequence diagram showing a start-up procedure in the multi-function peripheral after replacing the controller board.
複合機100の電源がONされると、ステップS51及びS52に進み、CTL115はTPM107から暗号鍵A又はA'を取得したあと、USBフラッシュメモリ108に暗号鍵が設定されているか判定する。
When the
暗号鍵が設定されていれば(S52においてYES)、CTL115はステップS53に進み、USBフラッシュメモリ108に保存されている、暗号鍵Aによって暗号化された状態の暗号鍵B及びCを、暗号鍵Aを用いて復号する。
If the encryption key is set (YES in S52), the
ステップS54に進み、CTL115は復号した暗号鍵BをUSBフラッシュメモリ108から取得し、暗号鍵Bを用いてNVRAM112を復号する。また、CTL115はステップS55に進み、復号した暗号鍵CをUSBフラッシュメモリ108から取得してHDD113を復号する。ステップS65に進み、複合機100はアプリケーション制御ソフトウェア116によって各アプリケーションを起動する。
In step S54, the
暗号鍵が設定されていなければ(S52においてNO)、CTL115はNVRAM112及びHDD113が暗号化されていないと判定する。例えばコントローラボード101の交換後、USBフラッシュメモリ108には暗号鍵が設定されていない。
If the encryption key is not set (NO in S52), the
ステップS56に進み、CTL115はNVRAM112から各種パラメータを平文として読み出す。また、ステップS57に進み、CTL115はHDD113からデータを平文として読み出す。
In step S56, the
ステップS58に進み、CTL115はNVRAM112からの各種パラメータの読み出し、及びHDD113からのデータの読み出しに読み込みエラーが発生したか否かを判定する。例えばコントローラボード101の交換後、NVRAM112及びHDD113に格納されているパラメータやデータが暗号化されていれば、平文として読み出すと読み出しエラーが発生する。読み出しエラーが発生しなければ(S58においてNO)、CTL115はステップS65に進み、アプリケーション制御ソフトウェア116によって各アプリケーションを起動する。
In step S58, the
読み出しエラーが発生すれば(S58においてYES)、CTL115はステップS59に進み、暗号鍵のリストア又はストレージデバイスの初期化を選択させる図11に示すような画面1000を操作パネルに表示する。
If a read error occurs (YES in S58), the
図11は暗号鍵のリストア又はストレージデバイスの初期化を選択させる画面の一例のイメージ図である。画面1000には、暗号鍵のリストアを選択するボタン1001及びストレージデバイスの初期化を選択するボタン1002が含まれている。ボタン1001がユーザにより押下されると、CTL115は図12に示すような画面1100を操作パネルに表示する。
FIG. 11 is an image diagram of an example of a screen for selecting encryption key restoration or storage device initialization. The
図12は暗号鍵をリストアする為の画面の一例のイメージ図である。図12の画面1100には、NVRAM112及びHDD113の暗号鍵を入力する為の入力欄が含まれている。ユーザは画面1100が操作パネルに表示されている間に、手入力や外部デバイス117等を利用して外部からNVRAM112及びHDD113の暗号鍵を入力する。
FIG. 12 is an image diagram of an example of a screen for restoring the encryption key. A
外部からNVRAM112及びHDD113の暗号鍵が入力されると、CTL115はステップS60及びS61に進み、入力された暗号鍵でNVRAM112及びHDD113の復号を試みる。
When the encryption keys of the
ステップS62に進み、復号エラーが発生しなければ(S62においてNO)、CTL115はステップS63に進み、画面1100に入力されたNVRAM112及びHDD113の暗号鍵を新しい暗号鍵として、暗号鍵A'で暗号化した後、USBフラッシュメモリ108に保存する。そして、CTL115はステップS65に進み、アプリケーション制御ソフトウェア116によって各アプリケーションを起動する。
In step S62, if no decryption error occurs (NO in S62), the
なお、復号エラーが発生すれば(S62においてYES)、CTL115はステップS59に戻り、再び画面1000を操作パネルに表示する。画面1000のボタン1002がユーザにより押下されると、CTL115はステップS64に進み、NVRAM112及びHDD113を初期化する。CTL115はステップS65に進み、アプリケーション制御ソフトウェア116によって各アプリケーションを起動する。
If a decoding error occurs (YES in S62), the
バックアップしておいた暗号鍵の紛失や暗号鍵をバックアップしていない場合は、NVRAM112及びHDD113に暗号化されて格納されているパラメータやデータを復旧することができない為、NVRAM112及びHDD113を初期化するかをユーザに選択させるボタン1002を画面1000に設けている。
When the encryption key that has been backed up is lost or the encryption key is not backed up, the parameters and data encrypted and stored in the
なお、画面1100ではNVRAM112及びHDD113の双方が暗号化されている例を示しているが、どちらか一方が暗号化されるようにしてもよい。この場合、暗号化されていないストレージデバイスは画面1100に含まれていなくてもよい。また、暗号化されていないストレージデバイスの復号をスキップするようにしてもよい。
Although the
図10のシーケンス図は、コントローラボード交換後の複合機において、新しい暗号鍵をリストアするときの起動手順を表している。複合機100の電源がONされると、CTL115はTPM107から暗号鍵A'を取得したあと、USBフラッシュメモリ108に暗号鍵が設定されているか判定する。
The sequence diagram of FIG. 10 represents the startup procedure when restoring a new encryption key in the multifunction peripheral after the controller board is replaced. When the
コントローラボード101の交換後であるため、USBフラッシュメモリ108には暗号鍵が設定されていない。したがって、CTL115はNVRAM112及びHDD113が暗号化されていないと判定する。
Since the
ステップS71に進み、CTL115はNVRAM112及びHDD113から各種パラメータ及びデータを平文として読み出す。コントローラボード101の交換後、NVRAM112及びHDD113に格納されているパラメータやデータは暗号化されているため、平文として読み出すと読み出しエラーが発生する。
In step S71, the
読み出しエラーが発生した為、CTL115はステップS73及びS74に進み、暗号鍵のリストア又はストレージデバイスの初期化を選択させる図11に示すような画面1000を操作パネル118に表示する。ボタン1001がユーザにより押下されると、CTL115はステップS75及びS76に進み、暗号鍵B及びCがバックアップされている外部デバイス117から暗号鍵B及びCを読み出す。なお、CTL115は図12に示すような画面1100を操作パネル118に表示してNVRAM112及びHDD113の暗号鍵を入力させてもよい。
Since a read error has occurred, the
ステップS77及びS78に進み、外部デバイス117から読み出した暗号鍵B及びCでNVRAM112及びHDD113の復号を試みる。復号エラーが発生しない為、CTL115はステップS79及びS80に進み、外部デバイス117から読み出した暗号鍵B及びCを新しい暗号鍵として、暗号鍵A'で暗号化した後、USBフラッシュメモリ108に保存する。そして、CTL115は、アプリケーション制御ソフトウェア116によって各アプリケーションを起動する。
Proceeding to steps S 77 and
上記説明では、USBフラッシュメモリ108に、暗号鍵Aで暗号化された状態の暗号鍵B及びCを保存しているが、例えば図13のような構成も考えられる。図13は暗号鍵の格納場所を示した概念図である。図13では、NVRAM112に、暗号鍵Bで暗号化された状態のHDD113の暗号鍵Cを保存している。
In the above description, the encryption keys B and C encrypted with the encryption key A are stored in the
このように、本発明による複合機100は、複数のストレージデバイスの中で最も信頼できるセキュアなストレージデバイスに他のストレージデバイスの暗号鍵を暗号化された状態で保存することもできる。NVRAM112に、暗号鍵Bで暗号化された状態のHDD113の暗号鍵Cを保存することで、複合機100は暗号鍵Cをバックアップしておく必要がなくなる。
As described above, the
図13の複合機100はコントローラボード101上のUSBフラッシュメモリ108内にもHDD113の暗号鍵Cを格納しているが、USBフラッシュメモリ108内に暗号鍵Cを格納していなくても正常時およびコントローラボード101の交換時にHDD113を復旧できる。ただし、USBフラッシュメモリ108内に暗号鍵Cを格納しておくことで、複合機100はコントローラボード101に異常が無く、NVRAM112に異常があった場合においてもHDD113を復旧できるというメリットがある。
The
図14は暗号鍵の格納場所を示した他の例の概念図である。図14では、HDD113の記憶領域が複数のパーティションに分かれており、そのバーティション毎に、それぞれ別の暗号鍵C1〜Cnで暗号化されている。なお、HDD113は複数のユーザ毎に暗号鍵C1〜Cnを分けて、その暗号鍵C1〜Cnで暗号化されてもよい。複合機100はNVRAM112に、暗号鍵Bで暗号化された状態のHDD113の暗号鍵C1〜Cnを保存している。
FIG. 14 is a conceptual diagram of another example showing the storage location of the encryption key. In FIG. 14, the storage area of the
図13のように暗号鍵Cを保存している複合機100は、図15のフローチャートのように起動する。図15は、複合機における起動手順を表したフローチャートである。
The
複合機100の電源がONされると、ステップS81及びS82に進み、CTL115はTPM107から暗号鍵A又はA'を取得したあと、USBフラッシュメモリ108に暗号鍵が設定されているか判定する。
When the
暗号鍵が設定されていれば(S82においてYES)、CTL115はステップS83に進み、USBフラッシュメモリ108に保存されている、暗号鍵Aによって暗号化された状態の暗号鍵B及びCを、暗号鍵Aを用いて復号する。
If the encryption key is set (YES in S82), the
ステップS84に進み、CTL115は復号した暗号鍵BをUSBフラッシュメモリ108から取得し、暗号鍵Bを用いてNVRAM112を復号する。また、CTL115はステップS85に進み、復号した暗号鍵CをUSBフラッシュメモリ108から取得してHDD113を復号する。ステップS96に進み、複合機100はアプリケーション制御ソフトウェア116によって各アプリケーションを起動する。
In step S84, the
暗号鍵が設定されていなければ(S82においてNO)、CTL115はNVRAM112及びHDD113が暗号化されていないと判定する。例えばコントローラボード101の交換後、USBフラッシュメモリ108には暗号鍵が設定されていない。
If the encryption key is not set (NO in S82), the
ステップS86に進み、CTL115はNVRAM112から各種パラメータを平文として読み出す。また、ステップS87に進み、CTL115はHDD113からデータを平文として読み出す。
In step S86, the
ステップS88に進み、CTL115はNVRAM112からの各種パラメータの読み出し、及びHDD113からのデータの読み出しに読み込みエラーが発生したか否かを判定する。例えばコントローラボード101の交換後、NVRAM112及びHDD113に格納されているパラメータやデータが暗号化されていれば、平文として読み出すと読み出しエラーが発生する。読み出しエラーが発生しなければ(S88においてNO)、CTL115はステップS96に進み、アプリケーション制御ソフトウェア116によって各アプリケーションを起動する。
In step S88, the
読み出しエラーが発生すれば(S88においてYES)、CTL115はステップS89に進み、暗号鍵のリストア又はストレージデバイスの初期化を選択させる図11に示すような画面1000を操作パネルに表示する。暗号鍵のリストアが選択されると、CTL115はステップS90に進み、外部から入力されたNVRAM112の暗号鍵でNVRAM112の復号を試みる。
If a read error occurs (YES in S88), the
ステップS91に進み、復号エラーが発生しなければ(S91においてNO)、CTL115はステップS92に進み、画面1100に入力されたNVRAM112の暗号鍵を新しい暗号鍵として、暗号鍵A'で暗号化したあと、USBフラッシュメモリ108に保存する。
In step S91, if no decryption error occurs (NO in S91), the
ステップS93に進み、CTL115はNVRAM112からHDD113の暗号鍵Cを取り出す。ステップS94に進み、CTL115は暗号鍵CでHDD113の復号を行う。CTL115は、HDD113の暗号鍵Cを新しい暗号鍵として、暗号鍵A'で暗号化したあと、USBフラッシュメモリ108に保存する。そして、CTL115はステップS96に進み、アプリケーション制御ソフトウェア116によって各アプリケーションを起動する。
In step S93, the
なお、復号エラーが発生すれば(S91においてYES)、CTL115はステップS89に戻り、再び画面1000を操作パネルに表示する。ストレージデバイスの初期化が選択されると、CTL115はステップS95に進み、NVRAM112及びHDD113を初期化する。そして、CTL115はステップS96に進み、アプリケーション制御ソフトウェア116によって各アプリケーションを起動する。
If a decoding error occurs (YES in S91),
暗号鍵B及びCは、例えば図16のような構成としてもよい。図16は暗号鍵の構成を示した概念図である。図16では、NVRAM112の暗号化に、例えば機種共通の固定鍵と、暗号鍵Bとを利用する。
The encryption keys B and C may be configured as shown in FIG. 16, for example. FIG. 16 is a conceptual diagram showing the configuration of the encryption key. In FIG. 16, for example, a fixed key common to models and an encryption key B are used for encryption of the
機種共通の固定鍵は製造工程でコントローラボード101に格納される。固定鍵を利用すると、暗号鍵Bは鍵長が短くなる。例えば鍵長が128bitの場合、機種共通の固定値を64bitとすることで、暗号鍵Bは64bitとなり、リストア時に8バイト(11文字)を入力すればよい。
A fixed key common to all models is stored in the
図17は、本発明によるデータ復旧方法を表した概念図である。図17の上段はコントローラボード101の交換前の複合機100を表している。図17の下段はコントローラボード101の交換後の複合機100を表している。
FIG. 17 is a conceptual diagram showing a data recovery method according to the present invention. The upper part of FIG. 17 represents the multifunction peripheral 100 before the
本発明による複合機100は、コントローラボード101が正常動作している間に、USBフラッシュメモリ108に保存されている暗号鍵B及びCを、SDカードやUSBメモリ等の外部メディア119へ格納しておく。暗号鍵B及びCを格納する際、複合機100はユーザに暗号鍵B及びCのリストア用のパスワードを入力してもらい、パスワードを利用して暗号鍵B及びCを暗号化する。
The
コントローラボード101の交換後、本発明による複合機100は外部メディア119へ格納しておいた暗号鍵B及びCをリストアする際、ユーザによって入力された暗号鍵B及びCのリストア用のパスワードを利用して暗号鍵B及びCを復号する。図17の複合機100は外部メディア119に暗号鍵B及びCを格納しているが、外部メディア119に代えて外部サーバを利用するようにしてもよい。
After the
従って、本発明による複合機100では、バックアップされた暗号鍵B及びCが暗号化されているので、万一盗難にあっても暗号鍵B及びCが漏洩しにくくなる。
Therefore, in the
図18は、本発明によるデータ復旧方法を表した概念図である。図18の上段はコントローラボード101の交換前の複合機100を表している。図18の下段はコントローラボード101の交換後の複合機100を表している。
FIG. 18 is a conceptual diagram showing a data recovery method according to the present invention. The upper part of FIG. 18 represents the multifunction peripheral 100 before the
本発明による複合機100は、コントローラボード101が正常動作している間に、USBフラッシュメモリ108に保存されている暗号鍵B及びCを、外部サーバ121へ格納しておく。暗号鍵B及びCを格納する際、複合機100はユーザに暗号鍵B及びCのリストア用のパスワードを入力してもらい、パスワードを利用して暗号鍵B及びCを暗号化する。また、複合機100はコントローラボード101のシリアル番号を外部サーバ121に送信する。
The
コントローラボード101のシリアル番号は、工場出荷時にコントローラボード101上の不揮発性メモリ内に格納されると共に、コントローラボード101上に印刷されているものとする。
It is assumed that the serial number of the
なお、コントローラボード101のシリアル番号は、コントローラボード101上に印刷しておく他、RFIDタグやICカードチップに格納しておいてもよい。コントローラボード101の交換時、コントローラボード101が壊れていることが全体である為、コントローラボード101のシリアル番号はコントローラボード101が壊れていても読み取ることができるようにする。なお、ICカードチップにコントローラボード101のシリアル番号を格納しておく場合は改竄も防止できる。
Note that the serial number of the
外部サーバ121は、図19のようなサーバテーブルにより、コントローラボード101のシリアル番号と、パスワードにより暗号化された暗号鍵B及びCとを対応付けて管理する。図19はサーバテーブルの一例の構成図である。
The
コントローラボード101の交換後、本発明による複合機100は外部サーバ121へ格納しておいた暗号鍵B及びCをリストアする際、交換前のコントローラボード101に印刷されているシリアル番号及び外部サーバ121のアドレスを管理者等によって入力される。
After the
交換前のコントローラボード101に印刷されているシリアル番号及び外部サーバ121のアドレスを入力されると、複合機100は管理者等によって入力されたシリアル番号に対応する、暗号化された暗号鍵B及びCを取得する。複合機100は、ユーザによって入力された暗号鍵B及びCのリストア用のパスワードを利用して、暗号鍵B及びCを復号する。
When the serial number printed on the
図18の複合機100は、外部サーバ121に暗号鍵B及びCを格納しているが、外部サーバ121に代えて外部メディア119を利用するようにしてもよい。外部メディア119は図19のサーバテーブルと同様なテーブルを利用することで、複数の複合機100の暗号化された暗号鍵B及びCを格納できる。
In the
なお、外部サーバ121はメーカが用意したメンテナンスサービス用のサーバであってもよい。外部サーバ121のアドレスは、製造工程でコントローラボード101上の不揮発性メモリに格納しておいてもよい。
The
従って、本発明による複合機100では、バックアップされた暗号鍵B及びCが、外部サーバ121に集約されるので、複数の複合機100を導入した場合のメンテナンスや暗号鍵B及びCの管理が容易となる。
Therefore, in the
図20は、複合機における起動手順を表したフローチャートである。複合機100の電源がONされると、ステップS101及びS102に進み、CTL115はTPM107から暗号鍵A又はA'を取得したあと、USBフラッシュメモリ108に暗号鍵が設定されているか判定する。
FIG. 20 is a flowchart showing a startup procedure in the multifunction machine. When the
暗号鍵が設定されていれば(S102においてYES)、CTL115はステップS103に進み、USBフラッシュメモリ108に保存されている、暗号鍵Aによって暗号化された状態の暗号鍵B及びCを、暗号鍵Aを用いて復号する。
If the encryption key is set (YES in S102), the
ステップS104に進み、CTL115は復号した暗号鍵BをUSBフラッシュメモリ108から取得し、暗号鍵Bを用いてNVRAM112を復号する。CTL115はステップS105に進み、復号した暗号鍵CをUSBフラッシュメモリ108から取得してHDD113を復号する。ステップS118に進み、複合機100はアプリケーション制御ソフトウェア116によって各アプリケーションを起動する。
In step S104, the
暗号鍵が設定されていなければ(S102においてNO)、CTL115はNVRAM112及びHDD113が暗号化されていないと判定する。例えばコントローラボード101の交換後、USBフラッシュメモリ108には暗号鍵が設定されていない。
If the encryption key is not set (NO in S102), the
ステップS106に進み、CTL115はNVRAM112から各種パラメータを平文として読み出す。ステップS107に進み、CTL115はHDD113からデータを平文として読み出す。
In step S106, the
ステップS108に進み、CTL115はNVRAM112からの各種パラメータの読み出し、及びHDD113からのデータの読み出しに読み込みエラーが発生したか否かを判定する。例えばコントローラボード101の交換後、NVRAM112及びHDD113に格納されているパラメータやデータが暗号化されていれば、平文として読み出すと読み出しエラーが発生する。
In step S108, the
読み出しエラーが発生しなければ(S108においてNO)、CTL115はステップS118に進み、アプリケーション制御ソフトウェア116によって各アプリケーションを起動する。
If a read error does not occur (NO in S108), the
読み出しエラーが発生すれば(S108においてYES)、CTL115はステップS109に進み、暗号鍵のリストア又はストレージデバイスの初期化を選択させる図11に示すような画面1000を操作パネルに表示する。暗号鍵のリストアが選択されると、CTL115は例えば交換前のコントローラボード101に印刷されているシリアル番号及び外部サーバ121のアドレスを入力させる画面を操作パネル118等に表示し、管理者等にシリアル番号及び外部サーバ121のアドレスを入力させる。
If a read error occurs (YES in S108), the
ステップS110に進み、CTL115は管理者等によって入力されたシリアル番号に対応する、暗号化された暗号鍵B及びCを外部サーバ121から取得できたか否かを判定する。暗号化された暗号鍵B及びCを外部サーバ121から取得できれば(S110においてYES)、CTL115はステップS111に進み、ユーザに、暗号鍵B及びCのリストア用のパスワードを入力させる。CTL115はユーザによって入力された暗号鍵B及びCのリストア用のパスワードを利用して、暗号鍵B及びCを復号する。
In step S110, the
ステップS112に進み、CTL115は復号された暗号鍵BでNVRAM112の復号を試みる。また、ステップS113に進み、CTL115は復号された暗号鍵CでHDD113の復号を試みる。
In step S112, the
ステップS114に進み、復号エラーが発生しなければ(S114においてNO)、CTL115はステップS115に進み、ステップS111で復号された暗号鍵B及びCを新しい暗号鍵として、暗号鍵A'で暗号化したあと、USBフラッシュメモリ108に保存する。CTL115はステップS118に進み、アプリケーション制御ソフトウェア116によって各アプリケーションを起動する。
The process proceeds to step S114, and if no decryption error occurs (NO in S114), the
なお、復号エラーが発生すれば(S114においてYES)、CTL115はステップS109に戻り、再び画面1000を操作パネルに表示する。ストレージデバイスの初期化が選択されると、CTL115はステップS117に進み、NVRAM112及びHDD113を初期化する。CTL115はステップS118に進み、アプリケーション制御ソフトウェア116によって各アプリケーションを起動する。もし、暗号化された暗号鍵B及びCを外部サーバ121から取得できなければ(S110においてNO)、CTL115はステップS116に進み、エラー終了する。
If a decoding error occurs (YES in S114),
図21は、本発明によるデータ復旧方法を表した概念図である。図21の上段はコントローラボード101の交換前の複合機100を表している。図21の下段はコントローラボード101の交換後の複合機100を表している。
FIG. 21 is a conceptual diagram showing a data recovery method according to the present invention. The upper part of FIG. 21 represents the multifunction peripheral 100 before the
本発明による複合機100は、コントローラボード101が正常動作している間に、USBフラッシュメモリ108に保存されている暗号鍵B及びCを、外部サーバ121へ格納しておく。暗号鍵B及びCを格納する際、複合機100はユーザに暗号鍵B及びCのリストア用のパスワードを入力してもらい、パスワードを利用して暗号鍵B及びCを暗号化する。また、複合機100はコントローラボード101のシリアル番号を外部サーバ121に送信する。例えば外部サーバ121は、メーカの用意したメンテナンスサービス用のサーバである。
The
外部サーバ121は複合機100から暗号鍵のリストア要求があると、そのリストア要求を認証する。外部サーバ121はリストア要求の認証の為の情報を図22に示すようなサーバテーブルにより保持している。図22はサーバテーブルの一例の構成図である。図22のサーバテーブルは、コントローラボード101のシリアル番号と、暗号鍵B及びCを暗号化したパスワードと、パスワードにより暗号化された暗号鍵B及びCとを対応付けて管理する。
When there is a request for restoring the encryption key from the
例えば図21の外部サーバ121ではリストア要求の認証に、暗号鍵B及びCを暗号化したパスワードを利用している。リストア要求の認証には、暗号鍵B及びCを暗号化したパスワードではない独立した認証パスワードを利用するようにしてもよい。リストア要求の認証には、TPM107内の暗号鍵によるチャレンジ−レスポンス認証や、ハッシュ認証等を利用するようにしてもよい。なお、外部サーバ121は、リストア要求の認証が失敗した複合機100に、暗号化された暗号鍵B及びCを渡さない。
For example, the
リストア要求の認証が成功すると、外部サーバ121は、複合機100から受信したコントローラボード101のシリアル番号に対応する、暗号化された暗号鍵B及びCを取得する。複合機100はユーザにより入力された暗号鍵B及びCのリストア用のパスワードを利用して、暗号鍵B及びCを復号する。
When the authentication of the restore request is successful, the
従って、本発明による複合機100では、リストア時に認証を行うため、総当たり攻撃や辞書攻撃など、暗号鍵解読の為の攻撃を検出できる。 Therefore, since the multifunction peripheral 100 according to the present invention performs authentication at the time of restoration, it can detect attacks for decryption of encryption keys such as brute force attacks and dictionary attacks.
図23は、本発明によるデータ復旧方法を表した概念図である。図23はコントローラボード101の交換前の複合機100を表している。図23では、HDD113の記憶領域が複数のパーティションに分かれており、そのバーティション毎に、それぞれ別の暗号鍵C1〜Cnで暗号化されている。HDD113は複数のユーザ毎に暗号鍵C1〜Cnを分けて、その暗号鍵C1〜Cnで暗号化されてもよい。
FIG. 23 is a conceptual diagram showing a data recovery method according to the present invention. FIG. 23 shows the multifunction peripheral 100 before the
本発明による複合機100は、コントローラボード101が正常動作している間に、USBフラッシュメモリ108に保存されている暗号鍵B及びC1〜Cnを、異なる複数の外部メディア119へ格納しておく。暗号鍵B及びC1〜Cnを格納する際、複合機100はユーザに暗号鍵B及びC1〜Cnのリストア用のパスワード0〜nを入力してもらうことで、パスワードを利用して暗号鍵B及びC1〜Cnを暗号化する。
The multifunction peripheral 100 according to the present invention stores the encryption keys B and C1 to Cn stored in the
コントローラボード101の交換後、本発明による複合機100は外部メディア119へ格納しておいた暗号鍵B及びC1〜Cnをリストアする際、ユーザによって入力されたリストア用のパスワード0〜nを利用して暗号鍵B及びC1〜Cnを復号する。図23では複数の外部メディア119を利用する例を示したが、例えば1つの外部メディア119の異なるディレクトリを利用してもよい。
After the
従って、本発明による複合機100では、ユーザ毎に暗号鍵C1〜Cnをバックアップすることができるので、管理者であってもユーザの暗号鍵C1〜Cnを解析できない。
Therefore, since the
図24は、本発明によるデータ復旧方法を表した概念図である。図24はコントローラボード101の交換前の複合機100を表している。図24では、HDD113の記憶領域が複数のパーティションに分かれており、そのバーティション毎に、それぞれ別の暗号鍵C1〜Cnで暗号化されている。HDD113は複数のユーザ毎に暗号鍵C1〜Cnを分けて、その暗号鍵C1〜Cnで暗号化されている。
FIG. 24 is a conceptual diagram showing a data recovery method according to the present invention. FIG. 24 shows the multifunction peripheral 100 before the
本発明による複合機100は、コントローラボード101が正常動作している間に、USBフラッシュメモリ108に保存されている暗号鍵Bを1つの外部メディア119に格納すると共に、暗号鍵C1〜Cnを異なる複数のメールサーバ122に送信する。暗号鍵Bを格納する際、複合機100はユーザに暗号鍵Bのリストア用のパスワード0を入力してもらうことで、パスワード0を利用して暗号鍵Bを暗号化する。
The multifunction peripheral 100 according to the present invention stores the encryption key B stored in the
また、暗号鍵C1〜Cnを送信する際、複合機100はユーザに暗号鍵C1〜Cnのリストア用のパスワード1〜nを入力してもらうことで、パスワード1〜nを利用して暗号鍵C1〜Cnを暗号化する。メールサーバ122は、暗号化された暗号鍵C1〜Cnを各ユーザ宛にメール転送する。
Further, when transmitting the encryption keys C1 to Cn, the
図25は、ユーザ宛に転送したメールのイメージ図である。なお、暗号化された暗号鍵C1〜Cnは例えばメールの本文に記載したり、添付ファイルとしてメールに添付したりすることが考えられる。 FIG. 25 is an image diagram of mail transferred to the user. Note that the encrypted encryption keys C1 to Cn may be described in the body of an email, for example, or attached to an email as an attached file.
コントローラボード101の交換後、本発明による複合機100は外部メディア119へ格納しておいた暗号鍵Bをリストアする際、ユーザによって入力されたリストア用のパスワード0を利用して暗号鍵Bを復号する。また、本発明による複合機100はユーザ宛にメール転送しておいた暗号鍵C1〜Cnをリストアする際、ユーザからの受信メールから暗号鍵C1〜Cnを取得し、リストア用のパスワード1〜nを利用して暗号鍵C1〜Cnを復号する。
After the
従って、本発明による複合機100では、ユーザ毎に暗号鍵C1〜Cnをメール転送できるので、ユーザが暗号鍵C1〜Cnのバックアップを保存できる。 Therefore, in the multifunction peripheral 100 according to the present invention, the encryption keys C1 to Cn can be transferred by mail for each user, so that the user can save a backup of the encryption keys C1 to Cn.
図26は本発明による複合機の暗号鍵設定手順を表したフローチャートである。CTL115はステップS121において、操作パネルやネットワーク経由で鍵変更指示(暗号鍵b,c→暗号鍵B,C)を受け取る。CTL115はステップS122に進み、TPM107から暗号鍵Aを取得する。CTL115はUSBフラッシュメモリ108に保存されている、暗号鍵Aによって暗号化された状態の暗号鍵b及びcを、暗号鍵Aを用いて復号する。CTL115は、復号した暗号鍵b及びcをUSBフラッシュメモリ108から取得する。CTL115は暗号鍵bを用いてNVRAM112を復号する。また、CTL115は暗号鍵cを用いてHDD113を復号する。
FIG. 26 is a flowchart showing the encryption key setting procedure of the multifunction machine according to the present invention. In step S121, the
ステップS123に進み、CTL115は暗号鍵B,CをBASE64で変換する。ステップS124に進み、CTL115は新しい暗号鍵Bを、操作パネルやネットワーク経由で外部出力しておく。
In step S123, the
ステップS125に進み、CTL115は暗号鍵Bの外部出力が成功した場合(S125においてYES)、ステップS126に進み、暗号鍵C1〜Cnを各ユーザ宛にメール転送する。ステップS127に進み、CTL115は暗号鍵C1〜Cnのメール送信が成功した場合(S127においてYES)、ステップS128に進み、新しい暗号鍵B及び暗号鍵C1〜CnでNVRAM112及びHDD113を再び暗号化する。そして、ステップS128からステップS129に進み、CTL115は操作パネルに操作画面を表示させて暗号鍵の設定を終了する。
In step S125, if the external output of the encryption key B is successful (YES in S125), the
一方、CTL115はユーザキャンセル等、何らかの原因で暗号鍵Bの外部出力が失敗した場合(S125においてNO)、ステップS130に進み、操作パネルにエラー画面を表示する。ステップS131に進み、CTL115はエラー状況が回復したか否かを判定する。エラー状況が回復しなければ(S131においてNO)、CTL115はステップS132に進み、操作パネルに暗号鍵の設定失敗画面を表示する。なお、エラー状況が回復すれば(S131においてYES)、CTL115はステップS126に進む。
On the other hand, if the external output of the encryption key B fails for some reason, such as user cancellation (NO in S125), the
また、CTL115は暗号鍵C1〜Cnのメール送信が失敗した場合(S127においてNO)、ステップS133に進み、操作パネルにエラー画面を表示する。ステップS134に進み、CTL115はエラー状況が回復したか否かを判定する。エラー状況が回復しなければ(S134においてNO)、CTL115はステップS135に進み、操作パネルに暗号鍵の設定失敗画面を表示する。なお、エラー状況が回復すれば(S134においてYES)、CTL115はステップS128に進む。
If the
図27は複合機における起動手順を表したフローチャートである。ステップS141ではユーザから復旧メールを受信する。ステップS142に進み、CTL115はUSBフラッシュメモリ108のチェックを行う。暗号鍵の復旧が必要であれば(S143においてYES)、CTL115はステップS144に進み、復旧メールから取得した暗号鍵でHDD113を復号する。復号エラーが発生しなければ(S145においてNO)、CTL15は新しい鍵をUSBフラッシュメモリ108に保存する。
FIG. 27 is a flowchart showing a startup procedure in the multifunction machine. In step S141, a recovery mail is received from the user. In step S142, the
なお、暗号鍵の復旧が必要でなく(S143においてNO)、又は復号エラーが発生すれば(S145においてYES)、CTL115はステップS147に進み、エラーメールをユーザに返信する。
If recovery of the encryption key is not required (NO in S143) or a decryption error occurs (YES in S145), the
従って、本発明による複合機100では、コントローラボード101の交換後であってもNVRAM112及びHDD113に暗号鍵B及びC1〜Cnで暗号化されて格納されているパラメータやデータを復号できる。
Therefore, the
本発明は、具体的に開示された実施例に限定されるものではなく、特許請求の範囲から逸脱することなく、種々の変形や変更が可能である。 The present invention is not limited to the specifically disclosed embodiments, and various modifications and changes can be made without departing from the scope of the claims.
100 複合機
101 コントローラボード
102 CPU
103 ROM
104 RAM
105 LANコントローラ
106 DCR
107 TPM
108 USBフラッシュメモリ
109 オペポート
110 プロッタ
111 スキャナ
112 NVRAM
113 HDD
114 OS
115 全体制御ソフトウェア(CTL)
116 アプリケーション制御ソフトウェア116
117 外部デバイス
118 操作パネル
119 外部メディア
120 メディアIO
121 外部サーバ
122 メールサーバ
501 OCR
100
103 ROM
104 RAM
105
107 TPM
108
113 HDD
114 OS
115 Overall control software (CTL)
116
117
121
Claims (22)
前記第1暗号鍵を用いて前記第2暗号鍵を復号し、その第2暗号鍵を前記情報処理装置の外部にバックアップ鍵としてバックアップするバックアップステップと、
前記第1及び第2暗号鍵が使用できないとき、前記バックアップ鍵を前記情報処理装置の内部にリストアするリストアステップと、
前記情報処理装置の内部にリストアした前記バックアップ鍵を用いて、前記第2記憶装置に格納しているデータを復号する復号ステップと
を有することを特徴とするデータ復旧方法。 A configuration includes at least a controller board on which a secure memory and a first storage device are mounted, and a second storage device, wherein a second encryption key is stored in the secure memory and encrypted with the first encryption key. storing the encryption key to the first storage device, a second data recovery method for an information processing apparatus the encrypted data with the encryption key is stored in the second storage device,
A backup step of decrypting the second encryption key using the first encryption key and backing up the second encryption key as a backup key outside the information processing apparatus;
A restore step for restoring the backup key to the inside of the information processing apparatus when the first and second encryption keys cannot be used;
And a decrypting step of decrypting the data stored in the second storage device using the backup key restored in the information processing apparatus.
前記第1暗号鍵を用いて前記第2暗号鍵を復号し、その第2暗号鍵を装置外部にバックアップ鍵としてバックアップするバックアップ手段と、
前記第1及び第2暗号鍵が使用できないとき、前記バックアップ鍵を装置内部にリストアするリストア手段と、
装置内部にリストアした前記バックアップ鍵を用いて、前記第2記憶装置に格納しているデータを復号する復号手段と
を有することを特徴とする画像処理装置。 A configuration including at least a controller board on which a secure memory and a first storage device are mounted; a second storage device; and at least one of a plotter and a scanner; and storing a first encryption key in the secure memory; storing the second cryptographic key encrypted with a key to the first storage device, the data encrypted with the second encryption key to a images processing device that are stored in the second storage device,
Backup means for decrypting the second encryption key using the first encryption key and backing up the second encryption key as a backup key outside the apparatus;
Restore means for restoring the backup key to the inside of the apparatus when the first and second encryption keys cannot be used;
An image processing apparatus comprising: decrypting means for decrypting data stored in the second storage device using the backup key restored in the apparatus.
前記第1暗号鍵を用いて前記第2暗号鍵を復号し、その第2暗号鍵を前記画像処理装置の外部にバックアップ鍵としてバックアップするバックアップ手段と、
前記第1及び第2暗号鍵が使用できないとき、前記バックアップ鍵を前記画像処理装置の内部にリストアするリストア手段と、
前記画像処理装置の内部にリストアした前記バックアップ鍵を用いて、前記第2記憶装置に格納しているデータを復号する復号手段と
を有することを特徴とするコントローラボード。 A first encryption key is stored in a secure memory, and a second encryption key encrypted with the first encryption key is stored in a first storage device, and encrypted with the second encryption key A controller board having at least the secure memory and the first storage device included in an image processing apparatus having at least one of a second storage device storing data, a plotter, and a scanner,
Backup means for decrypting the second encryption key using the first encryption key and backing up the second encryption key as a backup key outside the image processing device;
Restore means for restoring the backup key to the inside of the image processing apparatus when the first and second encryption keys cannot be used;
A controller board comprising: decrypting means for decrypting data stored in the second storage device using the backup key restored in the image processing apparatus.
前記第1暗号鍵を用いて前記第2暗号鍵を復号し、その第2暗号鍵を前記情報処理装置の外部にバックアップ鍵としてバックアップするバックアップ手順と、
前記第1及び第2暗号鍵が使用できないとき、前記バックアップ鍵を前記情報処理装置の内部にリストアするリストア手順と、
前記情報処理装置の内部にリストアした前記バックアップ鍵を用いて、前記第2記憶装置に格納しているデータを復号する復号手順と
を実行させるためのデータ復旧プログラム。 A configuration includes at least a controller board on which a secure memory and a first storage device are mounted, and a second storage device, wherein a second encryption key is stored in the secure memory and encrypted with the first encryption key. storing the encryption key to the first storage device, to be that the information processing apparatus stores the encrypted data in the second encryption key to said second storage device,
A backup procedure for decrypting the second encryption key using the first encryption key and backing up the second encryption key as a backup key outside the information processing apparatus;
A restore procedure for restoring the backup key into the information processing apparatus when the first and second encryption keys cannot be used;
A data recovery program for executing a decryption procedure for decrypting data stored in the second storage device using the backup key restored in the information processing apparatus.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007069651A JP5041833B2 (en) | 2007-03-16 | 2007-03-16 | Data recovery method, image processing apparatus, controller board, and data recovery program |
US12/048,878 US8290159B2 (en) | 2007-03-16 | 2008-03-14 | Data recovery method, image processing apparatus, controller board, and data recovery program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007069651A JP5041833B2 (en) | 2007-03-16 | 2007-03-16 | Data recovery method, image processing apparatus, controller board, and data recovery program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2008236091A JP2008236091A (en) | 2008-10-02 |
JP5041833B2 true JP5041833B2 (en) | 2012-10-03 |
Family
ID=39908390
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007069651A Expired - Fee Related JP5041833B2 (en) | 2007-03-16 | 2007-03-16 | Data recovery method, image processing apparatus, controller board, and data recovery program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5041833B2 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5391756B2 (en) * | 2009-03-17 | 2014-01-15 | 株式会社リコー | Image forming apparatus, information management method, and program |
JP6172053B2 (en) | 2014-05-28 | 2017-08-02 | 信越半導体株式会社 | Fixed abrasive wire, wire saw and workpiece cutting method |
JP6060950B2 (en) | 2014-09-10 | 2017-01-18 | コニカミノルタ株式会社 | Information processing system, license server, communication relay device, program, and data recovery method |
JP2016181836A (en) * | 2015-03-24 | 2016-10-13 | キヤノン株式会社 | Information processor, cryptographic device, control method of information processor and program |
JP6740702B2 (en) | 2016-05-11 | 2020-08-19 | 富士ゼロックス株式会社 | Information processing device and program |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100397316B1 (en) * | 1998-01-21 | 2003-09-06 | 비.유.지., 인크. | Storage device, encrypting/decrypting device, and method for accessing nonvolatile memory |
AU2000255731A1 (en) * | 2000-07-04 | 2002-01-14 | Hitachi Ltd. | Ic card, method for backing up ic card, and restoring method |
JP2002368735A (en) * | 2001-06-11 | 2002-12-20 | Sharp Corp | Master ic device, backup ic device for the master ic device, dummy key storage device providing dummy key to the master ic device, auxiliary device or the master ic device and the backup ic device, and key backup system using two auxiliary devices or over |
JP2003208355A (en) * | 2002-01-11 | 2003-07-25 | Hitachi Ltd | Data storage device, data backup method, and data restoration method |
JP2005327235A (en) * | 2004-04-13 | 2005-11-24 | Hitachi Ltd | Method for encryption backup and method for decryption restoration |
JP4498946B2 (en) * | 2005-02-22 | 2010-07-07 | 京セラミタ株式会社 | Data management apparatus and program thereof |
JP2007013484A (en) * | 2005-06-29 | 2007-01-18 | Suri Kagaku Kenkyusho:Kk | Emergency data restoration system and method, and computer program |
JP4352054B2 (en) * | 2006-01-23 | 2009-10-28 | 株式会社東芝 | Information processing apparatus and key restoration method |
-
2007
- 2007-03-16 JP JP2007069651A patent/JP5041833B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2008236091A (en) | 2008-10-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8290159B2 (en) | Data recovery method, image processing apparatus, controller board, and data recovery program | |
EP2741228B1 (en) | System on chip to perform a secure boot, an image forming apparatus using the same, and method thereof | |
JP5014013B2 (en) | Image processing device | |
JP5369502B2 (en) | Device, management device, device management system, and program | |
JP4903071B2 (en) | Information processing apparatus, software update method, and image processing apparatus | |
CN102063031A (en) | Unit using operating system and image forming apparatus | |
US9985783B2 (en) | Information processing apparatus and information processing method for restoring apparatus when encryption key is changed | |
JP4991592B2 (en) | Software alteration detection method, software alteration detection program and device | |
US20080071938A1 (en) | Multifunction machine and a control method of the multifunction machine | |
JP5041833B2 (en) | Data recovery method, image processing apparatus, controller board, and data recovery program | |
JP4505004B2 (en) | Image forming apparatus | |
JP2015052996A (en) | Image forming device and control method of image forming device | |
JP5272602B2 (en) | Authentication function linkage device, authentication function linkage system, and authentication function linkage program | |
JP4898503B2 (en) | Data recovery method, image processing apparatus, controller board, and data recovery program | |
JP6732470B2 (en) | Data processing device, control method of data processing device, program, and storage medium | |
JP2007328663A (en) | Image forming apparatus and control method thereof | |
JP2012234439A (en) | Image processing apparatus, data management method therefor, and program | |
JP2004355268A (en) | Information processor | |
JP5000346B2 (en) | Image processing apparatus, image processing method, program, and recording medium | |
JP2008236093A (en) | Starting method, image processor, controller board, and starting program | |
JP5135239B2 (en) | Image forming system and server device | |
JP2008093903A (en) | Image information processing system and image information processing method | |
JP5575633B2 (en) | Image forming system | |
JP5575090B2 (en) | Image forming apparatus | |
JP2008003782A (en) | Authentication device, program of terminal device, image forming apparatus, terminal device control method, and image forming apparatus control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090710 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120321 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120518 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20120612 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120710 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5041833 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150720 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |