Fossil SCM

Make the "clearsign" PGP signing default to off.

drh 2010-02-23 15:33 trunk
Commit 28987096acb2fd6a88b9869ec9f07477b1af6ce0
3 files changed +1 -1 +2 -2 +1 -1
+1 -1
--- src/checkin.c
+++ src/checkin.c
@@ -539,11 +539,11 @@
539539
}
540540
zDateOvrd = find_option("date-override",0,1);
541541
zUserOvrd = find_option("user-override",0,1);
542542
db_must_be_within_tree();
543543
noSign = db_get_boolean("omitsign", 0)|noSign;
544
- if( db_get_boolean("clearsign", 1)==0 ){ noSign = 1; }
544
+ if( db_get_boolean("clearsign", 0)==0 ){ noSign = 1; }
545545
verify_all_options();
546546
547547
/* Get the ID of the parent manifest artifact */
548548
vid = db_lget_int("checkout", 0);
549549
if( content_is_private(vid) ){
550550
--- src/checkin.c
+++ src/checkin.c
@@ -539,11 +539,11 @@
539 }
540 zDateOvrd = find_option("date-override",0,1);
541 zUserOvrd = find_option("user-override",0,1);
542 db_must_be_within_tree();
543 noSign = db_get_boolean("omitsign", 0)|noSign;
544 if( db_get_boolean("clearsign", 1)==0 ){ noSign = 1; }
545 verify_all_options();
546
547 /* Get the ID of the parent manifest artifact */
548 vid = db_lget_int("checkout", 0);
549 if( content_is_private(vid) ){
550
--- src/checkin.c
+++ src/checkin.c
@@ -539,11 +539,11 @@
539 }
540 zDateOvrd = find_option("date-override",0,1);
541 zUserOvrd = find_option("user-override",0,1);
542 db_must_be_within_tree();
543 noSign = db_get_boolean("omitsign", 0)|noSign;
544 if( db_get_boolean("clearsign", 0)==0 ){ noSign = 1; }
545 verify_all_options();
546
547 /* Get the ID of the parent manifest artifact */
548 vid = db_lget_int("checkout", 0);
549 if( content_is_private(vid) ){
550
+2 -2
--- src/db.c
+++ src/db.c
@@ -1416,12 +1416,12 @@
14161416
** autosync If enabled, automatically pull prior to commit
14171417
** or update and automatically push after commit or
14181418
** tag or branch creation. If the the value is "pullonly"
14191419
** then only pull operations occur automatically.
14201420
**
1421
-** clearsign When enabled (the default), fossil will attempt to
1422
-** sign all commits with gpg. When disabled, commits will
1421
+** clearsign When enabled, fossil will attempt to sign all commits
1422
+** with gpg. When disabled (the default), commits will
14231423
** be unsigned.
14241424
**
14251425
** diff-command External command to run when performing a diff.
14261426
** If undefined, the internal text diff will be used.
14271427
**
14281428
--- src/db.c
+++ src/db.c
@@ -1416,12 +1416,12 @@
1416 ** autosync If enabled, automatically pull prior to commit
1417 ** or update and automatically push after commit or
1418 ** tag or branch creation. If the the value is "pullonly"
1419 ** then only pull operations occur automatically.
1420 **
1421 ** clearsign When enabled (the default), fossil will attempt to
1422 ** sign all commits with gpg. When disabled, commits will
1423 ** be unsigned.
1424 **
1425 ** diff-command External command to run when performing a diff.
1426 ** If undefined, the internal text diff will be used.
1427 **
1428
--- src/db.c
+++ src/db.c
@@ -1416,12 +1416,12 @@
1416 ** autosync If enabled, automatically pull prior to commit
1417 ** or update and automatically push after commit or
1418 ** tag or branch creation. If the the value is "pullonly"
1419 ** then only pull operations occur automatically.
1420 **
1421 ** clearsign When enabled, fossil will attempt to sign all commits
1422 ** with gpg. When disabled (the default), commits will
1423 ** be unsigned.
1424 **
1425 ** diff-command External command to run when performing a diff.
1426 ** If undefined, the internal text diff will be used.
1427 **
1428
+1 -1
--- src/setup.c
+++ src/setup.c
@@ -834,11 +834,11 @@
834834
@ probably secure enough and it is certainly more convenient for
835835
@ anonymous users.</p>
836836
837837
@ <hr>
838838
onoff_attribute("Sign all commits with GPG",
839
- "clearsign", "clearsign", 1);
839
+ "clearsign", "clearsign", 0);
840840
@ <p>When enabled (the default), fossil will attempt to
841841
@ sign all commits with GPG. When disabled, commits will
842842
@ be unsigned.</p>
843843
844844
@ <hr>
845845
--- src/setup.c
+++ src/setup.c
@@ -834,11 +834,11 @@
834 @ probably secure enough and it is certainly more convenient for
835 @ anonymous users.</p>
836
837 @ <hr>
838 onoff_attribute("Sign all commits with GPG",
839 "clearsign", "clearsign", 1);
840 @ <p>When enabled (the default), fossil will attempt to
841 @ sign all commits with GPG. When disabled, commits will
842 @ be unsigned.</p>
843
844 @ <hr>
845
--- src/setup.c
+++ src/setup.c
@@ -834,11 +834,11 @@
834 @ probably secure enough and it is certainly more convenient for
835 @ anonymous users.</p>
836
837 @ <hr>
838 onoff_attribute("Sign all commits with GPG",
839 "clearsign", "clearsign", 0);
840 @ <p>When enabled (the default), fossil will attempt to
841 @ sign all commits with GPG. When disabled, commits will
842 @ be unsigned.</p>
843
844 @ <hr>
845

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button