From: Sergey Degtyaryov <maga@globetravel.spb.ru> To: mandrake-russian@altlinux.ru Subject: Re: [mdk-re] Вопрос по Перлу (оффтопик) Date: Sun Jul 22 13:56:11 2001 Message-ID: <20010722142046.16cd8644.maga@globetravel.spb.ru> (raw) In-Reply-To: <20010722091458.A11227@vezyolka.dgap.mipt.ru> Доброго времени суток, Yura Sun, 22 Jul 2001 09:14:58 +0400 Вы сказали буквально следующее: > Есть письмо > > Mime-Version: 1.0 > Content-Type: multipart/signed; micalg=pgp-sha1; > protocol="application/pgp-signature"; > boundary="a8Wt8u1KmwUX3Y2C" > > С помощью какого перлового модуля можно легко его разделить на > данные и подпись? > Какую бы книжку/сайт почитать, чтоб подобные вопросы в рассылку > пе писать? Вообще обычный ход: 1) search.cpan.org 2) download 3) perldoc Just::Downloaded::Module Но, вот что касается отделения подписи от письма - у меня как-то не вышло найти ничего похожего. Только в Mail::Audit было что-то подобное, причем без всяких изощрений. Вообще анализ подписаного письма показал что состоит оно из: Headers (вкл boundary) Boundary Body Boundary Headers ----- BEGIN PGP..... signature ----- END.... Boundary честно говоря я мало знаю о письмах и, вполне возможно, есть лучшие варианты, но первое что приходит в голову - 1) Boundary позволяет однозначно разделить все письмо на части. 2) Для выдергивания самой подписи в Mail::Audit используется ----- BEGIN PGP SIG.... ----- END PGP SIG..... Приходит на ум, что эти строчки именно для этого и предназначены. -- Rgds, maga, maga@mail.ru -- В свои 20 лет он знал 9 опеpационных систем и ни одной женщины.
prev parent reply other threads:[~2001-07-22 13:56 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-07-22 8:59 Yura Zotov 2001-07-22 13:30 ` [mdk-re] Вопрос по Перлу ( оффтопик) cornet 2001-07-22 16:39 ` Sergey Degtyaryov 2001-07-22 13:56 ` Sergey Degtyaryov [this message]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20010722142046.16cd8644.maga@globetravel.spb.ru \ --to=maga@globetravel.spb.ru \ --cc=mandrake-russian@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git