Re: AES Questions From Another Dummy.



Larry Lindstrom wrote:

I've downloaded gnupg for Windows. I'm not sure
exactly what to do with it yet, the user manual is
in German.

the installation and interface is in English,
and is reasonably intuitive

install it on a test system and play with it for a while,
and ask here,
or on the gnupg users list, comp.security.pgp.discuss, or
alt.security.pgp
for any questions that arise

I'm getting the impression that Gnupg is a
command line tool. I'm looking for an API that
allows individual fields to be encrypted in the
database.

gnupg is command line,
(gpg4win just adds front-end gui's that spare the user from direct
command line entry,

gpg4win is primarily for you to evaluate how easy it would be to
incorporate into your user interface for your users who have no crypto
experience,
(*all* of it is open-source GPL)

but for your database and encryption of various fields,
you will need to stay with the command line

Even I can see shortcomings to this method,
what happens if they accidentally have the shift
lock on when they entered the key? They can
enter a lot of information that will be lost
when they try to decrypt it with the correct
key.

this is where your simultaneous backup encryption to your key and the
administrator key
will allow for recovery,
no matter what mistakes the user makes

(caveat:
beware phishing attacks of "i forgot my passphrase" ;-) )

What I'm asking for may well
be imposable.

It would be nice if each user could encrypt
data, but allow other selected users to see the
data.

actually, very easy to do:

when you set up gnupg,
add the option of '--show-session-key'
this displays the session key used for the symmetric part of the
encryption

when the user decrypts his/her own file
and wants to allow selected users to also be able to decrypt it,

then you could have your interface display the session key,
which the user could then copy and give to other selected users

they in turn could paste it into a field in your interface,
(entitled 'session-key' or something less descriptive but more catchy
;-) )
and your system could be set to decrypt that particular file
by using the gnupg option
'--override-session-key'

this would have to be done separately for each file,
which has both good and bad points

good:
allows users selectivity of which files they allow even other 'trusted'
users to view

bad:
tedious work for a user with many files and many friends

(btw,
these options were developed as a defense for gnupg users,
who, if *ordered* by authorities to 'decrypt' a file
can just provide a 'session key'
instead of giving up their passphrases or keypairs)

It would be nice if a person who is represented
in the database could view and edit their own
record over the web. Either with a browser or
using an executable I write.

again,
can be done without too much difficulty,

but here you run into a formidable area
where it is very easy to 'overlook' something
with consequent internet capture of sensitive data

see JLC' s comments above

it is an area of considerable legal liability and exposure,
so,

consultation would be advisable

(disclaimer :

not me ;-)

am just a pgp/gnupg hacker
and have no pretensions of mastery of java or ssl ;-) )


vedaal

.



Relevant Pages

  • Re: Beginner Question:Gnupg Decryption
    ... I would need to specify both, the private keys passphrase and the key- ... id in order to decrypt ... In the binary file produced by a gnupg encryption, ...
    (sci.crypt)
  • Re: [SLE] Wireless ... again
    ... encryption key and open my wireless network up everything seems to work ... The whole story from booting to getting the network up ... >Although this was a useful way of starting the wireless interface it didn't ...
    (SuSE)
  • Re: [opensuse] What Does This Mean For Our Future?
    ... For many of todays young style is a sleek phone, ... and a 2D screen doing 2D data representations, ... I doubt this kind 3D interface will be in use ... Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org ...
    (SuSE)
  • COM Interface Security
    ... How easy or difficult is it to intercept data values passing between a ... As with all encryption, the secrecy of the key must be protected. ... Can information passing through a COM interface be ...
    (microsoft.public.vb.com)
  • COM Interface Security
    ... How easy or difficult is it to intercept data values passing between a ... As with all encryption, the secrecy of the key must be protected. ... Can information passing through a COM interface be ...
    (microsoft.public.vb.winapi)