<<< Date Index >>>     <<< Thread Index >>>

mutt/2114: S/MIME algorithm choice too long



>Number:         2114
>Notify-List:    
>Category:       mutt
>Synopsis:       S/MIME algorithm choice too long
>Confidential:   no
>Severity:       minor
>Priority:       low
>Responsible:    mutt-dev
>State:          open
>Keywords:       
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 16 14:49:39 +0200 2005
>Originator:     Tamo
>Release:        1.5.11 CVS (after 20051006)
>Organization:
http://www.momonga-linux.org/

>Environment:
with S/MIME support

>Description:
S/MIME algorithm menu is too long for some terminals.
Recently I heard that many users use mutt on 80-column screens.
But currently the prompt contains 105 characters.

1: DES, 2: Triple-DES, 3: RC2-4, 4: RC2-64, 5: RC2-128, 6: AES128, 7: AES192, 
8: AES256, or (f)orget it? 



And one more issue:
"(f)orget it" doesn't forget the previous choice of algorithm.

>How-To-Repeat:
Compose a message, push "S" <smime-menu>, and "w" (encrypt with).

>Fix:
A patch is uploaded.

With this patch, mutt first asks
"1: DES, 2: Triple-DES, 3: RC2-40, 4: RC2-64, 5: RC2-128, (m)ore, or (c)lear? "

If you press "m", the prompt changes to
"6: AES128, 7: AES192, 8: AES256, (m)ove back, or (c)lear? "

>Add-To-Audit-Trail:

>Unformatted:
 ----gnatsweb-attachment----
 Content-Type: application/octet-stream; 
name="patch-1.5.11cvs.tamo.too_long_alg.1"
 Content-Transfer-Encoding: base64
 Content-Disposition: attachment; filename="patch-1.5.11cvs.tamo.too_long_alg.1"
 
 ZGlmZiAtciBhYmMyOTY3NzZmMjggc21pbWUuYwotLS0gYS9zbWltZS5jCVN1biBPY3QgMTYgMTA6
 MzY6MDkgMjAwNQorKysgYi9zbWltZS5jCVN1biBPY3QgMTYgMjE6MjQ6MzIgMjAwNQpAQCAtMTk1
 MCwzNyArMTk1MCw1MyBAQAogICAgIGJyZWFrOwogCiAgIGNhc2UgMzogLyogZW5jcnlwdCAodylp
 dGggKi8KLSAgICBtc2ctPnNlY3VyaXR5IHw9IEVOQ1JZUFQ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FzZSA5OiAvKiBmb3JnZXQgaXQgKi8KLSAgICAg
 ICAgYnJlYWs7CisgICAgeworICAgICAgaW50IGNob2ljZSwgZmlyc3QgPSAxOworCisgICAgICBt
 c2ctPnNlY3VyaXR5IHw9IEVOQ1JZUFQ7CisgICAgICBkbworICAgICAgeworICAgICAgICBjaG9p
 Y2UgPSBtdXR0X211bHRpX2Nob2ljZQorICAgICAgICAgICAgICAgICAgIChmaXJzdCA/IF8oIjE6
 IERFUywgMjogVHJpcGxlLURFUywgMzogUkMyLTQwLCIKKyAgICAgICAgICAgICAgICAgICAgICAg
 ICAgICAgICIgNDogUkMyLTY0LCA1OiBSQzItMTI4LCAobSlvcmUsIG9yIChjKWxlYXI/ICIpCisg
 ICAgICAgICAgICAgICAgICAgICAgICAgIDogXygiNjogQUVTMTI4LCA3OiBBRVMxOTIsIDg6IEFF
 UzI1NiwiCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAiIChtKW92ZSBiYWNrLCBvciAo
 YylsZWFyPyAiKSwKKyAgICAgICAgICAgICAgICAgICAgXygiMTIzNDU2NzhmY20iKSk7CisgICAg
 ICAgIHN3aXRjaCAoY2hvaWNlKQorICAgICAgICB7CisgICAgICAgIGNhc2UgMToKKyAgICAgICAg
 ICBtdXR0X3N0cl9yZXBsYWNlICgmU21pbWVDcnlwdEFsZywgImRlcyIpOworICAgICAgICAgIGJy
 ZWFrOworICAgICAgICBjYXNlIDI6CisgICAgICAgICAgbXV0dF9zdHJfcmVwbGFjZSAoJlNtaW1l
 Q3J5cHRBbGcsICJkZXMzIik7CisgICAgICAgICAgYnJlYWs7CisgICAgICAgIGNhc2UgMzoKKyAg
 ICAgICAgICBtdXR0X3N0cl9yZXBsYWNlICgmU21pbWVDcnlwdEFsZywgInJjMi00MCIpOworICAg
 ICAgICAgIGJyZWFrOworICAgICAgICBjYXNlIDQ6CisgICAgICAgICAgbXV0dF9zdHJfcmVwbGFj
 ZSAoJlNtaW1lQ3J5cHRBbGcsICJyYzItNjQiKTsKKyAgICAgICAgICBicmVhazsKKyAgICAgICAg
 Y2FzZSA1OgorICAgICAgICAgIG11dHRfc3RyX3JlcGxhY2UgKCZTbWltZUNyeXB0QWxnLCAicmMy
 LTEyOCIpOworICAgICAgICAgIGJyZWFrOworICAgICAgICBjYXNlIDY6CisgICAgICAgICAgbXV0
 dF9zdHJfcmVwbGFjZSAoJlNtaW1lQ3J5cHRBbGcsICJhZXMxMjgiKTsKKyAgICAgICAgICBicmVh
 azsKKyAgICAgICAgY2FzZSA3OgorICAgICAgICAgIG11dHRfc3RyX3JlcGxhY2UgKCZTbWltZUNy
 eXB0QWxnLCAiYWVzMTkyIik7CisgICAgICAgICAgYnJlYWs7CisgICAgICAgIGNhc2UgODoKKyAg
 ICAgICAgICBtdXR0X3N0cl9yZXBsYWNlICgmU21pbWVDcnlwdEFsZywgImFlczI1NiIpOworICAg
 ICAgICAgIGJyZWFrOworICAgICAgICBjYXNlIDk6IC8qIGZvcmdldCBpdCAqLworICAgICAgICBj
 YXNlIDEwOi8qIGNsZWFyICovCisgICAgICAgICAgRlJFRSAoJlNtaW1lQ3J5cHRBbGcpOworICAg
 ICAgICAgIGJyZWFrOworICAgICAgICBjYXNlIDExOiAvKiBtb3JlfG1vdmViYWNrICovCisgICAg
 ICAgICAgZmlyc3QgPSBmaXJzdCA/IDAgOiAxOworICAgICAgICAgIGJyZWFrOworICAgICAgICB9
 CisgICAgICB9IHdoaWxlIChjaG9pY2UgPT0gMTEpOwogICAgIH0KICAgICBicmVhazsKIAo=