Browse Source

Add update-moduli target for regenerating ssh moduli file; from markus@

ok deraadt@
OPENBSD_3_5
dtucker 21 years ago
parent
commit
f94b30934f
1 changed files with 12 additions and 1 deletions
  1. +12
    -1
      src/etc/Makefile

+ 12
- 1
src/etc/Makefile View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.193 2004/01/28 02:24:28 mickey Exp $
# $OpenBSD: Makefile,v 1.194 2004/01/30 03:02:26 dtucker Exp $
TZDIR= /usr/share/zoneinfo
LOCALTIME= Canada/Mountain
@ -364,6 +364,17 @@ distrib:
cd ${.CURDIR}/../distrib && \
${MAKE} cleandir && ${MAKE} && exec ${SUDO} ${MAKE} install
DHSIZE=1024 1536 2048 3072 4096
update-moduli:
( \
echo '# $$OpenBSD: Makefile,v 1.194 2004/01/30 03:02:26 dtucker Exp $$'; \
echo '# Time Type Tests Tries Size Generator Modulus'; \
( for i in ${DHSIZE}; do \
ssh-keygen -b $$i -G /dev/stdout; \
done) | \
ssh-keygen -T /dev/stdout \
) > moduli
.PHONY: distribution-etc-root-var distribution distrib-dirs \
release snapshot allarchs snap_pre snap_tar snap_md m4
.include <bsd.prog.mk>

Loading…
Cancel
Save