Re: Bug#311997: ITP: gaim-latex -- gaim plugin wich translate LaTeX code into image in conversation

2005-06-09 Thread Anthony DeRobertis
Nicolas Schoonbroodt wrote: chdir(/tmp) system(latex -interaction=nonstopmode FILE_TEX) system(dvips -o FILE_PS -E FILE_DVI) system(convert FILE_PS FILE_PNG) and finaly a I do a system(rm -rf /tmp/GaimTeX.*) somewhere This is still a security problem, this time from local users: A

Re: Bug#311997: ITP: gaim-latex -- gaim plugin wich translate LaTeX code into image in conversation

2005-06-08 Thread Nicolas Schoonbroodt
Bill Allombert wrote: When I spoke of security nightmare, this was exactly what I had in mind. You will never find a blacklist of command that prevent abuse, and the current certainly does not. For example \usepackage and \documentclass are not blacklisted so the attacker can load add-on

Re: Bug#311997: ITP: gaim-latex -- gaim plugin wich translate LaTeX code into image in conversation

2005-06-07 Thread Martin Braure de Calignon
Le mardi 07 juin 2005 à 05:10 +0200, Nicolas Schoonbroodt a écrit : MMmmm these are good news :-), If you can tell me where you find the tex2im depandancy (README, INSTALL, ...) It can help me for remove it in the next version. Well, I've just looked into your files. I can now said that I've

Re: Bug#311997: ITP: gaim-latex -- gaim plugin wich translate LaTeX code into image in conversation

2005-06-07 Thread Andrew Suffield
On Mon, Jun 06, 2005 at 06:35:50PM -0400, Daniel Jacobowitz wrote: On Mon, Jun 06, 2005 at 02:21:26PM -0700, Daniel Burrows wrote: On Monday 06 June 2005 01:11 pm, H. S. Teoh wrote: Make a version which generates the image on the sending side? [...] That would be a *very* nice

Re: Bug#311997: ITP: gaim-latex -- gaim plugin wich translate LaTeX code into image in conversation

2005-06-07 Thread Martin Braure de Calignon
Le mardi 07 juin 2005 à 05:10 +0200, Nicolas Schoonbroodt a écrit : So...(sorry for English) lot of conversation about my plugin on your mailling list. And also a bug report on sourceforge, related to your remark. My message will be not complete (because it's 4.50 am here and that I must be

Re: Bug#311997: ITP: gaim-latex -- gaim plugin wich translate LaTeX code into image in conversation

2005-06-07 Thread Bill Allombert
On Tue, Jun 07, 2005 at 05:19:40PM +0200, Martin Braure de Calignon wrote: I have blacklisted the same command than kopetetex, that is : #define NB_BLACKLIST (42) #define BLACKLIST

Re: Bug#311997: ITP: gaim-latex -- gaim plugin wich translate LaTeX code into image in conversation

2005-06-06 Thread Martin Braure de Calignon
Le samedi 04 juin 2005 à 19:00 -0400, Roberto C. Sanchez a écrit : On Sat, Jun 04, 2005 at 07:43:00PM +0200, Martin Braure de Calignon wrote: Package: wnpp Severity: wishlist Owner: Martin Braure de Calignon [EMAIL PROTECTED] * Package name: gaim-latex Version : 0.3

Re: Bug#311997: ITP: gaim-latex -- gaim plugin wich translate LaTeX code into image in conversation

2005-06-06 Thread Bernhard R. Link
* Martin Braure de Calignon [EMAIL PROTECTED] [050606 10:39]: But I have a question. I'have quickly done first package. gaim-latex use a tex2im script that is from another source. Do I have to make two packages, one for tex2im and one for gaim-latex or do I have to just include this script in

Re: Bug#311997: ITP: gaim-latex -- gaim plugin wich translate LaTeX code into image in conversation

2005-06-06 Thread Martin Braure de Calignon
Le dimanche 05 juin 2005 à 20:42 -0700, Daniel Burrows a écrit : On Sunday 05 June 2005 03:37 am, Bill Allombert wrote: Sound like a potential security nightmare to me. LaTeX is a full programming language. Well, in principle it would be possible to just parse a subset of LaTeX [0] and

Re: Bug#311997: ITP: gaim-latex -- gaim plugin wich translate LaTeX code into image in conversation

2005-06-06 Thread Roberto C. Sanchez
On Mon, Jun 06, 2005 at 10:47:35AM +0200, Bernhard R. Link wrote: * Martin Braure de Calignon [EMAIL PROTECTED] [050606 10:39]: But I have a question. I'have quickly done first package. gaim-latex use a tex2im script that is from another source. Do I have to make two packages, one for

Re: Bug#311997: ITP: gaim-latex -- gaim plugin wich translate LaTeX code into image in conversation

2005-06-06 Thread Anthony DeRobertis
Martin Braure de Calignon wrote: Quoting tex2im code: (...) latex -interaction=batchmode out.tex /dev/null cd $homedir dvips -o $tmpdir/out.eps -E $tmpdir/out.dvi 2 /dev/null (...) convert +adjoin -antialias -transparent $color1 -density $resolution $tmpdir/out.eps

Re: Bug#311997: ITP: gaim-latex -- gaim plugin wich translate LaTeX code into image in conversation

2005-06-06 Thread Roberto C. Sanchez
On Mon, Jun 06, 2005 at 02:14:51PM -0400, Anthony DeRobertis wrote: Martin Braure de Calignon wrote: Quoting tex2im code: (...) latex -interaction=batchmode out.tex /dev/null cd $homedir dvips -o $tmpdir/out.eps -E $tmpdir/out.dvi 2 /dev/null (...) convert +adjoin

Re: Bug#311997: ITP: gaim-latex -- gaim plugin wich translate LaTeX code into image in conversation

2005-06-06 Thread Anthony DeRobertis
Roberto C. Sanchez wrote: At some point, you do need to execute something on your machine, else you may as well unplug it and find something else to do. I understand what you are saying, but we can't put everyone in a small padded room. Based on your assessment, we would have cause to seek

Re: Bug#311997: ITP: gaim-latex -- gaim plugin wich translate LaTeX code into image in conversation

2005-06-06 Thread Roberto C. Sanchez
On Mon, Jun 06, 2005 at 02:28:55PM -0400, Anthony DeRobertis wrote: Roberto C. Sanchez wrote: At some point, you do need to execute something on your machine, else you may as well unplug it and find something else to do. I understand what you are saying, but we can't put everyone in a

Re: Bug#311997: ITP: gaim-latex -- gaim plugin wich translate LaTeX code into image in conversation

2005-06-06 Thread Martin Braure de Calignon
Le lundi 06 juin 2005 à 14:28 -0400, Anthony DeRobertis a écrit : Roberto C. Sanchez wrote: Ummm, I think you've missed my point. The thread is discussing a GAIM (instant message client) plugin. So that script is not run by you, it is run by an arbitrary stranger sending you an instant

Re: Bug#311997: ITP: gaim-latex -- gaim plugin wich translate LaTeX code into image in conversation

2005-06-06 Thread Daniel Jacobowitz
On Mon, Jun 06, 2005 at 08:45:11PM +0200, Martin Braure de Calignon wrote: Le lundi 06 juin 2005 à 14:28 -0400, Anthony DeRobertis a écrit : Roberto C. Sanchez wrote: Ummm, I think you've missed my point. The thread is discussing a GAIM (instant message client) plugin. So that script is not

Re: Bug#311997: ITP: gaim-latex -- gaim plugin wich translate LaTeX code into image in conversation

2005-06-06 Thread H. S. Teoh
On Mon, Jun 06, 2005 at 04:00:47PM -0400, Daniel Jacobowitz wrote: On Mon, Jun 06, 2005 at 08:45:11PM +0200, Martin Braure de Calignon wrote: Le lundi 06 juin 2005 à 14:28 -0400, Anthony DeRobertis a écrit : Roberto C. Sanchez wrote: Ummm, I think you've missed my point. The thread is

Re: Bug#311997: ITP: gaim-latex -- gaim plugin wich translate LaTeX code into image in conversation

2005-06-06 Thread Daniel Burrows
On Monday 06 June 2005 01:11 pm, H. S. Teoh wrote: Make a version which generates the image on the sending side? [...] That would be a *very* nice plugin. The bad thing about the current plugin isn't only the security concern: it requires that the recipient have the plugin installed. If

Re: Bug#311997: ITP: gaim-latex -- gaim plugin wich translate LaTeX code into image in conversation

2005-06-06 Thread Martin Braure de Calignon
Le lundi 06 juin 2005 à 13:11 -0700, H. S. Teoh a écrit : On Mon, Jun 06, 2005 at 04:00:47PM -0400, Daniel Jacobowitz wrote: Make a version which generates the image on the sending side? [...] That would be a *very* nice plugin. The bad thing about the current plugin isn't only the

Re: Bug#311997: ITP: gaim-latex -- gaim plugin wich translate LaTeX code into image in conversation

2005-06-06 Thread Daniel Jacobowitz
On Mon, Jun 06, 2005 at 02:21:26PM -0700, Daniel Burrows wrote: On Monday 06 June 2005 01:11 pm, H. S. Teoh wrote: Make a version which generates the image on the sending side? [...] That would be a *very* nice plugin. The bad thing about the current plugin isn't only the security

Re: Bug#311997: ITP: gaim-latex -- gaim plugin wich translate LaTeX code into image in conversation

2005-06-06 Thread Nicolas Schoonbroodt
So...(sorry for English) lot of conversation about my plugin on your mailling list. And also a bug report on sourceforge, related to your remark. My message will be not complete (because it's 4.50 am here and that I must be at school at 8am) First of all, you speak of tex2im depandency. This is

Re: Bug#311997: ITP: gaim-latex -- gaim plugin wich translate LaTeX code into image in conversation

2005-06-05 Thread Bill Allombert
On Sat, Jun 04, 2005 at 08:18:59PM +0200, Florent Bayle wrote: Le Samedi 4 Juin 2005 19:43, Martin Braure de Calignon a ?crit : [...] Provides the use of LaTeX code in conversation in gaim. The code is converted in image by tex2im script (imagemagick) and the image is sent to your

Re: Bug#311997: ITP: gaim-latex -- gaim plugin wich translate LaTeX code into image in conversation

2005-06-05 Thread Daniel Burrows
On Sunday 05 June 2005 03:37 am, Bill Allombert wrote: Sound like a potential security nightmare to me. LaTeX is a full programming language. Well, in principle it would be possible to just parse a subset of LaTeX [0] and get reasonable results. If they're calling LaTeX directly, though,

Bug#311997: ITP: gaim-latex -- gaim plugin wich translate LaTeX code into image in conversation

2005-06-04 Thread Martin Braure de Calignon
Package: wnpp Severity: wishlist Owner: Martin Braure de Calignon [EMAIL PROTECTED] -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * Package name: gaim-latex Version : 0.3 Upstream Author : Nicolas Schoonbroodt * URL : http://sourceforge.net/projects/gaim-latex *

Re: Bug#311997: ITP: gaim-latex -- gaim plugin wich translate LaTeX code into image in conversation

2005-06-04 Thread Florent Bayle
Le Samedi 4 Juin 2005 19:43, Martin Braure de Calignon a écrit : [...] Provides the use of LaTeX code in conversation in gaim. The code is converted in image by tex2im script (imagemagick) and the image is sent to your contact. [...] Just a little mistake : according to the author of

Re: Bug#311997: ITP: gaim-latex -- gaim plugin wich translate LaTeX code into image in conversation

2005-06-04 Thread Martin Braure de Calignon
Le samedi 04 juin 2005 à 20:18 +0200, Florent Bayle a écrit : Le Samedi 4 Juin 2005 19:43, Martin Braure de Calignon a écrit : [...] Provides the use of LaTeX code in conversation in gaim. The code is converted in image by tex2im script (imagemagick) and the image is sent to your contact.

Re: Bug#311997: ITP: gaim-latex -- gaim plugin wich translate LaTeX code into image in conversation

2005-06-04 Thread Roberto C. Sanchez
On Sat, Jun 04, 2005 at 07:43:00PM +0200, Martin Braure de Calignon wrote: Package: wnpp Severity: wishlist Owner: Martin Braure de Calignon [EMAIL PROTECTED] * Package name: gaim-latex Version : 0.3 Upstream Author : Nicolas Schoonbroodt * URL :