X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fp5-File-KDBX;a=blobdiff_plain;f=lib%2FFile%2FKDBX%2FKey%2FChallengeResponse.pm;h=ebf10b796f692ab40c4cfc7f2e43cb64edeb587e;hp=f9b2d483119b213319e313bd1870e7750bc0dbdd;hb=63d73bf382edfb0089b36a45193fc2835cb58b6d;hpb=1b913e5c8826cae2355b0076ec5701aa3ce63c63 diff --git a/lib/File/KDBX/Key/ChallengeResponse.pm b/lib/File/KDBX/Key/ChallengeResponse.pm index f9b2d48..ebf10b7 100644 --- a/lib/File/KDBX/Key/ChallengeResponse.pm +++ b/lib/File/KDBX/Key/ChallengeResponse.pm @@ -5,9 +5,10 @@ use warnings; use strict; use File::KDBX::Error; +use File::KDBX::Util qw(:class); use namespace::clean; -use parent 'File::KDBX::Key'; +extends 'File::KDBX::Key'; our $VERSION = '999.999'; # VERSION @@ -26,7 +27,7 @@ sub init { $raw_key = $key->raw_key($challenge); Get the raw key which is the response to a challenge. The response will be saved so that subsequent calls -(with or without the challenge) can provide the response without challenging the responder again. Only once +(with or without the challenge) can provide the response without challenging the responder again. Only one response is saved at a time; if you call this with a different challenge, the new response is saved over any previous response. @@ -77,8 +78,8 @@ __END__ A challenge-response key is kind of like multifactor authentication, except you don't really I to a KDBX database because it's not a service. Specifically it would be the "what you have" component. It -assumes there is some device that can store a key that is only known to the unlocker of a database. -A challenge is made to the device and the response generated based on the key is used as the raw key. +assumes there is some device that can store a key that is only known to the owner of a database. A challenge +is made to the device and the response generated based on the key is used as the raw key. Inherets methods and attributes from L.