zackshomelab / bitwarden-scripts Goto Github PK
View Code? Open in Web Editor NEWThese are the scripts affiliated with the following Repository: https://github.com/ZacksHomeLab/BitWarden
License: GNU General Public License v2.0
These are the scripts affiliated with the following Repository: https://github.com/ZacksHomeLab/BitWarden
License: GNU General Public License v2.0
While reviewing backup-bitwarden.ps1. I noticed the following typo:
$exitcodde_NotRoot = 9
If the program were to run as a non-sudo user, the program will exit without providing an appropriate exit code.
After utilizing SMTP via BitWarden's Global Environment files, there's a few left-over variables that are not used.
Emails using username & password authentication should work within backup-bitwarden.ps1
backup-bitwarden.ps1
fails to retrieve passwords within /opt/bitwarden/bwdata/env/global.override.env
, thus function Send-ZHLBWEmail
will fallback to an insecure sending channel and cause the following error:
Exception: Send-ZHLBWEmail: Failed sending email due to The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.57 Client not authenticated to send mail.
/opt/bitwarden/bwdata/env/global.override.env
[email protected]
globalSettings__mail__smtp__host=smtp.office365.com
globalSettings__mail__smtp__port=25
globalSettings__mail__smtp__ssl=true
globalSettings__mail__smtp__username=YOUR_EMAIL
globalSettings__mail__smtp__password=YOUR_PASSWORD
pwsh -File "/opt/bitwarden/backup-bitwarden.ps1" -PasswordFile /opt/bitwarden/password_file -FinalBackupLocation /tmp -Incremental -days 14 -LogFile /opt/bitwarden/backup-bitwarden.log -SendEmail -EmailAddresses 'YOUR_EMAIL'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.