debian/0000755000000000000000000000000011771341521007170 5ustar debian/menu0000644000000000000000000000020311544146663010062 0ustar ?package(passwordmaker-cli):needs="text" section="Applications/Text"\ title="passwordmaker-cli" command="/usr/bin/passwordmaker" debian/control0000644000000000000000000000174311771163743010610 0ustar Source: passwordmaker-cli Section: utils Priority: optional Maintainer: Cord Beermann Build-Depends: debhelper (>= 9), libmhash-dev, libpcre3-dev, hardening-wrapper Standards-Version: 3.9.3 Homepage: http://sourceforge.net/projects/passwordmaker/ #Vcs-Git: git://git.debian.org/collab-maint/passwordmaker-cli.git #Vcs-Browser: http://git.debian.org/?p=collab-maint/passwordmaker-cli.git;a=summary Package: passwordmaker-cli Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: creates unique, secure passwords - CLI version One Password to Rule Them All! . A small, lightweight, free, extension for Internet Explorer, Firefox, Mozilla, Netscape, Flock, and Yahoo! Widgets which creates unique, secure passwords that are very easy for you to retrieve but no one else. Nothing is stored anywhere, anytime, so there's nothing to be hacked, lost, or stolen. . This is the Command Line Version. . Other versions are at http://www.passwordmaker.org debian/passwordmaker.10000644000000000000000000000720211771162542012141 0ustar .TH "PASSWORDMAKER" "1" "March 2011" "passwordmaker " "User Commands" .SH "NAME" .B passwordmaker - Generates and manages passwords. .SH "SYNOPSIS" .B passwordmaker [\-f\ ] [\-\-search\ ] [\-L] [\-b] [\-0] [\-x] [\-r\ ] [\-a\ ] [\-\-account_skip\ ] [\-\-account\ ] [\-c\ ] [\-g\ ] [\-d\ ] [\-s\ ] [\-p\ ] [\-u\ ] [\-l\ ] [\-e\ <1|2|3|4|5|6|7|8|9>] [\-m\ ] [\-\-] [\-v] [\-h] .SH "DESCRIPTION" A small, lightweight, free, extension for Internet Explorer, Firefox, Mozilla, Netscape, Flock, and Yahoo! Widgets which creates unique, secure passwords that are very easy for you to retrieve but no one else. Nothing is stored anywhere, anytime, so there's nothing to be hacked, lost, or stolen. This is the Command Line Version. .SH "CONFIGFILE" passwordmaker by default looks for a Configfile in $HOME/.passwordmaker.rdf. The syntax is compatible to rdf-files generated by the sister-applications for Browsers. (see below) You can simply take a rdf-File and place it in $HOME/.passwordmaker.rdf. An example for the syntax can be found in /usr/share/doc/passwordmaker-cli/passwordmaker.rdf .SH "OPTIONS" .TP \fB\-f\fR , \fB\-\-file\fR Path/filename to a settings file (value required) .TP \fB\-\-search\fR Search config file for an account matching the supplied URL. If found, that account's settings will be used to generate the password. (value required) Example: passwordmaker \fB\-\-search\fR https://yoursite.com/login.phtml .TP \fB\-L\fR, \fB\-\-list\fR List all accounts and groups in the config file. .TP \fB\-b\fR, \fB\-\-verbose\fR Echo command\-line arguments .TP \fB\-0\fR, \fB\-\-trimzeros\fR Trim leading zeros from the generated password .TP \fB\-x\fR, \fB\-\-HMAC\fR Use the HMAC version of the specified hash algorithm .TP \fB\-r\fR , \fB\-\-url\fR URL (equivalent to "Use This URL" in the Firefox/Mozilla extension) (value required) .TP \fB\-a\fR , \fB\-\-alg\fR Hash Algorithm (value required) .TP \fB\-\-account_skip\fR Account skip (value required) .TP \fB\-\-account\fR Account (value required) .TP \fB\-c\fR , \fB\-\-chars\fR Characters (value required) .TP \fB\-g\fR , \fB\-\-length\fR Password Length (value required) .TP \fB\-d\fR , \fB\-\-modifier\fR Password Modifier (value required) .TP \fB\-s\fR , \fB\-\-suffix\fR Password Suffix (value required) .TP \fB\-p\fR , \fB\-\-prefix\fR Password Prefix (value required) .TP \fB\-u\fR , \fB\-\-username\fR Username (value required) .TP \fB\-l\fR , \fB\-\-l33t\fR Where to use l33t (value required) .TP \fB\-e\fR <1|2|3|4|5|6|7|8|9>, \fB\-\-level\fR <1|2|3|4|5|6|7|8|9> l33t level (value required) .TP \fB\-m\fR , \fB\-\-mpw\fR Master Password (value required) .TP \fB\-\-\fR, \fB\-\-ignore_rest\fR Ignores the rest of the labeled arguments following this flag. .TP \fB\-v\fR, \fB\-\-version\fR Displays version information and exits. .TP \fB\-h\fR, \fB\-\-help\fR Displays usage information and exits. .SH "SEE ALSO" http://passwordmaker.org/ .SH "AUTHOR" This man page was generated with help2man and reworked by Cord Beermann , maintainer of the Debian package, for the \fBDebian\fP system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Lesser General Public License Version 2 or later. debian/passwordmaker.rdf0000644000000000000000000000174411771162633012562 0ustar debian/watch0000644000000000000000000000036711552315102010220 0ustar # See uscan(1) for format # Compulsory line, this is a version 3 file version=3 # Uncomment to find new files on sourceforge, for devscripts >= 2.9 opts=dversionmangle=s/\+dfsg$// \ http://sf.net/passwordmaker/passwordmaker-cli-(.*)\.tar\.gz debian/passwordmaker-cli.examples0000644000000000000000000000003111771162624014356 0ustar debian/passwordmaker.rdf debian/README.Debian-source0000644000000000000000000000036211552315172012530 0ustar passwordmaker-cli (1.5+dfsg-1) unstable; urgency=low * The original source package was stripped from *.exe and *.dll files, also the share/3rdparty has been purged. -- Cord Beermann Sat, 16 Apr 2011 10:19:24 +0200 debian/dirs0000644000000000000000000000001011544133071010040 0ustar usr/bin debian/passwordmaker-cli.manpages0000644000000000000000000000002711544166063014337 0ustar debian/passwordmaker.1 debian/patches/0000755000000000000000000000000011771341766010632 5ustar debian/patches/remove-pcre0000644000000000000000000000073011771341056012771 0ustar Description: remove obsolete libpcre linking * remove obsolete libpcre linking Author: Cord Beermann --- passwordmaker-cli-1.5+dfsg.orig/unix.mak +++ passwordmaker-cli-1.5+dfsg/unix.mak @@ -30,7 +30,7 @@ DEFINES = -DUSE_MHASH -DTIXML_USE_STL CFLAGS = -O2 -Wall $(DEFINES) CXXFLAGS = -O2 -frtti -fexceptions -Wall $(DEFINES) INCPATH = -I. -LIBS = -lmhash -lpcre -lpcrecpp +LIBS = -lmhash -lpcrecpp ifeq ($(USE_MAC), 1) CFLAGS := $(CFLAGS) -m32 debian/patches/hardening0000644000000000000000000000114711771341673012514 0ustar Description: Add Hardening changes to Makefile * Add Hardening changes to Makefile Author: Cord Beermann --- passwordmaker-cli-1.5+dfsg.orig/unix.mak +++ passwordmaker-cli-1.5+dfsg/unix.mak @@ -29,6 +29,10 @@ LINK = $(CXX) DEFINES = -DUSE_MHASH -DTIXML_USE_STL CFLAGS = -O2 -Wall $(DEFINES) CXXFLAGS = -O2 -frtti -fexceptions -Wall $(DEFINES) +CFLAGS += $(shell dpkg-buildflags --get CFLAGS) +CXXFLAGS += $(shell dpkg-buildflags --get CXXFLAGS) +LDFLAGS += $(shell dpkg-buildflags --get LDFLAGS) +CPPFLAGS += $(shell dpkg-buildflags --get CPPFLAGS) INCPATH = -I. LIBS = -lmhash -lpcrecpp debian/patches/series0000644000000000000000000000003711771341636012043 0ustar interger remove-pcre hardening debian/patches/interger0000644000000000000000000000273311771340343012367 0ustar Description: fixed interger typo * replaced interger with integer Author: Cord Beermann --- passwordmaker-cli-1.5+dfsg.orig/ReadMe.txt +++ passwordmaker-cli-1.5+dfsg/ReadMe.txt @@ -90,7 +90,7 @@ USAGE ./passwordmaker [-f ] [--search ] [-L] [-b] [-0] [-x] [-r ] [-a ] - [--account_skip ] [--account ] [-c + [--account_skip ] [--account ] [-c ] [-g ] [-d ] [-s ] [-p ] [-u ] [-l ] [-e <1|2|3|4|5|6|7|8|9>] [-m ] [--] @@ -128,7 +128,7 @@ Where: |RIPEMD160> (value required) Hash Algorithm - --account_skip + --account_skip (value required) Account skip --account --- passwordmaker-cli-1.5+dfsg.orig/main.cpp +++ passwordmaker-cli-1.5+dfsg/main.cpp @@ -79,7 +79,7 @@ SettingsStruct getSettings(int argc, cha // Short flag needed ValueArg account("", "account", "Account", false, "", "string", cmd); // Short flag needed - ValueArg account_skip("", "account_skip", "Account skip", false, 0, "interger", cmd); + ValueArg account_skip("", "account_skip", "Account skip", false, 0, "integer", cmd); vector allowedAlgorithms; allowedAlgorithms.push_back("MD4"); debian/changelog0000644000000000000000000000127211771342551011050 0ustar passwordmaker-cli (1.5+dfsg-3) unstable; urgency=low * reworked patches (closes: #643238) * Lintianhappy -- Cord Beermann Sat, 23 Jun 2012 15:22:43 +0200 passwordmaker-cli (1.5+dfsg-2) unstable; urgency=low * fixed shortdescription (closes: #625275) * added an example of passwordmaker.rdf (closes: #631232) * fixed copyright-file * Bumped Standards-Version to 3.9.3 (no changes) * Went to debhelper 9 (+ hardening) -- Cord Beermann Fri, 22 Jun 2012 18:38:50 +0200 passwordmaker-cli (1.5+dfsg-1) unstable; urgency=low * Initial release (2nd take) (Closes: #619962) -- Cord Beermann Sat, 16 Apr 2011 10:19:24 +0200 debian/rules0000755000000000000000000000266411771163767010276 0ustar #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # Hardening export DEB_BUILD_HARDENING=1 %: dh $@ override_dh_auto_build: make -f unix.mak override_dh_auto_install: mv passwordmaker debian/passwordmaker-cli/usr/bin DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^+]+).*,\1,p') get-orig-source: uscan --noconf --force-download --rename --download-current-version --destdir=. rm -rf passwordmaker-cli-$(DEB_UPSTREAM_VERSION) tar -xf passwordmaker-cli_$(DEB_UPSTREAM_VERSION).orig.tar.gz rm passwordmaker-cli_$(DEB_UPSTREAM_VERSION).orig.tar.gz rm passwordmaker-cli-$(DEB_UPSTREAM_VERSION)/*.exe rm passwordmaker-cli-$(DEB_UPSTREAM_VERSION)/*.dll rm -r passwordmaker-cli-$(DEB_UPSTREAM_VERSION)/shared/3rdparty mv passwordmaker-cli-$(DEB_UPSTREAM_VERSION) passwordmaker-cli-$(DEB_UPSTREAM_VERSION).orig GZIP=--best tar -cz --owner root --group root --mode a+rX \ -f passwordmaker-cli_$(DEB_UPSTREAM_VERSION)+dfsg.orig.tar.gz \ passwordmaker-cli-$(DEB_UPSTREAM_VERSION).orig rm -r passwordmaker-cli-$(DEB_UPSTREAM_VERSION).orig debian/docs0000644000000000000000000000003011544133071010031 0ustar building.txt ReadMe.txt debian/copyright0000644000000000000000000000717511771167214011142 0ustar Format: http://dep.debian.net/deps/dep5 Upstream-Name: passwordmaker-cli Upstream-Contact: Eric H. Jung and LeahScape, Inc. Source: http://passwordmaker.org/ Files: * Copyright: 2005-2006 Eric H. Jung and LeahScape, Inc. License: LGPL-2.1+ Files: debian/* Copyright: 2011 Cord Beermann License: LGPL-2.1+ Files: tiny* Copyright: 2000-2007, Lee Thomason 2002-2004, Yves Berquin License: Zlib Files: tinystr.* Copyright: 2000-2007, Lee Thomason 2002-2004, Yves Berquin 2005, Tyge Lovset License: Zlib Files: tclap/* Copyright: 2003, Michael E. Smoot 2004, Michael E. Smoot, Daniel Aarno License: MIT-style license (copied verbatime from the file COPYING, and indented three spaces): . Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. License: LGPL-2.1+ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. . This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . /usr/share/common-licenses/LGPL-2.1 License: Zlib This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. . Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: . 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. . 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. . 3. This notice may not be removed or altered from any source distribution. debian/source/0000755000000000000000000000000011771167634010503 5ustar debian/source/format0000644000000000000000000000001411544133072011674 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000211771162515010372 0ustar 9