Sure, Abhiram, the problem is very simple. You have to start the
Trousers TCS Daemon, tcsd. It is usually in /usr/local/bin and must be
run as root (actually you can set it up to run as a less privileged
account but for testing this is easiest). Run it with the -f flag at
first so it stays in the foreground and you can see any error messages
it produces. So go into a separate window and run:

sudo /usr/local/bin/tcsd -f

This usually prints a couple of error messages that don't mean
anything, but hopefully it will start up and run. Then you can do
tpm_version and other programs from tpm-tools. You don't have to run
them with sudo, they should be run as normal users, just ./tpm_version
and such. Let us know if you still have problems -

Hal Finney

On Fri, Oct 16, 2009 at 11:32 PM, Abhiram Kasina
<[email protected]> wrote:
> Hi Hal
>
> Thank you so much for the advice. I am looking into it. Currently, as I dont
> have a TPM chip on my motherboard, I am trying to use TPM emulator[1]. I
> followed the instructions and installed it. I also have installed trousers.
> But when I do a "sudo tpm_version", I get
>
>> Tspi_Context_Connect failed: 0x00003011 - layer=tsp, code=0011 (17),
>> Communication failure
>
> Do you have any idea, where the problem is? Am I doing something wrong with
> Trousers or did I setup the emulator wrongly?
>
> Thanks
> Abhiram
>
> [1]http://tpm-emulator.berlios.de/
>
> On Fri, Oct 16, 2009 at 9:52 PM, Hal Finney <[email protected]> wrote:
>>
>> Hi Abhiram - Frankly my advice is that Trousers and the TPM is
>> probably not a good fit for your project due to the great complexity
>> of the technology. The specifications are many hundreds of pages long.
>> Also, the Trousers implementation is pretty close to complete.
>>
>> One thing you might think about is whether there is anything that
>> could be done in Python to facilitate using the TPM from that
>> language. You could look at the Trusted Java project at
>> http://trustedjava.sourceforge.net/ and see if something similar could
>> be useful in Python. I am not too familiar with this project so I
>> can't be more specific, but it might be somethng to consider. Good
>> luck with whatever you choose.
>>
>> Hal Finney
>>
>> On Thu, Oct 15, 2009 at 9:34 PM, Abhiram Kasina
>> <[email protected]> wrote:
>> > Hi
>> >
>> > I have been studying about Trusted Computing and trying to understand it
>> > better for the past few days. I am actually searching for my a good
>> > graduation project in this field and I think "Trousers" is a good
>> > project to
>> > start on with.
>> >
>> > I am good in C/C++, Java and python. I have never done kernel
>> > programming,
>> > but I have just started learning. I would also love the opportunity to
>> > learn
>> > any new technology. It would be great, if you could please suggest any
>> > issues on which I could start working for my project.
>> >
>> > I am also currently working on Umit, an open source UI for nmap.  That
>> > was
>> > my initiation into open source development. I had learnt a lot of stuff
>> > by
>> > coding for that project.
>> >
>> >
>> > Thanks
>> > Abhiram Kasina
>
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
TrouSerS-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/trousers-tech

Reply via email to