bugdavfs2 - Bugs: bug #63394, adding support for 2 factor auth

 
 

bug #63394: adding support for 2 factor auth

Submitter:  andreas <anlognu>
Submitted:  Mon 21 Nov 2022 02:47:05 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 21 Nov 2022 02:47:05 PM UTC, original submission:  
  • enhancement


when 2FA is enabled for some webdrive it might request to enter the token on the commandline.
in this case I uses an ionos hidrive and mount this as davfs, the password send to the server is extended by the 2fa token in the form: password:token

added section to man:

       If  you  have  two-factor authentication enabled and if you can provide the token together with the password in the form of password:token, then add the
       string '2FA' as the forth parameter and you will be asked for token during mounting.
              /media/dav   user-name   "p@ss\"w0rd" 2FA


see attached patch

andreas <anlognu>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by anlognu (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-11-21 anlognu Attached File- Added davfs2.savannah.nongnu.org_2fa.diff, #53985

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code