[shotwell] oauth: Use real time for nonce



commit 9244f58f9c2ed037c11f60c4b9dd0657726e4084
Author: Jens Georg <mail jensge org>
Date:   Sun Feb 2 15:44:04 2020 +0100

    oauth: Use real time for nonce
    
    Not the monotonic time

 plugins/common/OAuth1Support.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plugins/common/OAuth1Support.vala b/plugins/common/OAuth1Support.vala
index c9a4f42f..2a79a6c7 100644
--- a/plugins/common/OAuth1Support.vala
+++ b/plugins/common/OAuth1Support.vala
@@ -112,7 +112,7 @@ namespace Publishing.RESTSupport.OAuth1 {
 
         public string get_oauth_nonce() {
             return Checksum.compute_for_string(ChecksumType.MD5,
-                                               GLib.get_monotonic_time().to_string());
+                                               GLib.get_real_time().to_string());
         }
 
         public string get_oauth_timestamp() {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]