Szombathelyi "György" | 1 Nov 2004 01:05
Picon
Favicon

[PATCH] Repacing libntlm

Hello!

I wrote a KNTLM class to replace libntlm. This has three advantages:
- True unicode usernames and passwords can be used.
- It supports NTLMv2 authentication.
- No external dependency needed.

I attached the patches, and some new files. These are:
- The libkntlm library (in kdelibs/kio/misc).
- The endiannes-conversion header (which is a generic thing, I posted here
some days ago for inclusion in kdelibs/kdecore).
- kdecore/kmdcodec is extended with an MD4 hashing implementation.
- kioslave/http uses the new class. NTLMv2 setup is a bit rough (a define in
http.c), this must be replaced.

If there will no objections, I will commit soon.

Bye,
György

____________________________________________________________________
Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol.
Probald ki most! http://www.freestart.hu
Attachment (libkntlm.tar.gz): application/x-tgz, 9 KiB
Attachment (kswap.h): text/x-chdr, 5796 bytes
Attachment (kdelibs.diff.gz): application/x-gzip, 7220 bytes
George Staikos | 1 Nov 2004 01:35
Picon
Favicon

Re: [PATCH] Repacing libntlm


This sounds like a great approach.

On Sunday 31 October 2004 19:05, Szombathelyi GyXrgy wrote:
> Hello!
>
> I wrote a KNTLM class to replace libntlm. This has three advantages:
> - True unicode usernames and passwords can be used.
> - It supports NTLMv2 authentication.
> - No external dependency needed.
>
> I attached the patches, and some new files. These are:
> - The libkntlm library (in kdelibs/kio/misc).
> - The endiannes-conversion header (which is a generic thing, I posted here
> some days ago for inclusion in kdelibs/kdecore).
> - kdecore/kmdcodec is extended with an MD4 hashing implementation.
> - kioslave/http uses the new class. NTLMv2 setup is a bit rough (a define
> in http.c), this must be replaced.
>
> If there will no objections, I will commit soon.

--

-- 
George Staikos
KDE Developer				http://www.kde.org/
Staikos Computing Services Inc.		http://www.staikos.net/

Brad Hards | 1 Nov 2004 07:48

Re: [PATCH] Repacing libntlm

On Mon, 1 Nov 2004 11:05 am, Szombathelyi György wrote:
> I wrote a KNTLM class to replace libntlm. This has three advantages:
> - True unicode usernames and passwords can be used.
> - It supports NTLMv2 authentication.
> - No external dependency needed.
I like it, but I wonder if some of this could be pushed down into QCA 
(kdesupport/qca).  It already has MD4, and probably DES (if I knew where to 
look).  

Brad
_______________________________________________
Delta-affinix.com mailing list
Delta-affinix.com@...
http://lists.affinix.com/listinfo.cgi/delta-affinix.com
Justin Karneges | 1 Nov 2004 08:35
Favicon

Re: Re: [PATCH] Repacing libntlm

On Sunday 31 October 2004 10:48 pm, Brad Hards wrote:
> On Mon, 1 Nov 2004 11:05 am, Szombathelyi György wrote:
> > I wrote a KNTLM class to replace libntlm. This has three advantages:
> > - True unicode usernames and passwords can be used.
> > - It supports NTLMv2 authentication.
> > - No external dependency needed.
>
> I like it, but I wonder if some of this could be pushed down into QCA
> (kdesupport/qca).  It already has MD4, and probably DES (if I knew where to
> look).
>
> Brad

QCA has no plain DES hook, but it does have TripleDES.  The only reason DES 
isn't in there is because it is known to be weak (the same reason that MD2, 
SHA0, etc, were not in QCA initially).  But if it's needed, adding another 
hook is easy.

-Justin
Martin Koller | 1 Nov 2004 12:15
Picon
Favicon

[patch] minicli sizing

Currently minicli disallows resizing, which is a pitty if I want to view/edit 
a long URL before I start konqueror.
The following patch solves this.
It let's the user resize minicli as he likes and also keeps the selected size 
between a show/hide cycle.

OK to commit ?

--

-- 
Best regards/Schöne Grüße

Martin    ()  ascii ribbon campaign - against html mail 
          /\                        - against microsoft attachments

       Some operating systems are called 'user friendly',
             Linux however is 'expert friendly'.
Attachment (minicli.patch): text/x-diff, 8 KiB
Dawit A. | 1 Nov 2004 13:56
Picon
Favicon

Re: [patch] minicli sizing

On Monday 01 November 2004 06:15, Martin Koller wrote:
> Currently minicli disallows resizing, which is a pitty if I want to
> view/edit a long URL before I start konqueror.
> The following patch solves this.
> It let's the user resize minicli as he likes and also keeps the selected
> size between a show/hide cycle.
>
> OK to commit ?

Nope. This has been hashed over a million times before. Please search 
the mailing lists for those discussions. With your change, the size of the 
combobox will grow infinitely with the size of the URL which is worse. BTW, 
why could you not edit a long URL with the current fixed size ?

--

-- 
Regards,
Dawit A.
"Preach what you practice, practice what you preach"

Jan Vidar Krey | 1 Nov 2004 14:31
Gravatar

Re: KGet maintainer

Hi, 

I have been working with Qt/KDE related development for the last 4 years,
and have worked on a p2p application for KDE among others (QuickDC - It's 
dead, now for various reasons :).

I have some spare time for the next few months, and would 
like to participate on this. The current KGet has annoyed me a few times and 
I've looked into adding bittorrent support for it.

What would you like me to do? 

Cheers

-janvidar-

On Sunday 31 October 2004 17:42, Dario Massarin wrote:
>
> I would be very happy to see someone else join the development, since my
> free time is very limited.
> BTW my plan is to make kget ready for KDE4.
>
> Have a nice day!
>  Dario

--

-- 
Jan Vidar Krey

E-mail: janvidar <at> extatic.org
Mobile:  +47 98 60 73 28
(Continue reading)

Martin Koller | 1 Nov 2004 15:09
Picon
Favicon

Re: [patch] minicli sizing

On Monday 01 November 2004 13:56, Dawit A. wrote:

> Nope. This has been hashed over a million times before. Please search
> the mailing lists for those discussions.

Hm ..., did not find anything.

> With your change, the size of the 
> combobox will grow infinitely with the size of the URL which is worse.

Can you tell me details, please? When will it grow (by doing what) ?
I can't see why it should.

> BTW, 
> why could you not edit a long URL with the current fixed size ?

It's not the question of "if", it's the question of "how userfriendly" it was.

Also, it seems to me that the "fixed size" approach is not done "by design", 
but instead to work around a different problem (which you described above).
I was trying to solve this in a clean way (probably I failed, but then please 
give me a test case where it does not work and I'll try to improve it).

P.S.: my use case:
I have always the problem that I receive emails with long URLs from broken 
mailers which break the URL in several lines. So I copy/paste this into 
minicli and try to find the blanks and then remove them.
On being able to resize minicli, I have a much better overview and don't have 
to scroll inside the combo.
Also, a non-resizeable dialog always reminds me on the borked MS 
(Continue reading)

Cornelius Schumacher | 1 Nov 2004 18:11
Picon
Favicon
Gravatar

Re: [PATCH] XML validity of kcfg files

On Saturday 30 October 2004 21:19, Zack Rusin wrote:
>
> This dtd is documentation....

No, it's the specification of the kcfg file format and it certainly is 
meant to be used for validating the kcfg files (I do know it, because I 
wrote the DTD in the first place including the rule for the order of 
the tags).

> In order to use the dtd to validate files so strickly you need to fix
> it.

The only thing which might need to be fixed is the constraint on the 
order of the elements. If somebody knows a way to do this, I'm fine 
with changing it.

Independent of that we really should fix the XML files to be valid 
according to the existing DTD (Hey, we even have a patch for that 
already) otherwise we loose the ability to reasonably validate the XML 
files and that would be a pity because it's so simple and ensures that 
the files are at least syntactically correct.

--

-- 
Cornelius Schumacher <schumacher <at> kde.org>

Szombathelyi "György" | 1 Nov 2004 20:05
Picon
Favicon

Re: [PATCH] Repacing libntlm

2004. november 1. 06.48 dátummal Brad Hards ezt írta:
> On Mon, 1 Nov 2004 11:05 am, Szombathelyi György wrote:
> > I wrote a KNTLM class to replace libntlm. This has three advantages:
> > - True unicode usernames and passwords can be used.
> > - It supports NTLMv2 authentication.
> > - No external dependency needed.
>
> I like it, but I wonder if some of this could be pushed down into QCA
> (kdesupport/qca).  It already has MD4, and probably DES (if I knew where to
> look).
>
It's very easy to replace the MD4 and DES in KNTLM, but kdelibs should not 
depend on QCA yet. But if the moving to QCA starts, I will happily convert 
libkntlm to it.
> Brad
Bye,
György

____________________________________________________________________
Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol.
Probald ki most! http://www.freestart.hu


Gmane