Python Forum
best way to embed passwords into scripts
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
best way to embed passwords into scripts
#1
what is the best way to embed passwords in python scripts?
I am wanting to automate tasks that would typically require credentials.

I've been looking into keyring and this works great when you run the script from Command line in windows.

but in WSL it makes you type in a master pass which stinks for automated scripts (cron/scheduled tasks).

pyKeePass looks pretty cool and it works well. I was thinking about using a keepass database then compile the Python script using Pyinstaller so the master pass would be "hidden".


i would prefer to use keyring and just make it to where I don't have to type in the master pass
Reply


Messages In This Thread
best way to embed passwords into scripts - by mikey6785 - Aug-30-2022, 10:41 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Embed Matplotlib Graph to Tkinter? dimidgen 0 271 Mar-04-2024, 07:40 PM
Last Post: dimidgen
  Interactive plots that can be embed in web page mouse9095 1 630 Jun-12-2023, 04:51 PM
Last Post: deanhystad
  embed python script in C programm gucio321 0 625 Feb-11-2023, 10:47 AM
Last Post: gucio321
  Encrypting Oracle Passwords / Python Library for That? bmccollum 1 2,626 Jun-11-2021, 07:59 PM
Last Post: Larz60+
  Help with passwords program Vasilis 1 1,627 Jan-06-2021, 10:55 AM
Last Post: Larz60+
  Embed Python blender code flaviu2 0 1,515 Nov-16-2020, 06:33 PM
Last Post: flaviu2
  I need help using Python to generate usernames and passwords with excel documents Jannejannesson 3 4,060 May-08-2019, 02:30 PM
Last Post: Jannejannesson
  How to embed mp3 file with Pyinstaller panoss 2 5,977 Apr-01-2019, 01:13 PM
Last Post: yleongtyl
  encrypting PyPi passwords in pypirc dale2k9 1 2,504 Jan-11-2019, 12:38 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020