Re: [Evolution] Feature request - Put Evoluton into system tray
On 14 March 2011 13:46, Adam Tauno Williams wrote: > On Mon, 2011-03-14 at 14:42 +0100, Jo-Erlend Schinstad wrote: [snip] >> This is one thing I really like about recent versions of Ubuntu. >> By separating "tray icons" and notifications, both become more useful. >> The idea of a system tray that is used both for notifications and >> "micromizing" applications, is horrible. > > Ubuntu??? Straight-up GNOME makes this distinction perfectly clear. Ubuntu has something called Application Indicators, which are separated from the notification area. Applications like Transmission, Rhythmbox and IM are controllable from those appindicators and can be hidden and removed from the taskbar. I like how that's implemented and think it might be suitable for Evolution. As far as I'm aware, upstream GNOME doesn't have anything similar. Jo-Erlend Schinstad ___ evolution-list mailing list evolution-list@gnome.org To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-list
Re: [Evolution] Feature request - Put Evoluton into system tray
On Wed, 2011-03-16 at 11:30 +0100, Jo-Erlend Schinstad wrote: > On 14 March 2011 13:46, Adam Tauno Williams wrote: > > On Mon, 2011-03-14 at 14:42 +0100, Jo-Erlend Schinstad wrote: > [snip] > >> This is one thing I really like about recent versions of Ubuntu. > >> By separating "tray icons" and notifications, both become more useful. > >> The idea of a system tray that is used both for notifications and > >> "micromizing" applications, is horrible. > > > > Ubuntu??? Straight-up GNOME makes this distinction perfectly clear. > > Ubuntu has something called Application Indicators, which are > separated from the notification area. Applications like Transmission, > Rhythmbox and IM are controllable from those appindicators and can be > hidden and removed from the taskbar. I like how that's implemented and > think it might be suitable for Evolution. As far as I'm aware, > upstream GNOME doesn't have anything similar. > Having been trying gnome-shell, I think there are going to be more applications that try and lodge themselves somewhere on the desktop once gnome3 is released - despite what the developers say, it is a pain having to go to the "Activities" menu to do everything. P. ___ evolution-list mailing list evolution-list@gnome.org To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-list
Re: [Evolution] PKCS11 in evolution
I think I just found the solution. (I'm in Denmark using the previously mentioned government issued certificate). Using : A fresh Xubuntu 11.04-alpha3 in virtualbox running Evolution 2.32.2 Mozilla's NSS reference for certutil at https://developer.mozilla.org/en/NSS_reference/NSS_tools_%3A_certutil suggest under argument -d that there are two types of security databases - a legacy one and a SQLite. To indicate database type one must put the prefix sql: to the directory path. Having this in mind i tried the same command as Kare, which I have also used on Evolution 2.26 but with the database prefix indication. Since I'm using a Evolution above version 2.30 I use ~/.pki/nnsdb (maybe old entries needs to be removed) modutil -add "NemID" -libfile /path/to/libNemID_PKCS11.so.1.0.0 -dbdir sql:~/.pki/nssdb This give me the option to select "NemID" as s/mime signing and encryption certificate. I have not been able to test otherwise than send, sign and encrypt and e-mail to myself, but contrary to my previous test the seems to work just find. Upon send the e-mail the small java applet appears where I can authorize myself - the same when opening the received e-mail. /Niels Rune Brandt -- View this message in context: http://gnome-evolution-general.1774414.n4.nabble.com/PKCS11-in-evolution-tp3020319p3382947.html Sent from the Gnome Evolution - General mailing list archive at Nabble.com. ___ evolution-list mailing list evolution-list@gnome.org To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-list
Re: [Evolution] Evolution and NTLM v2
On Tue, 2011-02-22 at 07:31 +, Milan Juricek wrote: > i`d like to ask you... Does Evolution support NTLM v2? Or when will > this feature be implemented in the GAL authentication? > Now we are using Evo + Exchange plug-in (Exchange 2k3) and only GAL+ > NTLM v1 works. But this concept is not accepted by > security department. Can you test this? Note the FIXME about the domain (the problem has always been there; only the comment drawing attention to it is new). diff --git a/camel/camel-sasl-ntlm.c b/camel/camel-sasl-ntlm.c index e35e758..0d9a837 100644 --- a/camel/camel-sasl-ntlm.c +++ b/camel/camel-sasl-ntlm.c @@ -49,9 +49,10 @@ CamelServiceAuthType camel_sasl_ntlm_authtype = { G_DEFINE_TYPE (CamelSaslNTLM, camel_sasl_ntlm, CAMEL_TYPE_SASL) -#define NTLM_REQUEST "NTLMSSP\x00\x01\x00\x00\x00\x06\x82\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x30\x00\x00\x00\x00\x00\x00\x00\x30\x00\x00\x00" +#define NTLM_REQUEST "NTLMSSP\x00\x01\x00\x00\x00\x06\x82\x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x30\x00\x00\x00\x00\x00\x00\x00\x30\x00\x00\x00" #define NTLM_CHALLENGE_DOMAIN_OFFSET 12 +#define NTLM_CHALLENGE_FLAGS_OFFSET20 #define NTLM_CHALLENGE_NONCE_OFFSET24 #define NTLM_RESPONSE_HEADER "NTLMSSP\x00\x03\x00\x00\x00" @@ -675,12 +676,48 @@ sasl_ntlm_challenge (CamelSasl *sasl, if (!token || token->len < NTLM_CHALLENGE_NONCE_OFFSET + 8) goto fail; - memcpy (nonce, token->data + NTLM_CHALLENGE_NONCE_OFFSET, 8); - ntlm_lanmanager_hash (service->url->passwd, (gchar *) hash); - ntlm_calc_response (hash, nonce, lm_resp); - ntlm_nt_hash (service->url->passwd, (gchar *) hash); - ntlm_calc_response (hash, nonce, nt_resp); + /* 0x0008: Negotiate NTLM2 Key */ + if (token->data[NTLM_CHALLENGE_FLAGS_OFFSET + 2] & 8) { + /* NTLM2 session response */ + struct { + guint32 srv[2]; + guint32 clnt[2]; + } sess_nonce; + GChecksum *md5; + guint8 digest[16]; + gsize digest_len = sizeof(digest); + + sess_nonce.clnt[0] = g_random_int(); + sess_nonce.clnt[1] = g_random_int(); + + /* LM response is 8-byte client nonce, NUL-padded to 24 */ + memcpy(lm_resp, sess_nonce.clnt, 8); + memset(lm_resp + 8, 0, 16); + + /* Session nonce is client nonce + server nonce */ + memcpy (sess_nonce.srv, + token->data + NTLM_CHALLENGE_NONCE_OFFSET, 8); + + /* Take MD5 of session nonce */ + md5 = g_checksum_new (G_CHECKSUM_MD5); + g_checksum_update (md5, (void *)&sess_nonce, 16); + g_checksum_get_digest (md5, (void *)&digest, &digest_len); + g_checksum_get_digest (md5, digest, &digest_len); + + g_checksum_free (md5); + ntlm_nt_hash (service->url->passwd, (gchar *) hash); + + ntlm_calc_response (hash, digest, nt_resp); + } else { + /* NTLM1 */ + memcpy (nonce, token->data + NTLM_CHALLENGE_NONCE_OFFSET, 8); + ntlm_lanmanager_hash (service->url->passwd, (gchar *) hash); + ntlm_calc_response (hash, nonce, lm_resp); + ntlm_nt_hash (service->url->passwd, (gchar *) hash); + ntlm_calc_response (hash, nonce, nt_resp); + } + /* FIXME: The server domain doesn't always match the user's domain */ domain = ntlm_get_string (token, NTLM_CHALLENGE_DOMAIN_OFFSET); if (domain == NULL) goto fail; @@ -692,6 +729,9 @@ sasl_ntlm_challenge (CamelSasl *sasl, sizeof (NTLM_RESPONSE_HEADER) - 1); memcpy (ret->data + NTLM_RESPONSE_FLAGS_OFFSET, NTLM_RESPONSE_FLAGS, sizeof (NTLM_RESPONSE_FLAGS) - 1); + /* Mask in the NTLM2SESSION flag */ + ret->data[NTLM_RESPONSE_FLAGS_OFFSET + 2] |= + token->data[NTLM_CHALLENGE_FLAGS_OFFSET + 2] & 8; ntlm_set_string (ret, NTLM_RESPONSE_DOMAIN_OFFSET, domain->str, domain->len); -- David WoodhouseOpen Source Technology Centre david.woodho...@intel.com Intel Corporation ___ evolution-list mailing list evolution-list@gnome.org To change your list options or unsubscribe, visit ... http://mail.gnome.org/mailman/listinfo/evolution-list