Commits

Marcin Kasperski committed ffdb7ab Merge

merge

Comments (0)

Files changed (6)

 4c1f3cd3cf642a0112daabf085c1fcf595bb81dd 0.01
 2e77099014d653f580518ee6d5dcc2ea536b4016 0.10
 63e183364081e9d6313b71baa3bd5ffb539cd0ee 0.1001
+95c8eccb175d9dcc7e06fa0cb56fa918a6eec120 0.20
+17816b41a0ad7402b383013ef68ec692fea7122f 0.2001
     },
     requires => {
         'perl' => 5.006,
-        'Crypt::PWSafe3' => '1.06', # 1.06 fixes performance problems...
-        'Bytes::Random::Secure' => '0.09', # but only when this is present
+        'Crypt::PWSafe3' => '1.07', # 1.07 fixes huge performance problems...
+        'Bytes::Random::Secure' => '0.09', # ... but only when this is present
         'Term::ReadKey' => 0, # for interactive password prompts
     },
+    recommends => {
+        'Math::Random::ISAAC::XS' => 0,  # makes Bytes::Random::Secure faster
+    },
 
     share_dir => {
         dist => [ 'example' ],
 Revision history for Passwd::Keyring::PWSafe3
 
-0.1002	2012-11-26
-        Some (not very important) testfixes.
+0.2001	2012-11-21
+        Minor documentation fixes.
 
-	Withdrawing slowness warnings (I found way to make Crypt::PwSafe faster)
+0.20	2012-11-20
+        Dependencies, comments, test skips etc updated to work with 
+        Crypt::PWSafe3 v0.7, which resolves performance problems.
+        Module is now reasonably fast and usable (once Crypt::PWSafe3
+        >=0.7, and Bytes::Random::Secure are installed)
 
-	Rename example to better name and install it in share dir.
+        Updated example, some test fixes.
 
 0.1001	2012-11-18
         Fixed a few test errors (like bad plans).
     encrypted files
 
 VERSION
-    Version 0.1001
+    Version 0.2001
 
 SYNOPSIS
     Password Safe implementation of Passwd::Keyring. Passwords are stored in
 AUTHOR
     Marcin Kasperski
 
-    Approach inspired by http://www.perlmonks.org/?node_id=869620.
-
 BUGS
     Please report any bugs or feature requests to issue tracker at
     https://bitbucket.org/Mekk/perl-keyring-pwsafe3.

lib/Passwd/Keyring/PWSafe3.pm

 
 =head1 VERSION
 
-Version 0.1001
+Version 0.2001
 
 =cut
 
-our $VERSION = '0.1001';
+our $VERSION = '0.2001';
 
 our $APP_NAME = "Passwd::Keyring";
 our $FOLDER_NAME = "Perl-Passwd-Keyring";
 
     my $rec = $self->_find_record($user_name, $realm);
     if($rec) {
-        # Hooking into PwSafe3 internals to avoid artificial clearing method
-        delete $self->{vault}->{record}->{ $rec->uuid };
-        # TODO: offer fix to PwSafe3 to add delete method
-
+        $self->{vault}->deleterecord($rec->uuid);
         $self->save() unless $self->{lazy_save};
         return 1;
     } else {
 
 Marcin Kasperski
 
-Approach inspired by L<http://www.perlmonks.org/?node_id=869620>.
-
 =head1 BUGS
 
 Please report any bugs or feature requests to 
 is already set.
 """
 
-VERSION = "0.1001"
+VERSION = "0.2001"
 
 UPDATED_FILES = [
     "lib/Passwd/Keyring/PWSafe3.pm",
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.