Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2009-01

DCPCrypt as part of FCL?

7 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Marco van de Voort
to Graeme Geldenhuys

In our previous episode, Graeme Geldenhuys said:

Show quoted text 7 lines
DCPCrypt information http://wiki.lazarus.freepascal.org/DCPcrypt. Couldn't DCPCrypt become part of FCL packages? I noticed there is already a Blowfish unit in FCL-Base directory. I think there are some hash implementations as well. DCPCrypt is quite complete in the encryption and hash department. :-)

1. Did you contact the author? Licensewise it is already ok I think (MIT/BSD license without advocacy clause), but it is the decent thing to do nonetheless.

2. Did you validate its working on 64-bit and big endian machines? That is a requirement before we can even think about adding.

Reply by email

Graeme Geldenhuys
to Marco van de Voort
Marco van de Voort wrote
1. Did you contact the author? Licensewise it is already ok I think (MIT/BSD license without advocacy clause), but it is the decent thing to do nonetheless.

I have not, but I don't mind doing so.

2. Did you validate its working on 64-bit and big endian machines? That is a requirement before we can even think about adding.

I can test on a 64bit system, but not a big endian machine. Can anybody help with the latter?

Regards,
- Graeme -

_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

Reply by email

Tomas Hajny
to Graeme Geldenhuys: DCPCrypt information http://wiki.lazarus.freepascal.org/DCPcrypt. Couldn't DCPCrypt…
Graeme Geldenhuys wrote 8 lines
DCPCrypt information http://wiki.lazarus.freepascal.org/DCPcrypt. Couldn't DCPCrypt become part of FCL packages? I noticed there is already a Blowfish unit in FCL-Base directory. I think there are some hash implementations as well. DCPCrypt is quite complete in the encryption and hash department. :-)

Two general questions from my side:

1) I assume you meant adding it as another package within the FPC tree, not to fcl-base in particular or so, right?

2) As with all other packages: Do we know who'd be maintaining this package? In other words, is the potential maintainer known (volunteering for that task), or are you trying to find one (as the first step before adding this as a new package)?

Tomas

Reply by email

Graeme Geldenhuys
to Tomas Hajny
Tomas Hajny wrote
1) I assume you meant adding it as another package within the FPC tree, not to fcl-base in particular or so, right?

I meant somewhere in the FPC tree. Where exactly is up to the FPC developers. But I would guess the FCL would be the general location.

2) As with all other packages: Do we know who'd be maintaining this package? In other words, is the potential maintainer known (volunteering

I got no idea who is the actual maintainer of the code in Lazarus CCR on SourceForge repository. David Barton is the original author of DCPCrypt for Delphi and Kylix. Somebody named Barko ported it in 2006 to Free Pascal & Lazarus. I don't think anybody worked on it since, but the original DCPCrypt also hasn't increased in version since 2006.

Anyway, I don't mind maintaining it as we (our company) currently use it with FPC 2.2.3 in our projects. So we would always require a working version. Encryption is a big part of our flagship product and will notice anything broken very quickly.

Regards,
- Graeme -

_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

Reply by email

Marco van de Voort
to Graeme Geldenhuys: I have not, but I don't mind doing so. I can test on a 64bit system, but not a big endian…

In our previous episode, Graeme Geldenhuys said:
[ Charset UTF-8 unsupported, converting... ]

Show quoted text 6 lines
On Tue, Jan 20, 2009 at 3:55 PM, Marco van de Voort wrote: > > 1. Did you contact the author? Licensewise it is already ok I think (MIT/BSD > license without advocacy clause), but it is the decent thing to do nonetheless. I have not, but I don't mind doing so.

Good. This mostly is important to create willingness to accept FPC related upstream patches.

Show quoted text 5 lines
> 2. Did you validate its working on 64-bit and big endian machines? That is a > requirement before we can even think about adding. I can test on a 64bit system, but not a big endian machine. Can anybody help with the latter?

Not me currently. Half of my computer room is packed up pending a new roof, including the mini.

Note another thing to check is if there are unit names in that archive that already exist.

Reply by email

Graeme Geldenhuys
to Marco van de Voort
Marco van de Voort wrote
Good. This mostly is important to create willingness to accept FPC related upstream patches.

OK, I'll contact the author tomorrow when I am back at work.

Not me currently. Half of my computer room is packed up pending a new roof, including the mini.

I know the feeling! :-) I lost my study / computer room which had to become the new nursery. Our newborn get priority. So all my hardware (the wife calls it junk) is now stashed in the garage. You wouldn't believe how much one can collect over the years! My winter project is to build a loft room which will become my study. I can't wait! :-)

Note another thing to check is if there are unit names in that archive that already exist.

All the DCPCrypt units and include files start with the prefix dcpXXXX and I haven't noticed any conflicts with FPC units yet. So that's a good sign. The only inconsistency in DCPCrypt is the file case. Some are upper- and some are lower case. But that's easy to fix.

Regards,
- Graeme -

_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

Reply by email