Programming :: Exchange Keys Between Two Party Using Diffie And Helman?

May 11, 2011

I am trying to exchange keys between two party using diffie and helman can some body give me simple code using java, C or openssl or site to do that

View 1 Replies


ADVERTISEMENT

Security :: SSH Config - What's To Stop The MIM From Making A Substitution Of Keys During The Initial Exchange

Oct 20, 2010

Ive been running ssh to log into server for long time. Recently a x-win app reported that it suspects a man in the middle attack (MiMA), so I want to tighten this up, but it seems to me if there is a MiM, then the initial key exchange is vulnerable to a substitution. This is on solaris, but since its a basic concept I'm ot getting, it shouldnt matter,

Here's the gist of what I read:

- create users key pair,
- enable host authentication (ssh_config file on client and sshd_config file on remote host)
- start an ssh session and accept the remote hosts key (and I assume the remote host will take client users key and store some where)

Questions:

1. What's to stop the MIM from making a substitution of keys during the initial exchange?? Shouldn't the keys be initially transfered in a more secure fashion??

2. Does the server just accept new keys from any existing user who want to create an ssh session? So if some one knows a username and password (such as the owner of an application they know is running) couldn't they just create their own keypair and have the server accept them?

View 5 Replies View Related

Programming :: Installing The Perl Third Party Package

Aug 12, 2010

am creating a perl third party package and using in my other program. If i install the package with standard 4 commands ie.,

1)perl Makefile.PL
2)make
3)make test
4)make install

package has not installed properly. If i try to copy the package to the threads generated by perl -V command, then am able to get install the package, but i want to install the package by the standard 4 commands. I am using 36 bits OS , perl version is v5.8.5 and OS am using is "Red Hat Enterprise Linux AS release 4 (Nahant Update 6)".

View 3 Replies View Related

Programming :: Python Bluetooth File Exchange

Feb 13, 2011

I've run into a little problem, for which I seem to be unable to find an answer. The concept is the following: one machine runs a python script which advertises itself as 'OBEX File Transfer' and receives incoming data, using the Lightblue python module. The script itself is slightly different, but here's an example which effectively works in the same way:

[Code]....

print "Saved received file to MyFile.txt!" This works fine, though I would like to retain the original filename that is being sent to the machine, instead of overwriting a fixed file. Generating a new name wouldn't be such a problem, if I could get the MIME type or filename which is (presumably) being sent in the header of the request. Does anyone know of a way in python to receive incoming files and retain their filenames via Bluetooth?

View 2 Replies View Related

Programming :: Cross-platform LAN File Exchange Program?

Sep 2, 2010

I recently faced a problem. At my college, I linked my laptop with my friend's laptop with an ad-hoc wifi network. I wanted to send him a file. I was running Ubuntu, and he was running XP. Unfortunately, I could not find an easy way to send him the file. Another problem I faced was when I wanted to transfer the contents of my hard disk to another computer. I had to install Filezilla server on the other computer, and upload the files from one computer to the other.

I feel that its a really cumbersome method of transferring files in the same network. Mobile phones have bluetooth, and a file can be sent to another mobile very easily without any fuss. Does anyone know whether any such program exists already? If not, I want to write such a program that will allow one user to add another user to a personal network, and send or recieve files and/or communicate in other ways. The only language I know is Python (self-taught). I was wondering what GUI framework to use. I've never written a GUI program before, and would like to hear your opinions. This will be a very basic program, and must be able to run on many platforms.

View 6 Replies View Related

Programming :: Add Local Sockets In Multi-threaded Application In Order To Exchange Data Between Threads?

Jul 24, 2010

I'm trying to add local sockets in my multi-threaded application in order to exchange data between threads. The only problem I got is that most of the information available on the net is related to internet oriented socket programming whileI want to perform local connections. got a thread that does the sniffing via libpcap. And I would like that thread to send each captured packet to a second thread that will analyse the packetof the thread implementations is written in separate .h file.Or maybe there is a more effective method of exchanging data between threads

View 14 Replies View Related

Programming :: Map Special Keys In Vim - E.g. Ctrl+< ?

Apr 25, 2011

How to map special keys in vim, e.g. ctrl+< , ctrl+> , shift+< . I want to resize the windows in vim, ctrl+w+< is complex, I want map it to double press ctrl+< , how can I achieve it ?

View 2 Replies View Related

Programming :: Control/Meta Keys - How Do They Work?

Mar 28, 2011

I would like in depth knowledge of how these keys work. If I were to want to use these keys for my own application how would I program them?

View 1 Replies View Related

Programming :: Iterating Through All Listed Keys In An IPC::Cache Object?

Jul 27, 2011

I need to find a way to iterate through all listed keys in an IPC::Cache object. There doesn't seem to be an example of this I can find.

View 1 Replies View Related

Programming :: Multimedia Keys On Laptop - Special Control

Jan 14, 2011

I would like to use my multimedia keys on the laptop.

As I have seen in kde, they are recognized already, very good.

But I would like to use the play-pause, ffd, rwd and stop button in a special way.

After pressing one of them , a programm or script is called, which does:

a) determine the entries ( in a list ) of assigned applications to be controlles by this mm-buttons. ( The list can be edited, I decide to add vlc, amarok, flash plugin for firefox )

b) determine, which of the applications are running actually.

c) determine, which of this applications has the focus ( means, which of them ( if all more running ) is "the active one".

d) issue its shell command, which corresponds to the keyhit ( play, pause, fwd, rwd, stop )

Now my question : Is it all possible via shell/and or x-script?

If not, i will have to code something, i suppose.

View 2 Replies View Related

Programming :: Python: Create Variables From Dictionary Keys?

Jan 31, 2011

I have a situation where i need to turn a dictionary entry into a variable. I think i'm close, but am getting a syntax error (quoted at bottom)...

Code:
## Parameters.py
def dictionary_function():
p = {}
p['param_1'] = 10

[Code].....

View 5 Replies View Related

Programming :: Database Design Using IDs As Opposed As Candidate Keys As Primary Key

Jul 27, 2011

Self learner developer since about 2 years, I'm trying to understand deeper how to design a database in the best and most efficient way possible.Reading about UML design, I've found this: Do not automatically add ID numbers(surrogate keys) or substitute keys to a table until you are sure that:

-There is at least one candidate key (before the surrogate is added),

-the table is a parent in at least one association, and

-there is no candidate key small enough for its values to be copied many times into the child table.

Until then, I've always did this (I mean using ID) to identify my rows.So my questions are:
1. Why should we avoid using ID to identify rows?

2. Candidate keys add some weight to our database, and this can huge if we have millions of records, so why should we use these over surrogate keys?

View 1 Replies View Related

Programming :: Sending RSA Public/private Keys Into Calling Function?

Sep 9, 2010

My calling application will accept only strings and interger. we are replacing RSA bsafe library to openssl. using RSA bsafe, we have generated the private and public key in BER format. Then convert the keys, BER format into ASCII format to send the calling function. (these everything done by using RSA supplied bsafe library) same way i have to right using openssl..i m now able convert the RSA public and private key into DER format

rsa = RSA_generate_key(1024, 3, NULL, NULL);
{
size_t size;

[code]....

View 1 Replies View Related

General :: F3 - F5 Keys Incorrectly Behaving As Audio Keys / Remap Them To Original Meaning?

Apr 17, 2010

I don't know if this is a configuration issue or a hardware issue, but I have a Kinesis Advantage USB keyboard and for some reason the F3-F5 keys aren't responding as they used to. They don't respond to anything and, when I tried using F5 on Emacs, it said <XF86AudioNext> is undefined, so I guess it's a weird mapping problem.

Any idea how I could remap them to the original meaning?

View 2 Replies View Related

Ubuntu :: Accessibility Equivalent For Sticky Keys And Mouse Keys?

Jun 27, 2011

Just wondering if Ubuntu has an Accessibility equivalent for sticky keys and mouse keys.

View 1 Replies View Related

General :: Re-mapping Non-standard Keys To Modifier Keys?

Apr 7, 2011

I'm running Debian (Squeeze) and I have a toshiba portege m700. It has five buttons on the front just under the screen, which are the only ones accessible when you flip the screen over into tablet mode. One of them is for rotating the screen, and another is for switching to external display. I want to remap the remaining three to control, alt and super so that I can use shortcuts with the stylusThe problem is, when I used showkey to find out the key codes, I found out that each button generates more than one key code:Button 1:

key 126 press >> super_r, although this is distinct from the actual super key (125)
key 7 press >> 6
key 7 release
key 126 release

View 4 Replies View Related

Red Hat :: Add 3rd Party Repositories To YUM?

Apr 21, 2009

I normally add RPMFORGE / DAG to my RHEL 5 machines however I have a server and I can't remember if I added the repository to the machine so I was wondering how someone can check on the server if I have added this in the past. I know that in Debian / Ubuntu, I am able to cat /etc/apt/source.list and see the repository listed.

View 1 Replies View Related

Red Hat :: How To Remove 3rd Party Packages

Apr 7, 2011

I installed a LAMP server using RHEL 5.5 but we needed a higher version of php than was available in RHEL Yum repositories. I think at the time I installed Dag Wieers and got a 3rd party package. My question is the following:

1. How do I remove the 3rd party packages?
2. How do I remove Dag Wieers from my Yum repo list?
3. Anything else I need to know to get all 3rd party packages off?

View 1 Replies View Related

Slackware :: Get Third Party Packages?

May 9, 2010

as the subject says, what is your source for non official packages for slackware?? slacky.eu, sbo, others??

View 14 Replies View Related

Fedora :: 15 - Install 3rd Party Repos ?

May 25, 2011

just installed Fedora 15 and was just wondering....

I want to install the 3rd party repos... I found these........

[url]
[url]

But for 15... would I install the rawhide one for rpmfusion? cause the other options are for older Fedora's.... or is there an updated rpmfusion etc for Fedora 15 that hasn't arrived yet? How does it work in this regards so I can have up to date 3rd party packages etc?

View 2 Replies View Related

Ubuntu :: 3rd Party Links Not Working?

Aug 7, 2010

Links from third party applications do not work any more. When I go to click on links from PDF,s or from Pino or KeePass nothing happens. I've tested different browsers Opera, Chrome, Midori etc same thing links just don't work from third party apps.

[URL]

View 3 Replies View Related

Ubuntu :: Third Party Icons On Launch Bar

May 3, 2011

I recently installed Windows Bookshelf through Wine and although the Bookshelf Icon appears in Applications, I cannot drag and drop it onto the new Unity Launch Bar in Ubuntu 11.04 (Natty Narwhal). Is there a way of adding Icon's of this nature to the Unity Launch Bar?

View 1 Replies View Related

Networking :: Setup OpenVPN To Use A Third Party CA?

Mar 31, 2010

I'm trying to setup OpenVPN to use a third party CA, and its unclear to me how to use the serial and index.txt files that are created when one uses the easy-rsa scripts to setup OpenVPN. If i'm using my own CA can I ignore those? Its also unclear to me how OpenVPN figures out the server.key passphrase. I'd also like to leverage the --tls-verify cmd directive but I am unsure of where to specify it.

What I would like to do is have --tls-verify call a perl script that then verifies that the CN of the certificate the client is passing in matches a cn in an LDAP group. I figure I can do the LDAP group lookup with some easy perl stuff, its unclear to me though if --tls-verify is going to pass in the RDN of the client cert.

View 2 Replies View Related

Slackware :: Keep 3rd Party Packages Updated?

Feb 27, 2011

I am using SBOpkg, but for the ~30 3rd party packages I have most of the slackbuilds are already out of date, and I don't expect they will be updated when security issues or whatever arise.

So is the only solution to subscribe to the individual mailing list for each piece of software, or is there a more automatic way?

View 5 Replies View Related

Fedora :: Mount Images Without Any Third Party Software?

Jan 4, 2011

I am using fedora 13 and i have an image file with the format of cue/bin. How can I mount these images without any third party softwares?

View 1 Replies View Related

General :: Windows - Third Party Boot Loader?

Aug 28, 2010

Can I separately install a third party boot loader which can boot both Windows and Linux (Ubuntu) . I want to use a boot loader other than the boot loaders which come with these operating systems. I am trying this out of curiosity.

View 4 Replies View Related

Ubuntu :: Bluetooth Gpsd - Rfcomm - 3rd Party App ?

Jul 6, 2010

System Details:

Code:

Things I have tried so far:Followed tutorials found here at [url] and [url] None of which worked.

Some output from what appears to be a valid connection:
I have run sdptool browse and found my device
I have used hcitool scan and found my device
I have done a cat of /dev/rfcomm0 and seen data streaming
I have seen a process id for gpsd as well as seen a listneing port for gpsd
I have been unable to get either gpsdrive / xgps / tangogps to see gpsd. All report it as not running.

View 3 Replies View Related

Ubuntu :: How To Resolve Third-party Ppa Packages Conflict

Aug 15, 2010

I need to install some packages, but it fails because I previously installed gnome-shell testing, and now have the ricotz ppa packages conflicting with the default packages. See error below.

Code:

libgtk2.0-dev:
Depends: libgtk2.0-0 (=2.20.1-0ubuntu2) but 2.20.1-0ubuntu3~10.04~ricotz2 is to be installed
Depends: libpango1.0-dev but it is not going to be installed
Depends: libatk1.0-dev but it is not going to be installed

How do I remove these packages and re-install the default ones, without risking damage to my system?

UPDATE: I have now tried to remove this packages using ppa-purge and the new ubuntu tweaks, but for the life of me I cannot get rid of them.

View 2 Replies View Related

Ubuntu Installation :: Disable Third-party Repos From The CLI?

Nov 5, 2010

I am looking to upgrade a box of mine using command line only. I am going from 10.04 to 10.10 and have changed all instances of lucid to maverick within the sources.list file but now I don't want to continue until I can be safe to upgrade by disabling the third-party repos. How can I disable these using the command line? Should I just move the sources.list.d folder? Any other ways I'm missing?

View 4 Replies View Related

Ubuntu Installation :: Automatically Add Third Party Ppas?

Jun 4, 2011

every time i install ubuntu i have to add official ppas of many softwares like transmission, libreoffice. vlc, deluge and many other softwares i use. is there any script or software that will allow me to create my own list and set up the ppas when i run it?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved