From 7c0042629e1dfe12f42c3355cc843e269e50b914 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Mon, 1 May 2000 22:57:46 +1000 Subject: - Deprecate perl-tk askpass. --- ChangeLog | 1 + ssh-askpass | 38 -------------------------------------- 2 files changed, 1 insertion(+), 38 deletions(-) delete mode 100755 ssh-askpass diff --git a/ChangeLog b/ChangeLog index 9aedc60a..de8490ae 100644 --- a/ChangeLog +++ b/ChangeLog @@ -19,6 +19,7 @@ - Merged bsd-login ttyslot and AIX utmp patch from Gert Doering - Add some missing ifdefs to auth2.c + - Deprecate perl-tk askpass. 20000430 - Merge HP-UX fixes and TCB support from Ged Lodder diff --git a/ssh-askpass b/ssh-askpass deleted file mode 100755 index b1e23c51..00000000 --- a/ssh-askpass +++ /dev/null @@ -1,38 +0,0 @@ -#!/usr/bin/perl -w - -# Written by Tommi Virtanen . Consider it public domain. - -use strict; -use Tk; - -sub do_it($$;) { - my ($passphrase, $main) = @_; - print $passphrase->get(), "\n"; - $main->destroy(); -} - -sub ask($;) { - my ($prompt)=@_; - my $main=MainWindow->new; - $main->Label(-text=>$prompt)->pack(-fill=>'x'); - my $passphrase=$main->Entry(-show=>'*')->pack(-fill=>'x'); - $passphrase->focus(); - my $buttons=$main->Frame; - $buttons->pack(-side=>'right'); - my $ok=$buttons->Button(-text=>'Ok', - -command=>sub {do_it $passphrase, $main} - )->pack(-side=>'left'); - my $cancel=$buttons->Button(-text=>'Cancel', -command=>[$main=>'destroy']) - ->pack(-side=>'right'); - $main->bind('Tk::Button', '' => 'invoke'); - $main->bind('', [$ok => 'invoke']); - $main->bind('', [$cancel => 'invoke']); - $main->bind('' => [$main => 'grabGlobal']); - - MainLoop; -} - -ask ($#ARGV==0 - ? $ARGV[0] - : 'Please enter your authentication passphrase:'); - -- cgit v1.2.3