Author Topic: Request Bestcrypt  (Read 30601 times)

SNi

  • Full Member
  • ***
  • Posts: 105
    • View Profile
    • http://www.sibelle.info
Request Bestcrypt
« on: April 07, 2006, 06:49:36 am »
Could some compile Bestcrypt for Sharp stock ROM?? http://www.jetico.com/linux/
TIA,
SNI

SL-C3000, 4GB CF, 4GB SD

sidmoraes

  • Full Member
  • ***
  • Posts: 116
    • View Profile
    • http://
Request Bestcrypt
« Reply #1 on: April 07, 2006, 02:27:47 pm »
Quote
Could some compile Bestcrypt for Sharp stock ROM?? http://www.jetico.com/linux/
TIA,
SNI

SL-C3000, 4GB CF, 4GB SD
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122203\"][{POST_SNAPBACK}][/a][/div]


I beleive this is what you need...

Give to us a feedback.

New Package. Now, I made a test..  

# bctool new -a idea -s 1M -d Teste /mnt/card/test.bcript
Enter password:
Verify password:

Please do not forget to format the container
# uname -a
Linux zaurus 2.4.20 #20 Mon, 31 Oct 2005 08:54:08 +0300 armv5tel unknown
#
« Last Edit: April 15, 2006, 09:50:09 pm by sidmoraes »
SL-C1000 ( Cacko-Rom 1.23 ) + SL-C3100 ( Cacko-Rom 1.23 )
2Gb SD, usb host cable made by myself, CF modem Xircom,
CF wifi Zonet, Hawking CF 10/100 ethernet,
 USB net, USB CD-Writer Sony CRX10U, CF to PCMCIA adapter,
PCMCIA 2G disk Toshiba, USB charger self-made,
USB BLuetooth,
RH2 ( Wired control for Z ) made by myself,
Serial cable, also made ...

SNi

  • Full Member
  • ***
  • Posts: 105
    • View Profile
    • http://www.sibelle.info
Request Bestcrypt
« Reply #2 on: April 08, 2006, 12:06:31 pm »
Quote
I beleive this is what you need...

Give to us a feedback.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122256\"][{POST_SNAPBACK}][/a][/div]

Thanx... I'm probably doing something wrong... When I tried to mount a container (created on desktop) I got "Kernel modules not loaded". OK, so I did modprobe bc_twofish  (since that was the algorithm used to create the container). lsmod shows bc & bc_twofish loaded. However when trying to mount the container I still get "Kernel modules not loaded" What am I missing?
TIA,
SNi
P.S. Trying to mount using command  bctool mount -t vfat /mnt/cf/test.jbc /mnt/secrets          I also used modprobe to load all the modules, same result

sidmoraes

  • Full Member
  • ***
  • Posts: 116
    • View Profile
    • http://
Request Bestcrypt
« Reply #3 on: April 08, 2006, 05:37:07 pm »
Quote
Quote
I beleive this is what you need...

Give to us a feedback.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122256\"][{POST_SNAPBACK}][/a][/div]

Thanx... I'm probably doing something wrong... When I tried to mount a container (created on desktop) I got "Kernel modules not loaded". OK, so I did modprobe bc_twofish  (since that was the algorithm used to create the container). lsmod shows bc & bc_twofish loaded. However when trying to mount the container I still get "Kernel modules not loaded" What am I missing?
TIA,
SNi
P.S. Trying to mount using command  bctool mount -t vfat /mnt/cf/test.jbc /mnt/secrets          I also used modprobe to load all the modules, same result
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122329\"][{POST_SNAPBACK}][/a][/div]

Did you make a "depmod -a" ???

I will make some tests.
SL-C1000 ( Cacko-Rom 1.23 ) + SL-C3100 ( Cacko-Rom 1.23 )
2Gb SD, usb host cable made by myself, CF modem Xircom,
CF wifi Zonet, Hawking CF 10/100 ethernet,
 USB net, USB CD-Writer Sony CRX10U, CF to PCMCIA adapter,
PCMCIA 2G disk Toshiba, USB charger self-made,
USB BLuetooth,
RH2 ( Wired control for Z ) made by myself,
Serial cable, also made ...

SNi

  • Full Member
  • ***
  • Posts: 105
    • View Profile
    • http://www.sibelle.info
Request Bestcrypt
« Reply #4 on: April 10, 2006, 07:42:06 pm »
Quote
Did you make a "depmod -a" ???

I will make some tests.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122345\"][{POST_SNAPBACK}][/a][/div]

Yes, same result...
SNi

w14

  • Full Member
  • ***
  • Posts: 180
    • View Profile
    • http://
Request Bestcrypt
« Reply #5 on: April 11, 2006, 03:47:02 am »
There should be an init script which loads the modules at startup, and makes sure that the bestcrypt volumes are dismounted cleanly at shutdown. Have a look in /etc/rc.d/init.d for a file called bcrypt. 'bcrypt start' should load the modules you need.

Mike.
sl-c3100
pdaxrom 1.1.0 beta1

SNi

  • Full Member
  • ***
  • Posts: 105
    • View Profile
    • http://www.sibelle.info
Request Bestcrypt
« Reply #6 on: April 11, 2006, 06:49:11 pm »
Quote
There should be an init script which loads the modules at startup, and makes sure that the bestcrypt volumes are dismounted cleanly at shutdown. Have a look in /etc/rc.d/init.d for a file called bcrypt. 'bcrypt start' should load the modules you need.
Mike.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122603\"][{POST_SNAPBACK}][/a][/div]

Found it... When I run this I get
37: Syntax error: Bad for loop variable...

SNi

SNi

  • Full Member
  • ***
  • Posts: 105
    • View Profile
    • http://www.sibelle.info
Request Bestcrypt
« Reply #7 on: April 15, 2006, 03:41:34 pm »
Quote
Quote
There should be an init script which loads the modules at startup, and makes sure that the bestcrypt volumes are dismounted cleanly at shutdown. Have a look in /etc/rc.d/init.d for a file called bcrypt. 'bcrypt start' should load the modules you need.
Mike.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122603\"][{POST_SNAPBACK}][/a][/div]

Found it... When I run this I get
37: Syntax error: Bad for loop variable...
SNi
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122739\"][{POST_SNAPBACK}][/a][/div]
OK. I used the bcrypt file from the pdaXrom unstable feed in place of the one sidmoraes packaged, keeping all other files from sidmoraes' package. Now when I do "./bcrypt start"  it runs and I get:

Initializing Bestcrypt
Using /lib/modules/2.4.20/block/bc.o
Using /lib/modules/2.4.20/block/bc_blowfish.o
...
...
and it loads all the .o's    This can be verified by lsmod. However when I try to do anything (e.g. create a new container via "./bctool new -a idea -s 1M -d test" or mount an existing container "./bctool mount -t vfat -m twofish cryp_file /mnt/sec") I get the error:

/home/QtPalmtop/lib/libkgsha.so: undefined symbol: _divsi3
Can not Load Key Generators

Looks like an issue with the libkgsha.so and/or libkgsha256.so files... Any ideas?? I can unload all the modules OK via "./bcrypt stop", resulting "unmounting encrypted filesystems" and all the modules being unloaded...
TIA for any and all help,
SNi
P.S. No .so files in the pdaXrom version..

sidmoraes

  • Full Member
  • ***
  • Posts: 116
    • View Profile
    • http://
Request Bestcrypt
« Reply #8 on: April 15, 2006, 09:51:19 pm »
Can you test again?

New package in first post.
SL-C1000 ( Cacko-Rom 1.23 ) + SL-C3100 ( Cacko-Rom 1.23 )
2Gb SD, usb host cable made by myself, CF modem Xircom,
CF wifi Zonet, Hawking CF 10/100 ethernet,
 USB net, USB CD-Writer Sony CRX10U, CF to PCMCIA adapter,
PCMCIA 2G disk Toshiba, USB charger self-made,
USB BLuetooth,
RH2 ( Wired control for Z ) made by myself,
Serial cable, also made ...

SNi

  • Full Member
  • ***
  • Posts: 105
    • View Profile
    • http://www.sibelle.info
Request Bestcrypt
« Reply #9 on: April 16, 2006, 12:08:00 am »
Quote
Can you test again?

New package in first post.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123360\"][{POST_SNAPBACK}][/a][/div]
Sidmoraes,
Thanx for your continued help.. I downloaded your update. First bcrypt loads the modules OK, then when I tried to create a new container I got a message re missing libstdc++-libc6.2-2.so.3 file. I searched, found and put into /usr/lib (symlink to libstdc++3-libc6-2.2.2.10.0.so). Again tried to create new container, and got message:

/lib/libc.so.6: version 'GLIBC_2.3' not found (required by /usr/lib/libstdc++-libc6.2.2.so.3)

I can symlink libc.so.6 to libc-2.3.6.so in /usr/lib but it seems looks to /lib where libc.so.6 is symlinked to libc-2.2.2.so and not to /usr/lib... and I can't change in /lib... You seem to have it working, any ideas?
Thanx again,
SNi

sidmoraes

  • Full Member
  • ***
  • Posts: 116
    • View Profile
    • http://
Request Bestcrypt
« Reply #10 on: April 16, 2006, 12:46:17 am »
Quote
Quote
Can you test again?

New package in first post.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
Sidmoraes,
Thanx for your continued help.. I downloaded your update. First bcrypt loads the modules OK, then when I tried to create a new container I got a message re missing libstdc++-libc6.2-2.so.3 file. I searched, found and put into /usr/lib (symlink to libstdc++3-libc6-2.2.2.10.0.so). Again tried to create new container, and got message:

/lib/libc.so.6: version 'GLIBC_2.3' not found (required by /usr/lib/libstdc++-libc6.2.2.so.3)

I can symlink libc.so.6 to libc-2.3.6.so in /usr/lib but it seems looks to /lib where libc.so.6 is symlinked to libc-2.2.2.so and not to /usr/lib... and I can't change in /lib... You seem to have it working, any ideas?
Thanx again,
SNi
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123369\"][{POST_SNAPBACK}][/a][/div]

Try this ipk: [a href=\"http://www.zaurususergroup.org/feed/libstdc++2.10-glibc2.2_1-2.95.4-16_arm.ipk]http://www.zaurususergroup.org/feed/libstd...95.4-16_arm.ipk[/url]
SL-C1000 ( Cacko-Rom 1.23 ) + SL-C3100 ( Cacko-Rom 1.23 )
2Gb SD, usb host cable made by myself, CF modem Xircom,
CF wifi Zonet, Hawking CF 10/100 ethernet,
 USB net, USB CD-Writer Sony CRX10U, CF to PCMCIA adapter,
PCMCIA 2G disk Toshiba, USB charger self-made,
USB BLuetooth,
RH2 ( Wired control for Z ) made by myself,
Serial cable, also made ...

SNi

  • Full Member
  • ***
  • Posts: 105
    • View Profile
    • http://www.sibelle.info
Request Bestcrypt
« Reply #11 on: April 16, 2006, 11:37:22 am »
Quote
Try this ipk: http://www.zaurususergroup.org/feed/libstd...95.4-16_arm.ipk
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123371\"][{POST_SNAPBACK}][/a][/div]

OK, I removed the files that I had added and then installed this ipk instead. Can load all modules then I'm back to this error message when I try to mount an existing container, create a new, or get info on an existing..

/usr/lib/libkgsha.so: undefined symbol: _divsi3
Can not Load Key Generators


SNi

sidmoraes

  • Full Member
  • ***
  • Posts: 116
    • View Profile
    • http://
Request Bestcrypt
« Reply #12 on: April 16, 2006, 02:07:14 pm »
Quote
Quote
Try this ipk: http://www.zaurususergroup.org/feed/libstd...95.4-16_arm.ipk
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123371\"][{POST_SNAPBACK}][/a][/div]

OK, I removed the files that I had added and then installed this ipk instead. Can load all modules then I'm back to this error message when I try to mount an existing container, create a new, or get info on an existing..

/usr/lib/libkgsha.so: undefined symbol: _divsi3
Can not Load Key Generators


SNi
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123412\"][{POST_SNAPBACK}][/a][/div]

Did you get my new package? I tested in my C1K. Give to me the output of this command:
ldd /usr/lib/libkgsha.so
SL-C1000 ( Cacko-Rom 1.23 ) + SL-C3100 ( Cacko-Rom 1.23 )
2Gb SD, usb host cable made by myself, CF modem Xircom,
CF wifi Zonet, Hawking CF 10/100 ethernet,
 USB net, USB CD-Writer Sony CRX10U, CF to PCMCIA adapter,
PCMCIA 2G disk Toshiba, USB charger self-made,
USB BLuetooth,
RH2 ( Wired control for Z ) made by myself,
Serial cable, also made ...

SNi

  • Full Member
  • ***
  • Posts: 105
    • View Profile
    • http://www.sibelle.info
Request Bestcrypt
« Reply #13 on: April 16, 2006, 05:20:47 pm »
Quote
Did you get my new package? I tested in my C1K. Give to me the output of this command:
ldd /usr/lib/libkgsha.so
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123426\"][{POST_SNAPBACK}][/a][/div]

Yes, I am using your second version... Had to download and add ldd since wasn't on my Z. Output is below:

libfloat.so.1 => /home/QtPalmtop/lib/libfloat.so.1 (0x40017000)
libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3 (0x40036000)
libc.so.6 => /lib/libc.so.6 (0x4007f000)
libm.so.6 => /lib/libm.so.6 (0x4019b000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2aaaa000)

SNi

SNi

  • Full Member
  • ***
  • Posts: 105
    • View Profile
    • http://www.sibelle.info
Request Bestcrypt
« Reply #14 on: April 16, 2006, 05:24:54 pm »
Quote
Did you get my new package? I tested in my C1K. Give to me the output of this command:
ldd /usr/lib/libkgsha.so
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123426\"][{POST_SNAPBACK}][/a][/div]

Looks like other folks have downloaded sidmoraes' package as well...  Anyone else having either any success or any issues? Sidmoraes apparently has it working on his C1000 w/ Cacko, I'm having issues with a C3000 & stock ROM...

SNi