Skip to main content

Home/ Perl/ Group items tagged key

Rss Feed Group items tagged

Alberto Adrián Schiano

Using Expect.pm 2 managge unreliable programs - 0 views

  • here is a working example. This script shows 2 ways, one is saving the key to a file and reading it back in, the other, just hard codes the file contents into a variable. I tried a few things to avoid a temp file, but no luck. There is a Content type for the write, but it dosn't seem to work for scalar....it still writes a file.
  • Because PHP sucks: escape to Perl
  • How to Make Crypt::DSA use a your key to sign something
  • ...4 more annotations...
  • looking at a post by Sisyphus on comp.lang.perl. misc, it seems that you CAN use the numeric keys, like you tried in your original post. He showed a neat trick ( which I will have to explore further) where he reblessed the key data, and it works.
  • This node How to Make Crypt::DSA use a your key to sign something got me thinking about how to extend Crypt::DSA's potential, to make public and private keys, for signing verification. The script below, will verify 2 ways, once with scalars inside the script, and once from files. The generated sig, is actually binary, so note the base64 encoding of it, for attachment to emails, etc. I must thank sisyphus for the trick of reblessing a hash back into an object. This is the critical part of the script, where the public and private keys are generated. The docs for Crypt::DSA don't show how to separate them,( and you wouldn't want to be distributing your private key in the public PEM file. :-)
  • Note: This isn't really a Perl thing, but I'm using it for Perl scripts and it's too handy not to share
  • Expect.pm Test Program One The following test program runs the unreliable program twenty times. If the unreliable program takes longer than five seconds, the attempt to run it is terminated and the test program continues.
  •  
    Using Expect with perl - tips and references - simple examples as a starting
Roy Jensen

Net::OpenSSH - search.cpan.org - 0 views

  • 3 - run ssh from the command line Check you can connect to the remote host using the same parameters you are passing to Net::OpenSSH. In particular, ensure that you are running ssh as the same local user. If you are running your script from a webserver, the user would probably be www, apache or something alike. Common problems are: Not having the remote host public key in the known_hosts file.
    • Roy Jensen
       
      The key must be paired with the host i the known_hosts file, that is how Net::OpenSSH uses public key authentication for SSH
  • run ssh from the command line Check you can connect to the remote host using the same parameters you are passing to Net::OpenSSH. In particular, ensure that you are running ssh as the same local user. If you are running your script from a webserver, the user would probably be www, apache or something alike. Common problems are: Not having the remote host public key in the known_hosts file. Wrong permissions for the ~/.ssh directory or its contents. Incorrect settings for public key authentication.
Ali Safe

Most Important Types Of Ladder Platform To Look For - Imgur - 0 views

  •  
    Business Referral Network tools, by Referral Key, lets small business owners easily share leads with trusted business associates
addamsmith007

norton support - 0 views

  •  
    If you want to get norton technical expert advice or support and remove norton virus or other infected files from your computer or laptop.
Alberto Adrián Schiano

Mastak Absolute Perl - 0 views

  • Mastak Absolute Perl is the unique tool for creating, editing and debugging Perl scripts and programs. Mastak Absolute Perl has intuitive interface and combines the ease of use with full featured development environment while using only small part of system resources. Mastak Absolute Perl features multiple document interface and syntax highlighting as well as web browser integration. Easy to use text editor and powerful Code Explorer together with ability to launch the integrated Perl interpreter and debugger both in editor window and in console allow the programmer to work fast and effectively. The software is highly configurable. You can set it up to use your favorite colors, fonts, macros, hot keys, files and folders MRU lists. The program remembers its previous state up to cursor position on re-launch. Mastak Absolute Perl supports all major Cyrillic encodings (including WIN1251, DOS866, ISO8859-5 and KOI8-R). The document encoding is automatically determined on file loading. The program has a simple FTP client built-in that allows fast uploads and downloads of CGI scripts to and from web servers. The built-in FTP client fully supports various Cyrillic encodings. Mastak Absolute Perl runs on the following operating systems: Microsoft Windows 95, 98, NT 4.0, 2000. The only requirement is that Microsoft Internet Explorer (version 4.0 or higher) should be installed on the machine.
  •  
    Another perl editor - freeware - no screenshots
    Otro editor de perl - gratis - no hay ilustraciones

1 - 5 of 5
Showing 20 items per page