OT: Which smartphone would you use
Matthias Apitz
guru at unixarea.de
Thu Sep 21 20:20:59 CEST 2017
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 at ubphone
Welcome to Ubuntu 15.04 (GNU/Linux 3.4.67 armv7l)
phablet at ubuntu-phablet-bq:~$
phablet at 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 at ubuntu-phablet-bq:~$
phablet at ubuntu-phablet-bq:~$ ./pass.sh web/bla
┌────────────────────────────────────────────────────────────────────────────────────┐
│ Please enter the passphrase to unlock the secret key for the OpenPGP certificate: │
│ "Matthias Apitz <guru at unixarea.de>" │
│ 2048-bit RSA key, ID 76254069, │
│ created 2017-09-20 (main key ID CBE83911). │
│ │
│ │
│ Passphrase _______________________________________________________________________ │
│ │
│ <OK> <Cancel> │
└────────────────────────────────────────────────────────────────────────────────────┘
abc123
Username: guru at unixarea.de
--
Matthias Apitz, ✉ guru at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: </pipermail/attachments/20170921/c7b3f0b9/attachment.sig>
More information about the Gnupg-users
mailing list