Giter VIP home page Giter VIP logo

dotfiles's Issues

Disable weechat logging by default

Not 100% sure how this is done, after some quick searches came up with some maybe relevant info:

/set logger.file.auto_log off
/set weechat.plugin.autoload "*,!logger,!tcl,!lua,!ruby,!xfer"

Failed to verify signature on dotfiles due to unsigned commit

Hello!
First of all, thank you for the great idea and for the service!

I have recently created a new account (at the to1 host) with success, but during what I suppose to be the default user onboarding process, I encounter the error as per subject, probably due to the last commit (47a237d) not having been signed before merge.

For the sake of completeness, I have pasted the full (anonymized) console print below.

Console print

Linux to1 4.9.0-8-amd64 #1 SMP Debian 4.9.130-2 (2018-10-27) x86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
You have new mail.
Last login: Thu Mar 28 17:11:41 2019 from [IP address]
Cloning into '/home/[username]/.dotfiles'...
remote: Enumerating objects: 8, done.
remote: Counting objects: 100% (8/8), done.
remote: Compressing objects: 100% (7/7), done.
remote: Total 523 (delta 1), reused 2 (delta 1), pack-reused 515
Receiving objects: 100% (523/523), 275.13 KiB | 0 bytes/s, done.
Resolving deltas: 100% (225/225), done.
Submodule '.grml-etc-core' (https://github.com/grml/grml-etc-core.git) registered for path 'zsh/.grml-etc-core'
Cloning into '/home/[username]/.dotfiles/zsh/.grml-etc-core'...
remote: Enumerating objects: 14, done.
remote: Counting objects: 100% (14/14), done.
remote: Compressing objects: 100% (12/12), done.
remote: Total 7084 (delta 3), reused 6 (delta 2), pack-reused 7070
Receiving objects: 100% (7084/7084), 2.91 MiB | 0 bytes/s, done.
Resolving deltas: 100% (4143/4143), done.
Submodule path 'zsh/.grml-etc-core': checked out 'c5383b10d449697922b6da3262b63a95ed5cc83d'
CRITICAL: Failed to verify signature on dotfiles

Provide a dotfiles update script

We should provide a script that pulls dotfiles updates:

  1. Create a scratch GNUPGHOME with the right configuration
  2. Run git -C ~/.dotfiles fetch origin master
  3. git -C ~/.dotfiles verify-commit origin/master, abort if improperly signed.
  4. Merge the remote, abort and cleanup if there is a conflict
  5. Update submodules to the commits specified by the base repo.

dotfiles fail signature check during new user onboarding

Creating directory '/home/jignatiu'.

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
You have new mail.
Cloning into '.dotfiles'...
remote: Counting objects: 444, done.
remote: Total 444 (delta 0), reused 0 (delta 0), pack-reused 443
Receiving objects: 100% (444/444), 252.46 KiB | 0 bytes/s, done.
Resolving deltas: 100% (205/205), done.
Checking connectivity... done.
Submodule '.grml-etc-core' (https://github.com/grml/grml-etc-core.git) registered for path 'zsh/.grml-etc-core'
Cloning into 'zsh/.grml-etc-core'...
remote: Counting objects: 6882, done.
remote: Total 6882 (delta 0), reused 0 (delta 0), pack-reused 6882
Receiving objects: 100% (6882/6882), 2.72 MiB | 0 bytes/s, done.
Resolving deltas: 100% (4011/4011), done.
Checking connectivity... done.
Submodule path 'zsh/.grml-etc-core': checked out 'c5383b10d449697922b6da3262b63a95ed5cc83d'
gpg: keyring `/tmp/gpg.ugsnGj/pubring.gpg' created
gpg: Signature made Tue 18 Apr 2017 05:20:19 PM UTC using RSA key ID 35A1551D
gpg: Can't check signature: public key not found
CRITICAL: Failed to verify signature on dotfiles
jignatiu@ny1:~$ ls -laF
total 28
drwxr-xr-x   4 jignatiu jignatiu  4096 Apr 18 18:37 ./
drwxr-x--x 406 root     root     12288 Apr 18 18:37 ../
-rw-r--r--   1 jignatiu jignatiu  1304 Apr 18 18:37 .bash_profile
drwxr-xr-x   3 jignatiu jignatiu  4096 Apr 18 18:37 Mail/
drwxr-xr-x   2 jignatiu jignatiu  4096 Apr 18 18:37 Public/
jignatiu@ny1:~$ 

authorized_keys doesn't work

I'm trying to add a new public key to my ~/.ssh/authorized_keys file but I can't login with new key.

Please help: username chovy

Unable to verify signature

Just created an account with you guys, it's amazing! Thanks for putting this together. :)

One problem I've found is that, for every login shell I spawn, cloning this repo fails at the signature checking stage. After manually checking out the repo to .dotfiles (because dotfiles.sh deletes it on failure):

gsg@da1:~/.dotfiles$ git verify-commit HEAD
gpg: keybox '/tmp/gpg.fXiPiG/pubring.kbx' created
gpg: Signature made Sun Jun 10 20:32:53 2018 UTC
gpg:                using RSA key 67553FBDA46BB71ABD2E0B0B8E47A1EC35A1551D
gpg: Good signature from "Lance R. Vick (Personal) <[email protected]>" [expired]
gpg:                 aka "Lance R. Vick (Work) <[email protected]>" [expired]
gpg:                 aka "[jpeg image of size 6119]" [expired]
gpg: WARNING: Using untrusted key!
gsg@da1:~/.dotfiles$ git log -1
commit 58b4119832b64ce7cb7e91a6501f4bc246084e49
Author: Lance R. Vick <[email protected]>
Date:   Sun Jun 10 13:32:52 2018 -0700

    fix tmux config for 2.1+ by making deprecated/ignored options quiet
gsg@da1:~/.dotfiles$ date

It looks like it's been signed with an expired key.

WeeChat startup notification

We should provide a message to the users in the WeeChat session (via /print perhaps?) that provides an introduction, shows how WeeChat works, and explains how to get back to a normal shell. This was previously discussed on IRC but I forgot to make an issue for it.

new users don't read the initial message fully

<+sebboh> Do users ask for help writing scripts or finding files they lost or                                        
          that sort of thing?  Are there any newbies here?              [23:08]                                      
<lrvick> users ask for stuff like that all the time                     [23:13]                                      
<lrvick> if you know something someone asks, by all means help                                                       
<lrvick> There are also a bunch of other rooms too if you /list                                                      
<lrvick> for various things                                             [23:14]                                      
<lrvick> A lot of people end up here that have never used a terminal                                                 
<lrvick> and have no idea wtf is going on, like they are in the matrix                                               
<lrvick> so you ocassionally get super noobs that just managed to figure out                                         
         how to paste a command and hit enter a few times                                                            
<lrvick> Also for most people this is their first time using a terminal                                              
         multiplexer                                                    [23:15]                                      
<lrvick> they have now idea how to detach or re-attach and constantly                                                
         exit/reconnect everything                                                                                   
<lrvick> A lot of people don't yet understand the benefits of having your chat                                       
         etc centralized and always-on on a remote system and this is all                                            
         magic.                                                         [23:16]                                      
<+sebboh> That's a good list of potential additions to the welcome message                                           
          and/or that echo message.                                         


<lrvick> We do try to cover that in the terminal welcome message        [23:17]                                      
<lrvick> sadly no one reads it                                                                                       
<lrvick> they read just enough to hop over to this tab                                                               
<lrvick> then get stuck                                                                                              
<lrvick> and start typing ls exit quit grep                                                                          
<lrvick> its amusing                                                                                                 
<+sebboh> Great.  That's great.  We can catch a LOT of users by hiding the                                           
          secret key combo to leave that first screen firther down.  The emacs                                       
          tutorial does a great job of this.                            [23:18]    

dotfiles expired signature during new user onboarding

Submodule path 'zsh/.grml-etc-core': checked out 'c5383b10d449697922b6da3262b63a95ed5cc83d'
gpg: keybox '/tmp/gpg.Qb67Yi/pubring.kbx' created
gpg: Signature made Sun 01 Sep 2019 05:29:47 AM UTC
gpg:                using RSA key 81B0924EBE376FE63B5EEEBF4E0AF802FFF7960C
gpg: Good signature from "Ben Harris <[email protected]>" [expired]
gpg:                 aka "Ben Harris <[email protected]>" [expired]
gpg: WARNING: Using untrusted key!
CRITICAL: Failed to verify signature on dotfiles

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.