| Poster | Thread |
TheAMIgaOne
|  |
DiskImage.device and the Crypt plugin Posted on 21-Feb-2013 16:48:25
| | [ #1 ] |
|
|
 |
Cult Member  |
Joined: 10-Jan-2004 Posts: 776
From: United Kingdom | | |
|
| I so far have not been able to get the Crypt plugin to work. I can mange to use Mountdiskimage to load adf files, but whenever I attempt a disk load with the PLUGIN Crypt enabled it says cant find the image file. SSolis got any tips _________________ Cross-developer on Windows, OS3, OS4, Linux; Current Projects:- Nephele Cloud App OS4 UserProfile System OS4 AmigaOneXE OS4.1.6
TaoSoftwareBlog Youtube |
|
| Status: Offline |
|
|
salass00
|  |
Re: DiskImage.device and the Crypt plugin Posted on 22-Feb-2013 9:33:02
| | [ #2 ] |
|
|
 |
Elite Member  |
Joined: 31-Oct-2003 Posts: 2707
From: Finland | | |
|
| @TheAMIgaOne
What is failing for you is probably this:
if (!IAmiSSL->IsCipherAvailable(CIPHER_IDEA)) { error = ERROR_OBJECT_NOT_FOUND; goto error; }
The crypt.device that the Crypt plugin aims to be compatible with uses the IDEA encryption and the Crypt plugin in an effort to save memory and work uses the IDEA cipher already implemented in AmiSSL.
Unfortunately IDEA as well as some other ciphers are subject to patents/encryption laws in some countries and AmiSSL will enable or disable those ciphers according to what country you have configured in your locale settings. |
|
| Status: Offline |
|
|
TheAMIgaOne
|  |
Re: DiskImage.device and the Crypt plugin Posted on 22-Feb-2013 10:57:36
| | [ #3 ] |
|
|
 |
Cult Member  |
Joined: 10-Jan-2004 Posts: 776
From: United Kingdom | | |
|
| @salass00
Well Im set as the uk, and IDEA is patented for UK and usa etc. Surely if that would be the case the AmiSSL/Openssl would have to be released in regional files, thus changing the locale would be an illegal work around. _________________ Cross-developer on Windows, OS3, OS4, Linux; Current Projects:- Nephele Cloud App OS4 UserProfile System OS4 AmigaOneXE OS4.1.6
TaoSoftwareBlog Youtube |
|
| Status: Offline |
|
|
TheAMIgaOne
|  |
Re: DiskImage.device and the Crypt plugin Posted on 22-Feb-2013 11:39:24
| | [ #4 ] |
|
|
 |
Cult Member  |
Joined: 10-Jan-2004 Posts: 776
From: United Kingdom | | |
|
| @salass00
Checked Amissl in the SDK, and the IDEA Example App runs all tests fine.
AmisslMaster.library 3.7 amissl_v097g.library 3.7
libssl.so is linked to libssl.so.1.0.0 libcrypt.so is linked to libcrypt.so.1.0.0
So make sure im using the correct format in Mountdiskimage:
unit=0 is IDFO:
/// The following loads a normal disk as an adf Mountdiskimage unit=0 os414:envarc9.bin
/// attempting to use CRYPT both show same result mountdiskimage unit=0 os414:envarc9.bin PLUGIN crypt PASSWORD amiga mountdiskimage unit=0 os414:envarc9.bin p=crypt pwd=amiga
output is : os414:envarc9.bin: object not found
What else could cause a 'object not found' error
I have had crypt.device working in the past but is not suitable as it asks for the password.
Snoopy shows that its opening the file and the Amissl libraries, so it is finding the plugin
Last edited by TheAMIgaOne on 22-Feb-2013 at 11:55 AM.
_________________ Cross-developer on Windows, OS3, OS4, Linux; Current Projects:- Nephele Cloud App OS4 UserProfile System OS4 AmigaOneXE OS4.1.6
TaoSoftwareBlog Youtube |
|
| Status: Offline |
|
|
salass00
|  |
Re: DiskImage.device and the Crypt plugin Posted on 22-Feb-2013 15:32:50
| | [ #5 ] |
|
|
 |
Elite Member  |
Joined: 31-Oct-2003 Posts: 2707
From: Finland | | |
|
| @TheAMIgaOne
Quote:
Well Im set as the uk, and IDEA is patented for UK and usa etc. Surely if that would be the case the AmiSSL/Openssl would have to be released in regional files, thus changing the locale would be an illegal work around.
|
It doesn't change the fact that this is how it works. When I change locale country here to UK IsCipherAvailable() returns failure, when I change it back to Finland IsCipherAvailable() returns success again.
AmiSSL != OpenSSL. AmiSSL is OpenSSL implemented as an AmigaOS-style shared library. Many ported programs like OWB or TimberWolf don't use AmiSSL but instead use openssl static libraries or shared objects which are basically just straight re-compiles of OpenSSL. |
|
| Status: Offline |
|
|
TheAMIgaOne
|  |
Re: DiskImage.device and the Crypt plugin Posted on 22-Feb-2013 16:25:28
| | [ #6 ] |
|
|
 |
Cult Member  |
Joined: 10-Jan-2004 Posts: 776
From: United Kingdom | | |
|
| @salass00
Hmm, just changed locale to finland and worked straight away. Not a good situition to be that out of date
I just thought it would of been a logical update to Amissl to be binded to openssl since ported to OS4.
Btw Im guessing you are Fredrik. :)
Away, ive managed to install Vbcc and get the Diskimage_src to compile, so I may have to venture down editing the device by hand for a simple encrypted device for my project. _________________ Cross-developer on Windows, OS3, OS4, Linux; Current Projects:- Nephele Cloud App OS4 UserProfile System OS4 AmigaOneXE OS4.1.6
TaoSoftwareBlog Youtube |
|
| Status: Offline |
|
|
olegil
|  |
Re: DiskImage.device and the Crypt plugin Posted on 22-Feb-2013 16:41:58
| | [ #7 ] |
|
|
 |
Elite Member  |
Joined: 22-Aug-2003 Posts: 5900
From: Work | | |
|
| @TheAMIgaOne
What do you mean "out of date"? Surely this is a question of space (location: UK vs location: Finland) and politics (software patents) rather than time?
Also: You wrote "of" instead of "have", so you don't deserve any help in the first place. Last edited by olegil on 22-Feb-2013 at 04:42 PM.
_________________ This weeks pet peeve: Using "voltage" instead of "potential", which leads to inventing new words like "amperage" instead of "current" (I, measured in A) or possible "charge" (amperehours, Ah or Coulomb, C). Sometimes I don't even know what people mean. |
|
| Status: Offline |
|
|
TheAMIgaOne
|  |
Re: DiskImage.device and the Crypt plugin Posted on 22-Feb-2013 17:39:20
| | [ #8 ] |
|
|
 |
Cult Member  |
Joined: 10-Jan-2004 Posts: 776
From: United Kingdom | | |
|
| @olegil
Its 'out of date' due to the IDEA patent being granted to the UK and other locations back in 1991 and now since its now been over 20years, the patent has now expired. So the only time IDEA was not patented for the UK was 1990, thus making AmiSSL still 'out of date'.
And regarding my typo, who gives you the right to say whether a question is answered or not, I'm doing my bit for the community by developing software users require, thanks for your input, apart from blocking someone asking for help. Last edited by TheAMIgaOne on 22-Feb-2013 at 05:41 PM.
_________________ Cross-developer on Windows, OS3, OS4, Linux; Current Projects:- Nephele Cloud App OS4 UserProfile System OS4 AmigaOneXE OS4.1.6
TaoSoftwareBlog Youtube |
|
| Status: Offline |
|
|