Commit Graph

98 Commits

Author SHA1 Message Date
Phenom
d000d75a38 Fix Import and Export Cert file *.asc. 2016-07-31 21:03:45 +02:00
Phenom
3ebb8c6ce8 Fix GenCertDialog on Mac stay on.
Only call processEvent() if hasPendingEvents().
If no events are available, this function will wait until more are
available and return after processing newly available events.
2016-02-12 17:54:35 +01:00
Phenom
c1b88500e0 Fix GenCertDialog masking PGP Key password dialog at end.
Sometimes, at end, when creating new key, the dialog stay behind.
2015-12-28 13:45:58 +01:00
sehraf
8725aab180 gui fixes 2015-09-14 15:14:39 +02:00
thunder2
53daf911fb Changed string TOR to Tor.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8412 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-11 14:30:26 +00:00
thunder2
feaffedbb6 Fixed and updated english translation.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8324 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-31 11:19:20 +00:00
electron128
807b7378df improved GenCertDialog (patch from Henry)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8281 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-21 09:03:58 +00:00
electron128
3d3a163a75 show info about node creation after import of pgp key (patch from Henry)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8264 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-16 09:33:06 +00:00
csoler
487a52a669 fixed PGP/SSL key size combo box (patch from sehraf, modified)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8252 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-15 10:19:57 +00:00
electron128
c01680808f replace identity with profile in GernCertDialog (patch from Henry)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8246 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-14 13:18:58 +00:00
defnax
7a2c1347fe Fixed wrong placeholder text
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8156 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-21 21:21:31 +00:00
csoler
fce6b7edf3 changed default data rates (it is better to have some prople need to reduce it than everyone need to increase it). Added placeholder in gen cert dialog for TOR
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8145 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-19 18:35:36 +00:00
csoler
0199a4728c improved cert creation dialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8144 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-19 18:30:07 +00:00
csoler
e52976b3e6 fixed genCertDialog. Still needs to prevent text fields to stretch into super small lines (how can i do this??)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8132 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-04-13 22:07:55 +00:00
defnax
6b584e9ae9 Hide by default key length combobox, for advanced users get visible via advanced checkbox
Set stylesheet for a Info Label
Changed Window icon to higher resolution

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8096 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-29 13:41:29 +00:00
defnax
7ef30432f2 Not show to much technical detail on a info Label.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8095 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-03-28 20:34:16 +00:00
csoler
8cb3ae6d2e added code to generate 3072 and 4096 bit PGP keys at startup (Patch from Serhaf)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7841 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-12 22:02:43 +00:00
thunder2
530fcab61d Renamed "location" to "node" in gui (Patch from Henry)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7802 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-12-30 11:11:08 +00:00
csoler
b593a918a0 optim: changed postfixed ++ into prefix++ for non trivial operators, replaced test on std::list::size() by std::list::empty() (Patch from Phenom, modified)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7627 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-21 22:33:02 +00:00
defnax
2ae9f2d50d Add Patch from Phenom:
Fix return to GenCertDialog when RsAccounts::GenerateSSLCertificate failed (if you enter a false password).
Now, directly abort.
And order tab stop.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7389 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-29 15:09:49 +00:00
chrisparker126
0f29d28b1b merge of branch v0.6-idclean 7180
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7187 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-17 20:56:06 +00:00
defnax
307404fa0f improving the layout for the hidden checkbox
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7089 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-02-04 18:34:13 +00:00
drbob
c0738eec7f Merging branches/v0.6-initdev into trunk.
These split at 6672 -> 7075, so quite a bit merge.
libretroshare compiles - but untested.
retroshare-gui needs GenCertDialog.ui and IdEditDialog.ui to be properly merged. (compile errors).
some plugins will be broken.
retroshare-nogui is untested.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7078 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-02-01 14:16:15 +00:00
drbob
bbe3ee8d2f - Switched to new RsAccounts interface.
- Reworked ServerPage to support HiddenNode configuration.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@7028 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-18 02:35:06 +00:00
thunder2
6dbcc3e99b Code maintenance for Qt 5:
- Added new options to retroshare-gui.pro for Qt 5
- Added new file QtVersion.h with macros to compile with Qt 4 and Qt 5
  - QHeaderView::setResizeMode -> QHeaderView::setSectionResizeMode
  - QHeaderView::setMovable -> QHeaderView::setSectionsMovable

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6849 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-19 13:25:06 +00:00
csoler
e1d907bb95 fixed typo
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6827 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-13 15:31:34 +00:00
defnax
715984249c * Added a default stylesheet for the generate button
* hide/show the correct info labels at top.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6756 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-24 14:04:19 +00:00
csoler
cda8557b73 added entropy collection system based on mouse movement to location/identity creation, to make keys less predictable
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6753 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-23 20:55:34 +00:00
defnax
d076848f92 changed the default style layout of profile creation dialog.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6736 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-13 17:19:34 +00:00
drbob
1d6f99de0d mods to support hidden nodes, and hidden certificate sharing.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@6721 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-09 02:11:43 +00:00
csoler
9592baab3b removed email field from GenCertDialog, since it is not useful inside RS
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6478 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-07-04 20:22:09 +00:00
csoler
6e3a388f52 allow to unselect "create new identity" when the keyring is empty. This makes the Import Identity button appear
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6252 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-19 21:18:49 +00:00
thunder2
a3e3566304 Set email address in GenCertDialog to optional.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5939 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-12-04 11:42:34 +00:00
thunder2
d2b6efddb3 Added patch from Henry
Renamed gpg to pgp

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5926 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-12-02 00:25:11 +00:00
thunder2
a573211629 Added and modified patch from Henry
Modified the date format according to the chosen language (locale).

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5798 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-10 18:59:58 +00:00
thunder2
9b5ee85fd0 Removed context help button from the dialogs (currently not used) and added minimize/maximize buttons to the "floating" dialogs.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5786 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-06 23:26:47 +00:00
thunder2
afa3248429 Moved loadCertificate from main, StartDialog and GenCertDialog to Rshare.
Switched StartDialog from QMainWindow to QDialog.
Updated english translation file.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5752 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-01 01:07:36 +00:00
thunder2
e99b30d015 Redesigned GenCertDialog for the usage in Profile Manager.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5738 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-10-29 11:02:03 +00:00
defnax
886f84b929 patch from Henry Morgan to correct spelling mistakes in source
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5662 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-10-11 10:28:24 +00:00
thunder2
32f918c213 Moved some internal stylesheets to the file Standard.qss.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5495 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-09-01 11:40:54 +00:00
defnax
26109d88c4 * Hide the import/export button, and set the new identity CheckBox set checked, when start a new Profile generation from Profile Manager.
* Set PluginItem icon size to 24

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5423 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-15 09:34:24 +00:00
defnax
86aa6b8a62 Fixed, hide Import Identity button, when creating a new key.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5395 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-08 14:28:03 +00:00
csoler
702263686e - fixed a few bugs in cert creation window:
* private key was not correctly added to private keyring
   * self signature validation was reported unsuccessful when unknown signatures where found
- enabled key import when no key is present


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5389 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-07 19:16:17 +00:00
defnax
b52fc7708f removed not needed info buttons for the infodialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5313 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-18 14:08:53 +00:00
thunder2
15c032468a Enabled translation (system default language) of the message box before the login to a profile.
Fixed german translation.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5304 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-15 21:37:35 +00:00
csoler
fc8dfcf65b Merged branch v0.5-OpenPGP into trunk:
User-level changes:
==================
- libgpgme is not used anymore; it is replaced by a built-in piece of code called OpenPGP-SDK 
  (http://openpgp.nominet.org.uk/cgi-bin/trac.cgi) that was improved to be used by RetroShare
  for handling PGP keys.

- the gnupg keyring is not used anymore. Now, RetroShare has it's own gpg keyring, shared by all instances.
  On linux it's located in ~/.retroshare/pgp/. A lock system prevents multiple locations to read/write keyrings
  simultaneously.

- the trust database from gnupg is not documented, so RetroShare cannot import it. This comes from the fact that
  the GPG standard (RFC4880) asks explicitly not to export trust information. So RetroShare has it's own 
  trust DB shared by locations. This means you need to re-trust people. Sorry for that!

- at start, if no keyring is found, RS will propose to copy the gnupg keyring to use your existing keys. Clicking on 
  "OK" will do the copy, and you should find back all existing locations, except for DSA keys.

- locations for which the suitable keypair is not in the keyring will not be displayed in the login window
- locations for which the suitable keypair is not a RSA/RSA key will not be displayed. RetroShare does not
  support DSA/Elgamal keypairs yet.

- a key import/export exchange function has been added in the certificate creation window (you go there from the login
  window by clicking on "manage keys/locations". This allows to easily create a new location with the same pgp key on
  another computer. To obtain a suitable keypair using gnupg, you need to concatenate the encrypted private key and the 
  public key into an ascii file. This can be done using:
  		gpg -a --export-secret-keys [your ID] > mykey.asc
		gpg -a --export [your ID] >> mykey.asc

- importing a key with subkeys in not yet possible. Please remove subkeys before importing.

- The code has been tested for a reasonnable amount of time, but it's not possible to prevent some new bugs 
  to appear. Please report them asap supplying: call-stacks if possible, and terminal output. In particular,
  openpgp has some assert()'s that should not be triggered unless RetroShare is calling it in an improper way.

Internal changes
================
- a specific component, PGPHandler, takes care of the interface between openpgp-sdk and RetroShare
  openpgp-sdk is c-code, with it's own memory management, which has been kept well separated from 
  RetroShare.

- GPG Ids are now a specific class (not a std::string anymore) for code consistency reasons. As strings are
  still used in many places, this requires a few conversions. In particular, AuthGPG takes strings as
  function params and calls GPGHandler with the proper PGPIdType class. In the future, RetroShare should
  only use PGPIdType. The same will be done for SSL ids.

- signature cleaning is still handled by the Retroshare built-in function, not by openpgp, but we will 
  do this later.

Still to do
===========
- DSA needs subkey handling, since the encryption is performed by a Elgamal subkey. Not sure this will be done.
- GPGIds/SSLIds cleaning (meaning replace strings by appropriate types). Lots of confusion throughout the code in retroshare-gui in particular.
- key removal from keyring. This is a challenge to keep locations synchronised.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5293 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-13 21:53:39 +00:00
csoler
f5c276c9b5 improved error handling
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5289 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-12 19:20:31 +00:00
csoler
749dd01d77 implemented keypair import
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5287 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-11 16:17:49 +00:00
csoler
c9eb267165 implemented export of identity (to create additional locations easily). Import still to do...
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5285 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-07-10 21:40:53 +00:00
csoler
dc22171166 added placeholder texts (Qt>4.7)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5035 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-03-18 12:26:15 +00:00