[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnupg-users
Subject:    Re: OT: Which smartphone would you use
From:       Matthias Apitz <guru () unixarea ! de>
Date:       2017-09-21 18:20:59
Message-ID: 20170921182059.GA2636 () c720-r314251
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


El día jueves, septiembre 21, 2017 a las 06:54:43p. m. +0200, Thomas Hejze \
escribió:

> Hi Dotan,
> 
> 
> Am Montag, 18. September 2017, 19:55:49 CEST schrieb Dotan Cohen:
> > The answer pretty much depends on what smartphone features you are
> > looking for. Do you need to run a web browser? Email integration?
> 
> 
> well first of all I would like to make phone calls.
> 
> I use kdepim for contacts, calendar and email, so kdepim should run on it or 
> at least be syncable.
> 
> And gnupg should run on it. And yes, a secure browser, too.

I have ported gpg2 and the password storage manger 'pass' to my Ubuntu
phone BQ E4.5. I'm still working on the pcscd daemon to get the
GnuPG-card working in the phone. The tricky part is that you normally can
not install or compile additional software in the root file system of
the device (because it's mounted for good reasons read-only). You must
setup an additional complete system and chroot to it. If you later want
to run such compiled/installed software from outside the chroot, you
must set LD_IBRARY_PATH (...) so the software can find its stuff, for
example in a small shell wrapper script:

cat gpg2.sh
#!/bin/sh

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/phablet/myRoot/usr/lib/arm-linux-gnueabihf
export LD_LIBRARY_PATH
/home/phablet/myRoot/usr/bin/gpg-agent --homedir /home/phablet/.gnupg \
           --use-standard-socket --daemon \
           --pinentry-program /home/phablet/myRoot/usr/bin/pinentry-curses
/home/phablet/myRoot/usr/bin/gpg-connect-agent /bye
PATH=$PATH:myRoot/usr/bin export PATH
/home/phablet/myRoot/usr/bin/gpg2 $*

This way I have gpg2 and pass working. I can SSH into the phone (or do
the same on the terminal-app) and run: 

$ ssh phablet@ubphone
Welcome to Ubuntu 15.04 (GNU/Linux 3.4.67 armv7l)

phablet@ubuntu-phablet-bq:~$

phablet@ubuntu-phablet-bq:~$ ls -l .password-store/web/bla.gpg
-rw------- 1 phablet phablet 356 Sep 20 12:58 .password-store/web/bla.gpg
phablet@ubuntu-phablet-bq:~$

phablet@ubuntu-phablet-bq:~$ ./pass.sh web/bla

       ┌───────────────────────── \
──────────────────────────── \
──────────────────────────────┐
                
       │ Please enter the passphrase to unlock the secret key for the OpenPGP \
                certificate:  │
       │ "Matthias Apitz <guru@unixarea.de>"                                        \
                │
       │ 2048-bit RSA key, ID 76254069,                                             \
                │
       │ created 2017-09-20 (main key ID CBE83911).                                 \
                │
       │                                                                            \
                │
       │                                                                            \
                │
       │ Passphrase \
                _______________________________________________________________________ \
                │
       │                                                                            \
                │
       │            <OK>                                                  <Cancel>  \
│  └────────────────────────── \
──────────────────────────── \
─────────────────────────────┘


abc123
Username: guru@unixarea.de


-- 
Matthias Apitz, ✉ guru@unixarea.de, ⌂ http://www.unixarea.de/  ☎ \
+49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub
8. Mai 1945: Wer nicht feiert hat den Krieg verloren.
8 de mayo de 1945: Quien no festeja perdió la Guerra.
May 8, 1945: Who does not celebrate lost the War.


["signature.asc" (application/pgp-signature)]

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic