An alternative for S/KEY's key command.
This commit is contained in:
parent
2de7100601
commit
bbaf199dcb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=3817
22
security/donkey/Makefile
Normal file
22
security/donkey/Makefile
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
# New ports collection makefile for: donkey
|
||||||
|
# Version required: 0.5
|
||||||
|
# Date created: 17 Sep 1996
|
||||||
|
# Whom: Masafumi NAKANE <max@FreeBSD.ORG>
|
||||||
|
#
|
||||||
|
# $Id: porting.sgml,v 1.16 1996/03/21 14:15:01 asami Exp $
|
||||||
|
#
|
||||||
|
|
||||||
|
DISTNAME= donkey-0.5
|
||||||
|
CATEGORIES+= security
|
||||||
|
MASTER_SITES= ftp://ftp.aist-nara.ac.jp/pub/Security/tool/donkey/
|
||||||
|
|
||||||
|
MAINTAINER= max@FreeBSD.ORG
|
||||||
|
|
||||||
|
GNU_CONFIGURE= yes
|
||||||
|
WRKSRC= ${WRKDIR}/${DISTNAME}/obj/FreeBSD
|
||||||
|
PATCH_ARGS= -d ${WRKDIR}/${DISTNAME} --forward --quiet -E ${PATCH_STRIP}
|
||||||
|
|
||||||
|
pre-configure:
|
||||||
|
@(cd ${WRKDIR}/${DISTNAME}; ./setup FreeBSD)
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
1
security/donkey/distinfo
Normal file
1
security/donkey/distinfo
Normal file
@ -0,0 +1 @@
|
|||||||
|
MD5 (donkey-0.5.tar.gz) = dd3ebca4504edbcecdde63896d60b7b6
|
54
security/donkey/files/patch-aa
Normal file
54
security/donkey/files/patch-aa
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
*** src/Makefile.in.orig Sun Apr 30 14:13:56 1995
|
||||||
|
--- src/Makefile.in Thu Sep 19 03:17:50 1996
|
||||||
|
***************
|
||||||
|
*** 2,8 ****
|
||||||
|
# Makefile for Donkey
|
||||||
|
#
|
||||||
|
|
||||||
|
! BINDIR = /usr/local/bin
|
||||||
|
|
||||||
|
SRCS = donkey.c getopt.c passphrase.c btoe.c skey.c md.c md2.c md4.c md5.c
|
||||||
|
OBJS = donkey.o getopt.o passphrase.o btoe.o skey.o md.o md2.o md4.o md5.o
|
||||||
|
--- 2,9 ----
|
||||||
|
# Makefile for Donkey
|
||||||
|
#
|
||||||
|
|
||||||
|
! PREFIX ?= /usr/local
|
||||||
|
! BINDIR = ${PREFIX}/bin
|
||||||
|
|
||||||
|
SRCS = donkey.c getopt.c passphrase.c btoe.c skey.c md.c md2.c md4.c md5.c
|
||||||
|
OBJS = donkey.o getopt.o passphrase.o btoe.o skey.o md.o md2.o md4.o md5.o
|
||||||
|
***************
|
||||||
|
*** 10,16 ****
|
||||||
|
CMPT = key
|
||||||
|
|
||||||
|
CC = @CC@
|
||||||
|
! CFLAGS = @CFLAGS@
|
||||||
|
#CFLAGS = -Aa -D_INCLUDE_POSIX_SOURCE
|
||||||
|
DEFS = @DEFS@
|
||||||
|
#DEFS = -DDefaultMD=MD5
|
||||||
|
--- 11,17 ----
|
||||||
|
CMPT = key
|
||||||
|
|
||||||
|
CC = @CC@
|
||||||
|
! CFLAGS += @CFLAGS@
|
||||||
|
#CFLAGS = -Aa -D_INCLUDE_POSIX_SOURCE
|
||||||
|
DEFS = @DEFS@
|
||||||
|
#DEFS = -DDefaultMD=MD5
|
||||||
|
***************
|
||||||
|
*** 25,31 ****
|
||||||
|
$(CC) -o $(PROG) $(CFLAGS) $(OBJS) $(LIBS)
|
||||||
|
|
||||||
|
install:
|
||||||
|
! cp $(PROG) $(BINDIR)
|
||||||
|
ln -s $(PROG) $(BINDIR)/$(CMPT)
|
||||||
|
|
||||||
|
clean:
|
||||||
|
--- 26,32 ----
|
||||||
|
$(CC) -o $(PROG) $(CFLAGS) $(OBJS) $(LIBS)
|
||||||
|
|
||||||
|
install:
|
||||||
|
! install -cs -o bin -g bin -m 755 $(PROG) $(BINDIR)
|
||||||
|
ln -s $(PROG) $(BINDIR)/$(CMPT)
|
||||||
|
|
||||||
|
clean:
|
1
security/donkey/pkg-comment
Normal file
1
security/donkey/pkg-comment
Normal file
@ -0,0 +1 @@
|
|||||||
|
An alternative for S/KEY's key command
|
48
security/donkey/pkg-descr
Normal file
48
security/donkey/pkg-descr
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
---- From 00readme (slightly modified) ----
|
||||||
|
|
||||||
|
<What's Donkey?>
|
||||||
|
|
||||||
|
Donkey is an alternative for S/KEY's "key" command. The new feature that
|
||||||
|
the original key doesn't have is print an entry for skeykeys as
|
||||||
|
follows;
|
||||||
|
|
||||||
|
kazu 0099 al02004 115d83956f1089b6 Apr 26,1995 22:13:27
|
||||||
|
|
||||||
|
This means that donkey is also an alternative for "keyinit". Since the
|
||||||
|
entry is printed to stdout (not to /etc/skeykeys), you can easily send
|
||||||
|
it to remote operator by e-mail (with PGP signature or something). So,
|
||||||
|
it is possible to initiate S/KEY without logging in from the console of the
|
||||||
|
host.
|
||||||
|
|
||||||
|
The name "Donkey" is an acronym of "Don't Key".
|
||||||
|
|
||||||
|
|
||||||
|
<How to use Donkey>
|
||||||
|
|
||||||
|
(1) Calculate a One-Time-Password.
|
||||||
|
|
||||||
|
Execute Donkey with sequence and seed, then input your passphrase.
|
||||||
|
|
||||||
|
The -f option allows you to choose hash function from MD2, MD4, and MD5.
|
||||||
|
|
||||||
|
The default hash function is MD4 due to the historical reason.
|
||||||
|
|
||||||
|
(2) Calculate multiple One-Time-Passwords at once.
|
||||||
|
|
||||||
|
Use -n option.
|
||||||
|
|
||||||
|
Note that although "Enter passphrase" is printed out to stderr,
|
||||||
|
One-Time-Passwords go to stdout. So, you can redirect the output
|
||||||
|
safely.
|
||||||
|
|
||||||
|
(3) Print skeykeys entry.
|
||||||
|
|
||||||
|
Use -i option without argments. Then, enter login name, sequence and
|
||||||
|
seed. If you like default value, just type RET. Input your passphrase
|
||||||
|
twice to get the entry.
|
||||||
|
|
||||||
|
<Copyright>
|
||||||
|
|
||||||
|
Donkey conforms GNU GENERAL PUBLIC LICENSE Version 2 and is
|
||||||
|
Copyright (C) 1995 Kazuhiko Yamamoto
|
||||||
|
<kazu@is.aist-nara.ac.jp>
|
2
security/donkey/pkg-plist
Normal file
2
security/donkey/pkg-plist
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
bin/donkey
|
||||||
|
bin/key
|
Loading…
Reference in New Issue
Block a user