• Location of Certificate for Encripting Passes

    From Roderick@hruodr@gmail.com to comp.mail.pine on Thu May 28 14:27:32 2026
    From Newsgroup: comp.mail.pine


    Hallo!

    I just compiled alpine, with following flags in configuration:

    ...
    --with-smime-public-cert-directory=dir/.alpine-smime/public \ --with-smime-private-key-directory=dir/.alpine-smime/private \ --with-smime-cacert-directory=dir/.alpine-smime/ca \ --with-passfile=dir/.alpine.pwd \
    ...

    It created
    dir/.alpine.pwd
    dir/.alpine-smime/ca
    dir/.alpine-smime/private
    dir/.alpine-smime/public

    But not: dir/.alpine-smime/.pwd/

    It created in the normal location:

    ~/.alpine-smime/.pwd/MasterPassword.key
    ~/.alpine-smime/.pwd/MasterPassword.crt

    Is there a flag to config in order that also this .pwd file be in dir/.alpine-smime/.pwd ???

    Thanks
    Rodrigo
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Roderick@hruodr@gmail.com to comp.mail.pine on Thu May 28 14:52:13 2026
    From Newsgroup: comp.mail.pine


    I have another question. (Without forgetting the old)

    I see in .pinerc that I an set there the locations of

    smime-public-cert-directory=
    smime-private-key-directory=
    smime-cacert-directory=

    Is there a way to set there the location of

    passfile
    MasterPassword.crt
    MasterPassword.key

    Then I do not need to compile and can use the FreeBSD package ...

    Thanks a lot
    Rodrigo

    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Eduardo Chappa@chappa@washington.edu to comp.mail.pine on Sat May 30 13:12:17 2026
    From Newsgroup: comp.mail.pine

    On Thu, 28 May 2026, Roderick wrote:


    Hallo!

    I just compiled alpine, with following flags in configuration:

    ...
    --with-smime-public-cert-directory=dir/.alpine-smime/public \ --with-smime-private-key-directory=dir/.alpine-smime/private \ --with-smime-cacert-directory=dir/.alpine-smime/ca \ --with-passfile=dir/.alpine.pwd \
    ...

    It created
    dir/.alpine.pwd
    dir/.alpine-smime/ca
    dir/.alpine-smime/private
    dir/.alpine-smime/public

    But not: dir/.alpine-smime/.pwd/

    It created in the normal location:

    ~/.alpine-smime/.pwd/MasterPassword.key ~/.alpine-smime/.pwd/MasterPassword.crt

    Is there a flag to config in order that also this .pwd file be in dir/.alpine-smime/.pwd ???

    Thank you for the report. I can see the issue in the code. Would you mind trying to see if the issue improves if you start Alpine with the command

    alpine -pwdcertdir <fully_qualified_path>

    (from alpine -h
    -pwdcertdir <fully_qualified_path> Set the directory to store a
    personal key and certificate to encrypt and decrypt your
    password file.)
    --
    Eduardo
    https://alpineapp.email (web)
    http://repo.or.cz/alpine.git (Git)
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Roderick@hruodr@gmail.com to comp.mail.pine on Sun May 31 19:00:49 2026
    From Newsgroup: comp.mail.pine


    On Sat, 30 May 2026, Eduardo Chappa wrote:

    Thank you for the report. I can see the issue in the code. Would you mind trying to see if the issue improves if you start Alpine with the command

    alpine -pwdcertdir <fully_qualified_path>

    I moved .pwd to dir/.alpine-smime/.pwd and tried alpine with that flag.
    It works, it reads .pwd from the new location.

    (from alpine -h

    Nice to know there is "alpine -h".

    Is really not possible to set the location of this .pwd/ (-pwdcertdir)
    and .alpine.pwd (-passfile) in the configuration file? Is it about
    security?

    Thanks
    Rodrigo
    --- Synchronet 3.22a-Linux NewsLink 1.2