Merge branch 'master' of github.com:Lyndir/MasterPassword
This commit is contained in:
commit
bb81f5bd5b
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env bash -e
|
#!/usr/bin/env bash
|
||||||
# Run with -DDEBUG to enable trace-level output.
|
# Run with -DDEBUG to enable trace-level output.
|
||||||
|
|
||||||
[[ -e lib/scrypt/scryptenc.o ]] || { echo >&2 "Missing scrypt. First get and build the scrypt source in lib/scrypt from <$(<lib/scrypt/.source)>.\n"; exit 1; }
|
[[ -e lib/scrypt/scryptenc.o ]] || { echo >&2 "Missing scrypt. First get and build the scrypt source in lib/scrypt from <$(<lib/scrypt/.source)>.\n"; exit 1; }
|
||||||
|
BIN
MasterPassword/C/masterpassword-cli-freebsd.zip
Normal file
BIN
MasterPassword/C/masterpassword-cli-freebsd.zip
Normal file
Binary file not shown.
@ -7,7 +7,7 @@ mpw() {
|
|||||||
elif hash xclip 2>/dev/null; then
|
elif hash xclip 2>/dev/null; then
|
||||||
xclip
|
xclip
|
||||||
else
|
else
|
||||||
cat
|
cat; echo 2>/dev/null
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
echo >&2 "Copied!"
|
echo >&2 "Copied!"
|
||||||
@ -17,7 +17,7 @@ mpw() {
|
|||||||
:| _copy 2>/dev/null
|
:| _copy 2>/dev/null
|
||||||
|
|
||||||
# Ask for the user's name and password if not yet known.
|
# Ask for the user's name and password if not yet known.
|
||||||
MP_USERNAME=${MP_USERNAME:-$(ask -s 'Your Full Name:')}
|
MP_USERNAME=${MP_USERNAME:-$(ask 'Your Full Name:')}
|
||||||
|
|
||||||
# Start Master Password and copy the output.
|
# Start Master Password and copy the output.
|
||||||
printf %s "$(MP_USERNAME=$MP_USERNAME command mpw "$@")" | _copy
|
printf %s "$(MP_USERNAME=$MP_USERNAME command mpw "$@")" | _copy
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#define _WITH_GETLINE
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
@ -13,7 +14,7 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <pwd.h>
|
#include <pwd.h>
|
||||||
#include <uuid/uuid.h>
|
#include <netinet/in.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user